diff --git a/doc/user/databases.xml b/doc/user/databases.xml index 788243afeed7adaa0a1fc843b04b0eaf4f85314c..12b1617da634e7a008943ca5fbe9609facd3e7d8 100644 --- a/doc/user/databases.xml +++ b/doc/user/databases.xml @@ -826,7 +826,7 @@ tarantool> <userinput>box.space.tester:delete('a')</userinput> <varlistentry> <term> - <emphasis role="lua">box.space.<replaceable>space-name</replaceable>.field_count</emphasis> + <emphasis role="lua" xml:id="box.space.field_count">box.space.<replaceable>space-name</replaceable>.field_count</emphasis> </term> <listitem> <para> @@ -3221,32 +3221,31 @@ box.space.payroll:select{'Jones'}</programlisting> <title>Limitations</title> <variablelist> - + <varlistentry> <term xml:id="limitations-index-field-count" xreflabel="limitations-index-field-count">Number of fields in an index</term> <listitem><para>For BITSET indexes, the maximum is 1. - For TREE indexes, the theoretical maximum is about 4 billion (BOX_FIELD_MAX) - but the practical maximum is the number of fields in a tuple. + For TREE or HASH indexes, the maximum is 255 (box.schema.INDEX_PART_MAX). </para></listitem> </varlistentry> - + <varlistentry> <term xml:id="limitations-index-count" xreflabel="limitations-index-count">Number of indexes in a space</term> - <listitem><para>10 (BOX_INDEX_MAX). + <listitem><para>10 (box.schema.INDEX_MAX). </para></listitem> </varlistentry> <varlistentry> <term xml:id="limitations-tuple-field-count" xreflabel="limitations-tuple-field-count">Number of fields in a tuple</term> - <listitem><para>There is no theoretical maximum. - The practical maximum is whatever is specified by the space's <code>field_count</code> member, + <listitem><para>The theoretical maximum is 2147483647 (box.schema.FIELD_MAX). + The practical maximum is whatever is specified by the space's <link linkend="box.space.field_count">field_count</link> member, or the maximum tuple length. </para></listitem> </varlistentry> - + <varlistentry> <term xml:id="limitations-space-count" xreflabel="limitations-space-count">Number of spaces</term> - <listitem><para>65535. + <listitem><para>The theoretical maximum is 2147483647 (box.schema.SPACE_MAX). </para></listitem> </varlistentry> @@ -3278,7 +3277,7 @@ box.space.payroll:select{'Jones'}</programlisting> <varlistentry> <term xml:id="limitations-name-length" xreflabel="limitations-name-length">Length of an index name or space name or user name</term> - <listitem><para>32. + <listitem><para>32 (box.schema.NAME_MAX). </para></listitem> </varlistentry>