mysql-size-estimator:Mysql 表大小估计器

时间:2021-07-12 21:26:19
【文件属性】:
文件名称:mysql-size-estimator:Mysql 表大小估计器
文件大小:22KB
文件格式:ZIP
更新时间:2021-07-12 21:26:19
mysql python Python mysql-size-estimator mysql-size-estimator 是一个简单的工具,用于估计给定表模式的 mysql 表大小。 它不是 100% 准确的,也不可能是。 使用此工具提供洞察力要好得多。 字符串字段将消耗其限制。 假设您有一个 utf-8 字符串字段,限制为 10 个字符; estimator 会像这个字段完全填充 3 字节字符一样计算。 (我打算尽快让它变得更好和理智。) 安装 : git clone https://github.com/frail/mysql-size-estimator.git cd mysql-size-estimator python setup.py install 用法: 简单用法 或从 sql 文件: mysql-size-estimator file create1.sql 如果您没有创建脚本,请使用虚拟功能
【文件预览】:
mysql-size-estimator-master
----setup.py(2KB)
----.gitignore(684B)
----requirements.txt(30B)
----.travis.yml(310B)
----mse()
--------__init__.py(185B)
--------base.py(4KB)
--------parser.py(5KB)
--------cli.py(3KB)
--------constants.py(2KB)
--------charset.py(20KB)
--------estimators.py(6KB)
--------util.py(1KB)
----LICENCE.txt(1KB)
----README.md(3KB)
----tests()
--------test_cli.py(1KB)
--------__init__.py(0B)
--------sqls()
--------test_util.py(1KB)
--------test_parser.py(3KB)
--------test_base.py(3KB)
--------test_charset.py(1KB)
----TODO.txt(709B)

网友评论