- 博客(14)
- 资源 (13)
- 收藏
- 关注
原创 TiDB 2.1 组件升级
1.修改 /home/tidb/tidb-ansible/inventory.ini 中的 tidb_version 参数值,指定需要升级的版本号$ vim /home/tidb/tidb-ansible/inventory.initidb_version = v2.1.3指定要升级到的版本。注意:如果使用 master 分支的 tidb-ansible,tidb_version = l...
2019-02-28 19:16:55 449
原创 CentOS 7 部署TiDB 2.1.4集群
$ cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) 安装部署:## yum -y install epel-release git curl sshpass python-pip git# useradd -m -d /home/tidb tidb# passwd tidb# visudotidb ALL=...
2019-02-28 16:15:16 1137
原创 使用ansible 搭建kafka集群
软件版本:ansiblezookeeperkafka下载代码:$git clone https://github.com/pingcap/thirdparty-ops安装之前的准备工作:# yum -y install epel-release ansible curl...Dependencies Resolved=====================...
2019-02-28 12:09:22 2296
原创 TiDB Roadamp
Roadmap:20190301TiDB: Optimizer Statistics Optimization Multi-Column Statistics Cascades Planner Plan Management SQL Tuning Advisor Robust Access Path Selection: add the heuristic rule and im...
2019-02-26 19:16:22 338
原创 MySQL 5.7 UNIX 毫秒值 妙值和日期的指定格式的相互转换
unixtime 默认显示的是以秒为单位的时间转换,有些时候存储的是毫秒单位,此时需要将毫秒转换为妙再进行时间转换。自带的函数FROM_UNIXTIME(unix_timestamp,format):毫秒值转换为指定的日期格式:select FROM_UNIXTIME(1364176514656/1000,'%Y-%m-%d %h:%i:%s')as date ;结果为:2013-0...
2019-02-26 14:42:26 1756
原创 CentOS7 golang 安装部署
golang 针对中国用户有专门的网站:https://golang.google.cn/dl/下载文件:# wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz解压文件:# tar -xzvf go1.12.linux-amd64.tar.gz -C /usr/local/设置环境变量:# vim /etc/prof...
2019-02-26 12:45:47 930
原创 TiDB2.1 报错statement count 5001 exceeds the transaction limitation, autocommit = false
报错信息:statement count 5001 exceeds the transaction limitation, autocommit = false参考:https://github.com/pingcap/tidb/issues/6042-- 解释:stmt-count-limitTiDB 一个事务允许的最大语句条数限制。默认: 5000在一个事务中,超过 s...
2019-02-22 14:51:23 2125
原创 oracle goldengate for MySQL DDL试验
1.创建MySQL的连接:# ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock到ogg的目录安装插件:#cd /usr/local/ogg_mysql# ./ddl_install.sh install root oracle 3306 5.7.25-logchecking MySQL versionDDL is supporte...
2019-02-21 12:00:20 793
原创 CentOS7 安装部署oracle goldengate monitor
前提条件:1.安装JDK82.使用非root账号安装部署:PrerequisitesOracle GoldenGate Monitor 12c (12.2.1) requires the installation of the following:Java SE, JDK 8u40 and greaterOracle WebLogic Server 12.2.1.2 with ...
2019-02-20 16:32:37 1620
原创 CentOS7 安装部署 Oracle Database 12c Release 2 版本
下载界面:https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmlhttps://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmlchkconfig iptables off...
2019-02-20 12:12:44 1479
原创 oracle goldengate for bigdata
-- 安装需要的软件包:# yum -y install rlwrap unzip-- 解压软件:# unzip OGG_BigData_Linux_x64_12.3.2.1.1.zip Archive: OGG_BigData_Linux_x64_12.3.2.1.1.zip inflating: OGGBD-12.3.2.1-README.txt inflating: ...
2019-02-19 15:16:40 1787
原创 TiDB 2 修改默认的监控保留日期
在中控机的目录下可以收到:[tidb@tidb tidb-ansible]#pwd/home/tidb/tidb-ansible$ grep -R prometheus_storage_retention *roles/prometheus/defaults/main.yml:prometheus_storage_retention: "15d"roles/prometheus/tem...
2019-02-19 14:37:45 774
原创 CentOS7 下快速部署MySQL 5.7 RPM 软件包
1.下载rpm包:#wget https://repo.mysql.com//mysql80-community-release-el7-2.noarch.rpm2.选择MySQL的版本:我这里选择开启5.7版本# vim /etc/yum.repos.d/mysql-community.repo [mysql57-community]name=MySQL 5.7 Community...
2019-02-19 11:09:23 195
原创 CentOS 7 最小化安装后的必备操作
1.安装必备的软件包:# yum -y install vim vim-enhanced net-tools wget git lrzsz bash-completion sysstat unzip2.设置防火墙:# systemctl stop firewalld# systemctl disable firewalld3.设置SELinux3.安装JDK: ...
2019-02-19 10:41:05 921
Tricks every ClickHouse designer should know.pdf
2020-08-05
MongoDB in Action, 2nd Edition
2016-04-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人