e.执行以下命令,退出MySQL数据库。 exit; f.执行以下命令,并按照回显提示信息进行操作,加固MySQL。 mysql_secure_installation Securing the MySQL server deployment. Enter password for user root: #输入步骤4中设置的root用户密码 The 'validate_password' component is installed on the server.
DB_NAME:表pg_repack_test所在的数据库。 查看清理后的表大小 select pg_size_pretty(pg_relation_size('pg_repack_test')); 常见问题 Q1:报错:“pg_repack failed with error: You must be a superuser to use pg_repack”。 A1:执行pg_repack时加上--no-superuser-check,跳过超级用户检查。