Logo
Property Configuration

Property Configuration #

DBPlusEngine provides property configuration as a way to configure system level configuration.

Description of Configuration Items #

NameData TypeDescriptionDefault Value
sql-show (?)booleanWhether 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 (?)booleanWhether to print simple style SQL in the logfalse
kernel-executor-size (?)intUsed 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 (?)intMaximum number of connections per database instance that can be used for one query request1
check-table-metadata-enabled (?)booleanIs the structure of the shard metadata checked for consistency when the program is started and updatedfalse
sql-federation-enabled (?)StringFederal query actuator types, including: NONE, ORIGINAL, ADVANCEDNONE

Usage Steps #

The attribute configuration is configured directly in the configuration file used by the Driver, in the following format:

props:
    sql-show: true