摘要: 查看CPU信息(型号) 1 cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c # 查看物理CPU个数 1 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l # 查看每个物理CPU 阅读全文
posted @ 2023-06-25 09:17 oilz 阅读(153) 评论(0) 推荐(0)
摘要: innodb单个page的逻辑格式分析 阅读全文
posted @ 2023-06-25 09:08 oilz 阅读(18) 评论(0) 推荐(0)
摘要: 当时用mysqldump配置主从的时候,要设置--single-transaction,这个参数将保证备份的数据库处于一致的状态一般的备份语句如下: 1 mysqldump -uroot -S /data/3306/data/mysql.sock -p --all-databases --trigg 阅读全文
posted @ 2023-02-17 11:18 oilz 阅读(964) 评论(0) 推荐(0)
摘要: 先清空slave data目录 master: 1 mkdir /tmp/data; 2 sshfs -p 22 -o allow_other,exec mysql@192.168.56.4:/home/mysql5.7.39/data /tmp/data/; 3 xtrabackup –defau 阅读全文
posted @ 2023-02-17 10:50 oilz 阅读(34) 评论(0) 推荐(0)
摘要: NO. CROSS OVER CABLES ARE NOT SUPPORTED. The requirement is to use a switch:Detailed Reasons:1) cross-cabling limits the expansion of RAC to two nodes 阅读全文
posted @ 2023-02-17 10:42 oilz 阅读(34) 评论(0) 推荐(0)