CONNECT System Variables
This storage engine has been deprecated.
This page documents system variables related to the CONNECT storage engine. See Server System Variables for instructions on setting them.
See also the Full list of MariaDB options, system and status variables.
connect_class_path
connect_class_pathDescription: Java class path
Command line:
--connect-class-path=valueScope: Global
Dynamic:
Data Type:
stringDefault Value:
connect_cond_push
connect_cond_pushDescription: Enable condition pushdown
Command line:
--connect-cond-push={0|1}Scope: Global, Session
Dynamic: Yes
Data Type:
booleanDefault Value:
ON
connect_conv_size
connect_conv_sizeDescription: The size of the VARCHAR created when converting from a TEXT type. See connect_type_conv.
Command line:
--connect-conv-size=#Scope: Global, Session
Dynamic: Yes
Data Type:
numericDefault Value:
= MariaDB 10.4.8:
1024<= MariaDB 10.4.7:
8192
Range:
0to65500
connect_default_depth
connect_default_depthDescription: Default depth used by Json, XML and Mongo discovery.
Command line:
--connect-default-depth=#Scope: Global, Session
Dynamic: Yes
Data Type:
numericDefault Value:
5Range:
-1to16Introduced: MariaDB 10.5.7, MariaDB 10.4.16
connect_default_prec
connect_default_precDescription: Default precision used for doubles.
Command line:
--connect-default-prec=#Scope: Global, Session
Dynamic: Yes
Data Type:
numericDefault Value:
6Range:
0to16Introduced: MariaDB 10.5.9, MariaDB 10.4.18
connect_enable_mongo
connect_enable_mongoDescription: Enable the Mongo table type.
Command line:
--connect-enable-mongo={0|1}Scope: Global, Session
Dynamic:
Data Type:
booleanDefault Value:
OFFIntroduced: MariaDB 10.3.2, MariaDB 10.2.9
Removed: MariaDB 10.3.3
connect_exact_info
connect_exact_infoDescription: Whether the CONNECT engine should return an exact record number value to information queries. It is OFF by default because this information can take a very long time for large variable record length tables or for remote tables, especially if the remote server is not available. It can be set to ON when exact values are desired, for instance when querying the repartition of rows in a partition table.
Command line:
--connect-exact-info={0|1}Scope: Global, Session
Dynamic: Yes
Data Type:
booleanDefault Value:
OFF
connect_force_bson
connect_force_bsonDescription: Force using BSON for JSON tables. Starting with these releases, the internal way JSON was parsed and handled was changed. The main advantage of the new way is to reduce the memory required to parse JSON (from 6 to 10 times the size of the JSON source to now only 2 to 4 times). However, this is in Beta mode and JSON tables are still handled using the old mode. To use the new mode, tables should be created with TABLE_TYPE=BSON, or by setting this session variable to 1 or ON. Then, all JSON tables are handled as BSON. This is temporary until the new way replaces the old way by default.
Command line:
--connect-force-bson={0|1}Scope: Global, Session
Dynamic: Yes
Data Type:
booleanDefault Value:
OFFIntroduced: MariaDB 10.5.9, MariaDB 10.4.18
connect_indx_map
connect_indx_mapDescription: Enable file mapping for index files. To accelerate the indexing process, CONNECT makes an index structure in memory from the index file. This can be done by reading the index file or using it as if it was in memory by “file mapping”. Set to 0 (file read, the default) or 1 (file mapping).
Command line:
--connect-indx-map=#Scope: Global
Dynamic: Yes
Data Type:
booleanDefault Value:
OFF
connect_java_wrapper
connect_java_wrapperDescription: Java wrapper.
Command line:
--connect-java-wrapper=valScope: Global, Session
Dynamic: Yes
Data Type:
stringDefault Value:
wrappers/JdbcInterface
connect_json_all_path
connect_json_all_pathDescription: Discovery to generate json path for all columns if ON (the default) or do not when the path is the column name.
Command line:
--connect-json-all-path={0|1}Scope: Global, Session
Dynamic: Yes
Data Type:
numericData Type:
booleanDefault Value:
ONIntroduced: MariaDB 10.5.7, MariaDB 10.4.16
connect_json_grp_size
connect_json_grp_sizeDescription: Max number of rows for JSON aggregate functions.
Command line:
--connect-json-grp-size=#Scope: Global, Session
Dynamic: Yes
Data Type:
numericDefault Value:
50(>= Connect 1.7.0003),10(<= Connect 1.7.0002)Range:
1to2147483647
connect_json_null
connect_json_nullDescription: Representation of JSON null values.
Command line:
--connect-json-null=valueScope: Global, Session
Dynamic: Yes
Data Type:
stringDefault Value:
<null>
connect_jvm_path
connect_jvm_pathDescription: Path to JVM library.
Command line:
--connect-jvm_path=valueScope: Global
Dynamic:
Data Type:
stringDefault Value:
connect_type_conv
connect_type_convDescription: Determines the handling of TEXT columns.
NO: The default until Connect 1.06.005, no conversion takes place, and a TYPE_ERROR is returned, resulting in a “not supported” message.YES: The default from Connect 1.06.006. The column is internally converted to a column declared as VARCHAR(n),nbeing the value of connect_conv_size.FORCE(>= Connect 1.06.006): Also convert ODBC blob columns to TYPE_STRING.SKIP: No conversion. When the column declaration is provided via Discovery (meaning the CONNECT table is created without a column description), this column is not generated. Also applies to ODBC tables.
Command line:
--connect-type-conv=#Scope: Global, Session
Dynamic: Yes
Data Type:
enumValid Values:
NO,YES,FORCEorSKIPDefault Value:
YES
connect_use_tempfile
connect_use_tempfileDescription:
NO: The first algorithm is always used. Because it can cause errors when updating variable record length tables, this value should be set only for testing.FORCE: Like YES but forces file mapping to be OFF for all table types.TEST: Reserved for CONNECT development.
Command line:
--connect-use-tempfile=#Scope: Session
Dynamic: Yes
Data Type:
enumDefault Value:
AUTO
connect_work_size
connect_work_sizeDescription: Size of the CONNECT work area used for memory allocation. Permits allocating a larger memory sub-allocation space when dealing with very large if sub-allocation fails. If the specified value is too big and memory allocation fails, the size of the work area remains but the variable value is not modified and should be reset.
Command line:
--connect-work-size=#Scope: Global, Session (Session-only from CONNECT 1.03.005)
Dynamic: Yes
Data Type:
numericDefault Value:
67108864Range:
4194304upwards, depending on the physical memory size
connect_xtrace
connect_xtraceDescription: Console trace value. Set to
0(no trace), or to other values if a console tracing is desired. Note that to test this handler, MariaDB should be executed with the --console parameter because CONNECT prints some error and trace messages on the console. In some Linux versions, this is re-routed into the error log file. Console tracing can be set on the command line or later by names or values. Valid values (from Connect 1.06.006) include:0: No traceYESor1: Basic traceMOREor2: More tracingINDEXor4: Index constructionMEMORYor8: Allocating and freeing memorySUBALLOCor16: Sub-allocating in work areaQUERYor32: Constructed query sent to external serverSTMTor64: Currently executing statementHANDLERor128: Creating and dropping CONNECT handlersBLOCKor256: Creating and dropping CONNECT objectsMONGOor512: Mongo and REST (from Connect 1.06.0010) tracing :set global connect_xtrace=0; No traceset global connect_xtrace='YES'; By nameset global connect_xtrace=1; By valueset global connect_xtrace='QUERY,STMT'; By nameset global connect_xtrace=96; By valueset global connect_xtrace=1023; Trace all
Command line:
--connect-xtrace=#Scope: Global
Dynamic: Yes
Data Type:
setDefault Value:
0Valid Values: See description
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

