royallthefourth/psh-innodb-shrink
Composer 安装命令:
composer create-project royallthefourth/psh-innodb-shrink
包简介
Provides a cron to shrink InnoDB tables with lots of free space
README 文档
README
This package provides a command-line tool that can be used to shrink InnoDB tables in a PHP application running on Platform.sh.
Installation
composer require royallthefourth/psh-innodb-shrink
Usage
Add a cron to your .platform.app.yaml that invokes the program with a ratio of free space as its argument.
For example, this will only run on tables that are at least 75% empty:
vendor/bin/shrink 0.75
Tests
This package has tests. Use this command to run the them:
vendor/bin/phpunit tests
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-14