spring.datasource.initialSize 5 Init connection number int spring.datasource.minIdle 5 Min connection number int spring.datasource.maxActive 50 Max connection number int spring.datasource.maxWait 60000 Max wait time for get a connection in milliseconds. If configuring maxWait, fair locks are enabled by default and concurrency efficiency decreases. If necessary, unfair locks can be used by configuring the useUnfairLock attribute to true. int spring.datasource.timeBetweenEvictionRunsMillis 60000 Milliseconds for check to close free connections int spring.datasource.timeBetweenConnectErrorMillis 60000 The Destroy thread detects the connection interval and closes the physical connection in milliseconds if the connection idle time is greater than or equal to minEvictableIdleTimeMillis. int spring.datasource.minEvictableIdleTimeMillis 300000 The longest time a connection remains idle without being evicted, in milliseconds int spring.datasource.validationQuery SELECT 1 The SQL used to check whether the connection is valid requires a query statement. If validation Query is null, testOnBorrow, testOnReturn, and testWhileIdle will not work. spring.datasource.validationQueryTimeout 3 int Check whether the connection is valid for timeout, in seconds spring.datasource.testWhileIdle true boolean When applying for a connection, if it is detected that the connection is idle longer than time Between Eviction Runs Millis, validation Query is performed to check whether the connection is valid spring.datasource.testOnBorrow true boolean Execute validation to check if the connection is valid when applying for a connection spring.datasource.testOnReturn false boolean Execute validation to check if the connection is valid when the connection is returned spring.datasource.defaultAutoCommit true boolean spring.datasource.keepAlive false boolean spring.datasource.poolPreparedStatements true boolean Open PSCache, specify count PSCache for every connection spring.datasource.maxPoolPreparedStatementPerConnectionSize 20 int spring.datasource.spring.datasource.filters stat,wall,log4j spring.datasource.connectionProperties druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 mybatis-plus.mapper-locations classpath*:/org.apache.dolphinscheduler.dao.mapper/*.xml mybatis-plus.typeEnumsPackage org.apache.dolphinscheduler.*.enums mybatis-plus.typeAliasesPackage org.apache.dolphinscheduler.dao.entity Entity scan, where multiple packages are separated by a comma or semicolon mybatis-plus.global-config.db-config.id-type AUTO value-list AUTO INPUT ID_WORKER UUID 1 Primary key type AUTO:" database ID AUTO ", INPUT:" user INPUT ID", ID_WORKER:" global unique ID (numeric type unique ID)", UUID:" global unique ID UUID"; mybatis-plus.global-config.db-config.field-strategy NOT_NULL value-list IGNORED NOT_NULL NOT_EMPTY 1 Field policy IGNORED:" ignore judgment ", NOT_NULL:" not NULL judgment "), NOT_EMPTY:" not NULL judgment" mybatis-plus.global-config.db-config.column-underline true boolean mybatis-plus.global-config.db-config.logic-delete-value 1 int mybatis-plus.global-config.db-config.logic-not-delete-value 0 int mybatis-plus.global-config.db-config.banner true boolean mybatis-plus.configuration.map-underscore-to-camel-case true boolean mybatis-plus.configuration.cache-enabled false boolean mybatis-plus.configuration.call-setters-on-nulls true boolean mybatis-plus.configuration.jdbc-type-for-null null master.exec.threads 100 int master.exec.task.num 20 int master.heartbeat.interval 10 int master.task.commit.retryTimes 5 int master.task.commit.interval 1000 int master.max.cpuload.avg 100 int master.reserved.memory 0.1 float worker.exec.threads 100 int worker.heartbeat.interval 10 int worker.fetch.task.num 3 int worker.max.cpuload.avg 100 int worker.reserved.memory 0.1 float