We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7c772 commit e7a8fc8Copy full SHA for e7a8fc8
doc/book/box/data_model.rst
@@ -93,6 +93,11 @@ An index definition may include identifiers of tuple fields and their expected
93
**types** (see allowed :ref:`indexed field types <index-box_indexed-field-types>`
94
below).
95
96
+.. NOTE::
97
+
98
+ A recommended design pattern for a data model is to base primary keys on the
99
+ first fields of a tuple, because this speeds up tuple comparison.
100
101
In our example, we first defined the primary index (named 'primary') based on
102
field #1 of each tuple:
103
0 commit comments