SQL Engine Mode
- Last Updated: October 20, 2023
- 1 minute read
- DataDirect Connectors
- ODBC
- Google Bigquery 8.0
- Documentation
Attribute
SQLEngineMode (SEM)
Purpose
Specifies whether the driver’s SQL engine runs in the same 32-bit process as the driver (direct mode) or runs in a process that is separate from the driver (server mode). You must be an administrator to modify the server mode configuration values, and to start or stop the SQL engine service.
Valid Values
0 | 1 | 2
Behavior
If set to 0 (Auto), the SQL engine attempts to run in server mode first; however, if server mode is unavailable, it runs in direct mode. To use server mode with this value, you must start the SQL engine service before using the driver (see "Starting the SQL engine server" for more information).
If set to 1 (Server), the SQL engine runs in server mode. The SQL engine operates in a separate process from the driver within its own JVM. You must start the SQL Engine service before using the driver (see "Starting the SQL engine server" for more information).
If set to 2 (Direct), the SQL engine runs in direct mode. The driver and its SQL engine run in a single process within the same JVM.
Default
For Windows:
1 (Server)
For UNIX/Linux:
2 (Direct)