
TiDB
文章平均质量分 50
chen_jiangtao
欢迎大家Star >>>>>>https://github.com/chenjiangtao/spring-boot-on-kubernetes<<<<<<
spring boot on kubernetes全家桶:MQ(ActiveMQ,Rabbit MQ), Redis Cluster, DB(Mysql,TiDB). Kong/Nginx ingress controller. PersistentVolumeClaim,PersistentVolume, DefaultStorageClass,hpa……All IN ONE !!!
展开
-
tidb4.0.6离线安装
下载tidb-community-server-v4.0.6https://download.pingcap.org/tidb-community-server-v4.0.6-linux-amd64.tar.gz解压安装组件version=4.0.6tar xzvf tidb-community-server-${version}-linux-amd64.tar.gzsh tidb-community-server-${version}-linux-amd64/local_install.sh原创 2021-03-03 10:22:10 · 382 阅读 · 2 评论 -
Tidb查配置和添加配置
线上查改配置先登陆mysql -uroot -pPassw0rd -h127.0.0.1 -P4000再查、改设置-- 查tidb所有配置show config;-- 带条件show config where type='tidb'-- 设置单个节点的参数set config "192.168.88.201:4000" `token-limit`=10000;-- 设置角色的参数set config tidb `token-limit`=10000;启动时设置参数参考:http原创 2021-01-20 18:39:28 · 1678 阅读 · 0 评论 -
TiDB数据存储
tidb的存储是region(区域)为单位的,每个region有多个备份,分存在不同的物理机上。通过扩展region来实现无限数据扩展。这个和mycat的rang-long增长很像。region的增长其实就是区块的无限延长。参考:三篇文章了解 TiDB 技术内幕 - 说存储...原创 2020-10-13 18:22:15 · 1205 阅读 · 0 评论 -
TiDB建库建用户及授权
TiDB建库授权先把密码长度改短set global validate_password_length=3;给root授权远程访问ALTER USER 'root'@'%' IDENTIFIED BY 'Umta&152';grant all privileges on *.* to 'root'@'%' identified by 'Umta&152';svc添加svc用户和相关权限#建CREATE USER 'svc'@'localhost' IDENTIFIED原创 2020-09-27 17:05:21 · 2289 阅读 · 0 评论 -
一键安装TiDB开发环境(centos7)
Tidb的安装工具是tiupcurl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | shsource .bash_profile只要一条命令即可tiup playground --db=2 --kv=3 --pd=3 --monitor说明:–db:多少个计算节点–kv:多少个存储节点–pd:多少个管理节点 (PD:Placement Driver)–monitor:开启监控,原创 2020-09-25 23:35:21 · 791 阅读 · 0 评论