How do I truncate a collection in MongoDB or is there such a thing?
Right now I have to delete 6 large collections all at once and I\'m stopping the server, deleting
There is no equivalent to the "truncate" operation in MongoDB. You can either remove all documents, but it will have a complexity of O(n), or drop the collection, then the complexity will be O(1) but you will loose your indexes.