xu-huadong commented on issue #31581:
URL: 
https://github.com/apache/shardingsphere/issues/31581#issuecomment-2146829153

   dataSources:
     ds1:
       dataSourceClassName: com.zaxxer.hikari.HikariDataSource
       driverClassName: oracle.jdbc.OracleDriver
       jdbcUrl : jdbc:**********
       username: user
       password: 123456
       connectionTimeoutMilliseconds: 28000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 1800000
       maxPoolSize: 500
       minPoolSize: 100
   rules:
     - !SHARDING
       tables:
         T_ORDER:
           actualDataNodes: ds1.T_ORDER_$->{0..2}
           tableStrategy:
             standard:
               shardingColumn: ORDER_ID
               shardingAlgorithmName: t_order_inline
           keyGenerateStrategy:
             column: ORDER_ID
             keyGeneratorName: snowflake
           auditStrategy:
             auditorNames:
               - sharding_key_required_auditor
             allowHintDisable: true
   
       shardingAlgorithms:
         t_order_inline:
           type: INLINE
           props:
             algorithm-expression: T_ORDER_${ORDER_ID% 3}
       keyGenerators:
         snowflake:
           type: SNOWFLAKE
       auditors:
         sharding_key_required_auditor:
           type: DML_SHARDING_CONDITIONS
   
   props:
     sql-show: true


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to