Property Configuration #
DBPlusEngine provides property configuration as a way to configure system level configuration.
Description of Configuration Items #
Name | Data Type | Description | Default Value |
---|---|---|---|
sql-show (?) | boolean | Whether to print SQL in the log Printing SQL can help developers to quickly locate system problems. The logs contain: logical SQL, real SQL and SQL parsing results. If configured on, logging will use Topic ShardingSphere-SQL and the log level is INFO | false |
sql-simple (?) | boolean | Whether to print simple style SQL in the log | false |
kernel-executor-size (?) | int | Used to set the size of the task processing thread pool Each ShardingSphereDataSource uses a separate thread pool, different data sources of the same JVM do not share thread pools | infinite |
max-connections-size-per-query (?) | int | Maximum number of connections per database instance that can be used for one query request | 1 |
check-table-metadata-enabled (?) | boolean | Is the structure of the shard metadata checked for consistency when the program is started and updated | false |
sql-federation-enabled (?) | String | Federal query actuator types, including: NONE , ORIGINAL , ADVANCED | NONE |
Usage Steps #
The attribute configuration is configured directly in the configuration file used by the Driver, in the following format:
copyprops:
sql-show: true