split with DB file or mongodb