mongodb - Collection size still very big after delete MogoDb -


i use mongodb hosted on mlab.com

i removed entries before 31th of april using command db.trip.remove({"_created_at":{"$lt":isodate("2017-04-31t10....

that on 40,000 record deleted out of 47,000 in total expecting collection size reduced same percentage. database size became 5.5gb after 7gb , collection size became 4.4 after 6.95.

i tried

db.runcommand({compact: "trip","force":true}); db.repairdatabase();  

same problem.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -