GBase 8a
运维管理
文章
gdbc串
发表于2024-12-31 10:15:2717次浏览1个评论
jdbc:gbase://172.16.3.230:5258/test?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&failoverEnable=true&hostList=172.16.3.234,172.16.3.235&gclusterId=gc8
test库名
failoverEnable开启负载均衡,hostList和本体IP循环负载(除了连接节点外的所有管理节点)
rewriteBatchedStatements开启攒批
gclusterId:不同的gclusterId会创建不同的列表,用于区分被连接的集群,要求必须以a-z任意字符开头的可以包含a-z、0-9所有字符长度为最大为20的字符串
jdbc:gbase://172.16.3.230:5258/test?useUnicode=true&vcName=vc1&characterEncoding=utf8&rewriteBatchedStatements=true&failoverEnable=true&hostList=172.16.3.234,172.16.3.235&gclusterId=gc8
com.gbase.jdbc.Driver
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526