zyhui98 commented on issue #36966:
URL: 
https://github.com/apache/shardingsphere/issues/36966#issuecomment-3468838668

   > What is your configuration?
   
   mode:
     type: Cluster
     repository:
       type: Zookeeper
       props:
         namespace: hbdl_proxy_mysql
         retryIntervalMilliseconds: 500
         timeToLiveSeconds: 60
         maxRetries: 3
         operationTimeoutMilliseconds: 500
   
   authority:
     users:
       - user: root
         password: root
       - user: sharding
         password: sharding
     privilege:
       type: DATABASE_PERMITTED
       props:
         user-database-mappings: root@=redis_syncer, 
sharding@=readwrite_splitting_db
   
   sqlParser:
     sqlCommentParseEnabled: true
     sqlStatementCache:
       initialCapacity: 2000
       maximumSize: 65535
     parseTreeCache:
       initialCapacity: 128
       maximumSize: 1024
   
   #cdc:
   #  enabled: false
   #  port: 33071
   #
   props:
     proxy-default-port: 3306 # Proxy default port.
     proxy-frontend-database-protocol-type: MySQL
   #  max-connections-size-per-query: 1
   #  kernel-executor-size: 16  # Infinite by default.
   #  proxy-frontend-flush-threshold: 128  # The default value is 128.
   #  proxy-hint-enabled: false
   #  sql-show: false
   #  check-table-metadata-enabled: false
   #    # Proxy backend query fetch size. A larger value may increase the 
memory usage of ShardingSphere Proxy.
   #    # The default value is -1, which means set the minimum value for 
different JDBC drivers.
   #  proxy-backend-query-fetch-size: -1
   #  proxy-frontend-executor-size: 0 # Proxy frontend executor size. The 
default value is 0, which means let Netty decide.
   #    # Available options of proxy backend executor suitable: OLAP(default), 
OLTP. The OLTP option may reduce time cost of writing packets to client, but it 
may increase the latency of SQL execution
   #    # and block other clients if client connections are more than 
`proxy-frontend-executor-size`, especially executing slow SQL.
   #  proxy-backend-executor-suitable: OLAP
   #  proxy-frontend-max-connections: 0 # Less than or equal to 0 means no 
limitation.
   #    # Available sql federation type: NONE (default), ORIGINAL, ADVANCED
   #  sql-federation-type: NONE
   #    # Available proxy backend driver type: JDBC (default), ExperimentalVertx
   #  proxy-backend-driver-type: JDBC
   #  proxy-default-port: 3307 # Proxy default port.
   #  proxy-netty-backlog: 1024 # Proxy netty backlog.
   


-- 
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