06 2020 档案
摘要:1、查看Linux硬盘信息: sudo fdisk -l 2、格式化新硬盘(很危险,注意操作时确定硬盘分区的位置): sudo mkfs.ext4 /dev/sdb1 3、创建/data目录(/data目录为硬盘将挂载的地方): sudo mkdir /data/mnt 4、挂载分区: sudo m
阅读全文
摘要:pt-online-schema-change 最佳实践 pt的详细步骤 Step 1: Create the new table. Step 2: Alter the new, empty table. This should be very quick, or die if the user s
阅读全文