shardingsphere-benchmark/src/main/resources/yaml/fullrouting-smallshards/sharding-masterslave-encrypt/proxy/config-proxy-fullrouting-smallshards-sharding-masterslave-enc.yaml [59:133]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
rules:
  - !SHARDING
    tables:
      sbtest:
        actualDataNodes: ms_ds_${0..3}.sbtest${0..99}
        databaseStrategy:
          standard:
            shardingColumn: id
            shardingAlgorithmName: database_inline
        tableStrategy:
          standard:
            shardingColumn: k
            shardingAlgorithmName: table_inline
        keyGenerateStrategy:
          column: id
          keyGeneratorName: increment
    bindingTables:
      - sbtest

    shardingAlgorithms:
      database_inline:
        type: INLINE
        props:
          algorithm-expression: ms_ds_${id % 4}
      table_inline:
        type: INLINE
        props:
          algorithm-expression: sbtest${k % 100}
    keyGenerators:
      increment:
        type: SNOWFLAKE

  - !ENCRYPT
    encryptors:
      encryptor_aes:
        props:
          aes-key-value: '123456abc'
        type: AES
      encryptor_md5:
        type: md5
    tables:
      sbtest:
        columns:
          c:
            cipherColumn: c
            encryptorName: encryptor_aes
          pad:
            cipherColumn: pad
            encryptorName: encryptor_md5

  - !PRIMARY_REPLICA_REPLICATION
    dataSources:
      ms_ds_0:
        name: ms_ds_0
        primaryDataSourceName: master_ds_0
        replicaDataSourceNames: [slave_ds_0]
        loadBalancerName: roundRobin
      ms_ds_1:
        name: ms_ds_1
        primaryDataSourceName: master_ds_1
        replicaDataSourceNames: [slave_ds_1]
        loadBalancerName: roundRobin
      ms_ds_2:
        name: ms_ds_2
        primaryDataSourceName: master_ds_2
        replicaDataSourceNames: [slave_ds_2]
        loadBalancerName: roundRobin
      ms_ds_3:
        name: ms_ds_3
        primaryDataSourceName: master_ds_3
        replicaDataSourceNames: [slave_ds_3]
        loadBalancerName: roundRobin
    loadBalancers:
      roundRobin:
        type: ROUND_ROBIN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



shardingsphere-benchmark/src/main/resources/yaml/singlerouting/sharding-masterslave-encrypt/proxy/config-proxy-singlerouting-sharding-masterslave-enc.yaml [55:129]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
rules:
  - !SHARDING
    tables:
      sbtest:
        actualDataNodes: ms_ds_${0..3}.sbtest${0..99}
        databaseStrategy:
          standard:
            shardingColumn: id
            shardingAlgorithmName: database_inline
        tableStrategy:
          standard:
            shardingColumn: k
            shardingAlgorithmName: table_inline
        keyGenerateStrategy:
          column: id
          keyGeneratorName: increment
    bindingTables:
      - sbtest

    shardingAlgorithms:
      database_inline:
        type: INLINE
        props:
          algorithm-expression: ms_ds_${id % 4}
      table_inline:
        type: INLINE
        props:
          algorithm-expression: sbtest${k % 100}
    keyGenerators:
      increment:
        type: SNOWFLAKE

  - !ENCRYPT
    encryptors:
      encryptor_aes:
        props:
          aes-key-value: '123456abc'
        type: AES
      encryptor_md5:
        type: md5
    tables:
      sbtest:
        columns:
          c:
            cipherColumn: c
            encryptorName: encryptor_aes
          pad:
            cipherColumn: pad
            encryptorName: encryptor_md5

  - !PRIMARY_REPLICA_REPLICATION
    dataSources:
      ms_ds_0:
        name: ms_ds_0
        primaryDataSourceName: master_ds_0
        replicaDataSourceNames: [slave_ds_0]
        loadBalancerName: roundRobin
      ms_ds_1:
        name: ms_ds_1
        primaryDataSourceName: master_ds_1
        replicaDataSourceNames: [slave_ds_1]
        loadBalancerName: roundRobin
      ms_ds_2:
        name: ms_ds_2
        primaryDataSourceName: master_ds_2
        replicaDataSourceNames: [slave_ds_2]
        loadBalancerName: roundRobin
      ms_ds_3:
        name: ms_ds_3
        primaryDataSourceName: master_ds_3
        replicaDataSourceNames: [slave_ds_3]
        loadBalancerName: roundRobin
    loadBalancers:
      roundRobin:
        type: ROUND_ROBIN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



