How do I repair an InnoDB table?
First of all stop the server and image the disc. There’s no point only having one shot at this. Then take a look here.
First of all stop the server and image the disc. There’s no point only having one shot at this. Then take a look here.
In general if you don’t need to shrink your datafiles you shouldn’t shrink them at all. This is because “growing” your datafiles on disk is a fairly expensive operation and the more space that MongoDB can allocate in datafiles the less fragmentation you will have. So, you should try to provide as much disk-space as … Read more