peilinqian commented on issue #19825:
URL: 
https://github.com/apache/shardingsphere/issues/19825#issuecomment-1203551786

   schemaName: test_db
   dataSources:
     ds_0:
       connectionTimeoutMilliseconds: 30000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 1800000
       maxPoolSize: 260
       minPoolSize: 1
       password: Huawei@123
       url: jdbc:opengauss://IP:14000/test_db?batchMode=on
       username: tpccuser
     ds_1:
       connectionTimeoutMilliseconds: 30000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 1800000
       maxPoolSize: 260
       minPoolSize: 1
       password: Huawei@123
       url: jdbc:opengauss://IP:14000/test_db?batchMode=on
       username: tpccuser
   rules:
   - !SHARDING
     tables:
       t_ssdb_tb:
         actualDataNodes: ds_${0..1}.t_ssdb_tb_${0..1}
         databaseStrategy:
           standard:
             shardingAlgorithmName: ds_database_inline
             shardingColumn: id
         tableStrategy:
           standard:
             shardingColumn: c_id
             shardingAlgorithmName: ts_t_ssdb_tb_inline
       t_ssdb_tb_view:
         actualDataNodes: ds_${0..1}.t_ssdb_tb_view_${0..1}
         databaseStrategy:
           standard:
             shardingAlgorithmName: ds_database_inline
             shardingColumn: id
         tableStrategy:
           standard:
             shardingColumn: c_id
             shardingAlgorithmName: ts_t_ssdb_tb_view_inline
       t_ssdb:
         actualDataNodes: ds_${0..1}.t_ssdb
         databaseStrategy:
           standard:
             shardingAlgorithmName: ds_database_inline
             shardingColumn: id
       t_ssdb_view:
         actualDataNodes: ds_${0..1}.t_ssdb_view
         databaseStrategy:
           standard:
             shardingAlgorithmName: ds_database_inline
             shardingColumn: id
       t_ssdb_tb1:
         actualDataNodes: ds_${0..1}.t_ssdb_tb1_${0..1}
         databaseStrategy:
           standard:
             shardingAlgorithmName: ds_database_inline
             shardingColumn: id
         tableStrategy:
           standard:
             shardingColumn: c_id
             shardingAlgorithmName: ts_t_ssdb_tb1_inline
   


-- 
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: notifications-unsubscr...@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to