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

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -