I am profiling the db queries in MongoDB. I followed this link. I am trying to delete all data from the collection system.profile so I can start benchmarking different queries again. I tried the following code but it gives an error
CONSOLE SYNTAX
> db.system.profile.remove({})
ERROR
cannot delete from system namespace
How do I delete all data from that collection? If that's not possible, how can I start profiling from the beginning?