File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -667,6 +667,42 @@ standalone and replica set deployments.
667
667
668
668
- Returns the free cloud monitoring status for your deployment.
669
669
670
+ Query Plan Cache Methods
671
+ ------------------------
672
+
673
+ .. list-table::
674
+ :widths: 30 70
675
+ :header-rows: 1
676
+
677
+ * - Method
678
+
679
+ - Description
680
+
681
+ * - :method:`db.collection.getPlanCache()`
682
+
683
+ - Returns an interface to access the query plan cache object and
684
+ associated ``PlanCache`` methods for a collection.
685
+
686
+ * - :method:`PlanCache.clear()`
687
+
688
+ - Removes all cached query plans for a collection.
689
+
690
+ * - :method:`PlanCache.clearPlansByQuery()`
691
+
692
+ - Clears the cached query plans for the specified
693
+ :term:`query shape`.
694
+
695
+ * - :method:`PlanCache.help()`
696
+
697
+ - Lists the methods available to view and modify a collection’s
698
+ query plan cache.
699
+
700
+ * - :method:`PlanCache.list()`
701
+
702
+ - Returns an array of
703
+ :manual:`plan cache entries </core/query-plans/>`
704
+ for a collection.
705
+
670
706
Server Status Methods
671
707
---------------------
672
708
You can’t perform that action at this time.
0 commit comments