Django ContentType组件–数据库多态关联
https://www.diandian100.cn/3d38b118.html
select
table_schema as ‘数据库’,
table_name as ‘表名’,
table_rows as ‘记录数’,
truncate(data_length/1024/1024, 2) as ‘数据容量(MB)’,
truncate(index_length/1024/1024, 2) as ‘索引容量(MB)’
from information_schema.tables
where table_schema=‘ad_world’
order by data_length desc, index_length desc;
mydumper -u root -h 10.200.1.79 -p 12345678 -B databases_test -s 1000000000 -P 3306 -o /home/cyberpeace/db/
myloader -u root -p 123456 -h 127.0.0.1 -B databases_test -d /data/backup/mysql/