Skip to content

Commit daae69e

Browse files
authored
Merge pull request #281 from JuliaMongo/DOCSP-8163
(DOCSP-8163) and (DOCSP-12999) Add new default limits to the system variables table, and clean up the table
2 parents 37c1519 + 83e2cca commit daae69e

File tree

2 files changed

+35
-260
lines changed

2 files changed

+35
-260
lines changed

source/includes/fact-system-vars.rst

Lines changed: 0 additions & 242 deletions
This file was deleted.

source/reference/system-variables.txt

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,20 @@ Overview
1818
|bi-short| provides the following environment variables:
1919

2020
.. list-table::
21-
:widths: 30 10 40 10 10
21+
:widths: 30 10 40 40
2222
:stub-columns: 1
2323
:header-rows: 1
2424

2525
* - System Variable
2626
- Data Type
2727
- Description
28-
- Default Value (Atlas-hosted)
29-
- Default Value (On Premises)
28+
- Default Value
3029
* - ``full_pushdown_exec_mode``
3130
- boolean
3231
- Specifies whether a query error is returned for queries with
3332
clauses that aren't fully translated to the MongoDB query language.
3433
SQL query predicates are used to filter data returned by the query.
3534
- ``0 (false)``
36-
- ``0 (false)``
3735
* - ``log_level``
3836
- integer
3937
- Specifies the logging level for |bi-short|:
@@ -43,27 +41,39 @@ Overview
4341
``mongosqld`` events and state changes.
4442
- ``1``: Log messages for database users and ``mongosqld`` administrators.
4543
- ``2``: For internal use only.
46-
- ``2``
47-
- ``0``
44+
- ``2 (Atlas-hosted) and 0 (on premises)``
4845
* - ``max_nested_table_depth``
4946
- integer
5047
- Specifies the maximum number of unique nested field paths that
5148
``mongosqld`` maps to a relational table for a collection.
5249
- ``50``
53-
- ``50``
54-
* - ``max_num_columns_per_table``
50+
* - ``max_num_global_tables``
51+
- integer
52+
- The maximum number of tables allowed in a MongoDB deployment with an automatically-
53+
generated schema.
54+
- ``4000``
55+
* - ``max_num_tables_per_collection``
56+
- integer
57+
- The maximum number of tables allowed in a collection in a table with an
58+
automatically-generated schema.
59+
- ``200``
60+
* - ``max_nested_table_depth``
61+
- integer
62+
- The default limit for table's nesting depth of arrays
63+
that MongoDB translates to tables, in a collection with an
64+
automatically-generated schema.
65+
- ``10``
66+
* - ``max_num_fields_per_collection``
5567
- integer
56-
- The maximum number of unique fields that ``mongosqld`` maps to
57-
relational columns for a collection.
58-
- ``1000``
59-
- ``1000``
68+
- The maximum number of fields examined per collection in a table with an
69+
automatically-generated schema.
70+
- ``2000``
6071
* - ``mongodb_max_varchar_length``
6172
- integer
6273
- Specifies the maximum string length returned for columns using
6374
the ``VARCHAR`` data type. A value of ``0`` specifies
6475
no limit.
6576
- ``0``
66-
- ``0``
6777
* - ``polymorphic_type_conversion_mode``
6878
- string
6979
- Determines how |bi-short| evaluates document fields that are
@@ -91,7 +101,18 @@ Overview
91101
discovered during sampling, even if the fields do not appear
92102
as multiple data types.
93103
- ``off``
94-
- ``off``
104+
* - ``reconcile_arithmetic_agg_functions``
105+
- boolean
106+
- Allows you to choose the behavior where MongoDB does not
107+
automatically convert types for some queries using arithmetic
108+
aggregate functions. In MongoDB version 3.6 and earlier, this
109+
behavior results in improved performance, compared with implicit
110+
type conversions for arithmetic aggregation functions in subsequent
111+
versions.
112+
113+
See :doc:`Type Conversion Modes </reference/type-conversion>` for
114+
more information.
115+
- ``true``
95116
* - ``sample_refresh_interval_secs``
96117
- integer
97118
- Specifies how frequently, in seconds, that the |bi-short| schema
@@ -101,7 +122,6 @@ Overview
101122
See :doc:`Cached Sampling </schema/cached-sampling>` for more
102123
information.
103124
- ``0``
104-
- ``0``
105125
* - ``sample_size``
106126
- integer
107127
- Specifies how many documents |bi-short| samples when generating
@@ -111,7 +131,6 @@ Overview
111131
See :doc:`Cached Sampling </schema/cached-sampling>` for more
112132
information.
113133
- ``100``
114-
- ``100``
115134
* - ``schema_mapping_mode``
116135
- string
117136
- Specifies how the MongoDB schema is transformed into a relational
@@ -123,7 +142,6 @@ Overview
123142
a field occuring in a sample.
124143

125144
- ``lattice``
126-
- ``lattice``
127145
* - ``type_conversion_mode``
128146
- string
129147
- Specifies the semantics that |bi-short| uses for type conversions,
@@ -132,7 +150,6 @@ Overview
132150
- ``mysql``
133151
- ``mongosql``
134152
- ``mongosql``
135-
- ``mongosql``
136153

137154
Setting System Variables
138155
------------------------

0 commit comments

Comments
 (0)