title: MongoDB - Clearing the cache using PyMongo
body: <p>I'm using PyMongo to access MongoDB and I want to make some speed tests. However, the fact MongoDB uses cache makes it harder for me to do that. I know it's possible to <a href="https://docs.mongodb.org/manual/reference/method/PlanCache.clear/#PlanCache.clear" rel="noreferrer">clear cache using the Mongo Shell</a> (I hope that's what I need) - but I can't find how to do that using PyMongo. Is it even possible? Thank you</p>