@@ -18,22 +18,20 @@ Overview
18
18
|bi-short| provides the following environment variables:
19
19
20
20
.. list-table::
21
- :widths: 30 10 40 10 10
21
+ :widths: 30 10 40 40
22
22
:stub-columns: 1
23
23
:header-rows: 1
24
24
25
25
* - System Variable
26
26
- Data Type
27
27
- Description
28
- - Default Value (Atlas-hosted)
29
- - Default Value (On Premises)
28
+ - Default Value
30
29
* - ``full_pushdown_exec_mode``
31
30
- boolean
32
31
- Specifies whether a query error is returned for queries with
33
32
clauses that aren't fully translated to the MongoDB query language.
34
33
SQL query predicates are used to filter data returned by the query.
35
34
- ``0 (false)``
36
- - ``0 (false)``
37
35
* - ``log_level``
38
36
- integer
39
37
- Specifies the logging level for |bi-short|:
@@ -43,27 +41,39 @@ Overview
43
41
``mongosqld`` events and state changes.
44
42
- ``1``: Log messages for database users and ``mongosqld`` administrators.
45
43
- ``2``: For internal use only.
46
- - ``2``
47
- - ``0``
44
+ - ``2 (Atlas-hosted) and 0 (on premises)``
48
45
* - ``max_nested_table_depth``
49
46
- integer
50
47
- Specifies the maximum number of unique nested field paths that
51
48
``mongosqld`` maps to a relational table for a collection.
52
49
- ``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``
55
67
- 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``
60
71
* - ``mongodb_max_varchar_length``
61
72
- integer
62
73
- Specifies the maximum string length returned for columns using
63
74
the ``VARCHAR`` data type. A value of ``0`` specifies
64
75
no limit.
65
76
- ``0``
66
- - ``0``
67
77
* - ``polymorphic_type_conversion_mode``
68
78
- string
69
79
- Determines how |bi-short| evaluates document fields that are
@@ -91,7 +101,18 @@ Overview
91
101
discovered during sampling, even if the fields do not appear
92
102
as multiple data types.
93
103
- ``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``
95
116
* - ``sample_refresh_interval_secs``
96
117
- integer
97
118
- Specifies how frequently, in seconds, that the |bi-short| schema
@@ -101,7 +122,6 @@ Overview
101
122
See :doc:`Cached Sampling </schema/cached-sampling>` for more
102
123
information.
103
124
- ``0``
104
- - ``0``
105
125
* - ``sample_size``
106
126
- integer
107
127
- Specifies how many documents |bi-short| samples when generating
@@ -111,7 +131,6 @@ Overview
111
131
See :doc:`Cached Sampling </schema/cached-sampling>` for more
112
132
information.
113
133
- ``100``
114
- - ``100``
115
134
* - ``schema_mapping_mode``
116
135
- string
117
136
- Specifies how the MongoDB schema is transformed into a relational
@@ -123,7 +142,6 @@ Overview
123
142
a field occuring in a sample.
124
143
125
144
- ``lattice``
126
- - ``lattice``
127
145
* - ``type_conversion_mode``
128
146
- string
129
147
- Specifies the semantics that |bi-short| uses for type conversions,
@@ -132,7 +150,6 @@ Overview
132
150
- ``mysql``
133
151
- ``mongosql``
134
152
- ``mongosql``
135
- - ``mongosql``
136
153
137
154
Setting System Variables
138
155
------------------------
0 commit comments