Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/
Database Manual
/ /

Query Plan Cache Commands

Note

For details on a specific command, including syntax and examples, click on the link to the command's reference page.

Name
Description

planCacheClear

Removes cached query plan(s) for a collection.

Clears index filter(s) for a collection.

Lists the index filters for a collection.

Sets an index filter for a collection.

Starting in MongoDB 8.0, use query settings instead of index filters. Index filters are deprecated starting in MongoDB 8.0. To add query settings and explore examples, see setQuerySettings.

Back

Database Commands