1
0
Fork 0
arangodb/Documentation/DbaManual/IndexCap.md

766 B

Cap Constraint

@NAVIGATE_IndexCap @EMBEDTOC{IndexCapTOC}

Introduction to Cap Constraints

This is an introduction to ArangoDB's size restrictions aka cap constraints for collections.

It is possible to restrict the size of collections. If you add a document and the size exceeds the limit, then the least recently created or updated document will be dropped. The size of a collection is measured in the number of (non-deleted) documents a collection contains.

Accessing Cap Constraints from the Shell

@anchor IndexCapShellEnsureCapConstraint @copydetails JS_EnsureCapConstraintVocbaseCol