Skip to content

Commit a15cf65

Browse files
DOCSP-28304-drop-qe-metadata-collections (#4239)
* Added guidance around dropping metadata collections * Added guidance around dropping metadata collections * Wording clarification * Wording clarification
1 parent 6e383c7 commit a15cf65

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/core/queryable-encryption/fundamentals/manage-collections.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ MongoDB updates the metadata collections to maintain an index
6565
that enables querying. The field becomes an "indexed field". This
6666
comes at a cost in storage and write speed for every such field.
6767

68+
Dropping Encrypted Collections
69+
------------------------------
70+
71+
When you drop an encrypted collection, drop the associated
72+
metadata collections ``enxcol_.<collectionName>.esc`` and
73+
``enxcol_.<collectionName>.ecoc`` immediately afterwards. Otherwise,
74+
re-creating the collection with the same name puts the metadata
75+
collections in a conflicted state that consumes excess storage space and
76+
degrades CRUD performance.
77+
6878
Storage Costs
6979
-------------
7080

0 commit comments

Comments
 (0)