mirror of https://gitee.com/bigwinds/arangodb
23 lines
766 B
Markdown
23 lines
766 B
Markdown
Cap Constraint{#IndexCap}
|
|
=========================
|
|
|
|
@NAVIGATE_IndexCap
|
|
@EMBEDTOC{IndexCapTOC}
|
|
|
|
Introduction to Cap Constraints{#IndexCapIntro}
|
|
===============================================
|
|
|
|
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{#IndexCapShell}
|
|
========================================================
|
|
|
|
@anchor IndexCapShellEnsureCapConstraint
|
|
@copydetails JS_EnsureCapConstraintVocbaseCol
|