在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:pg_lightool开源软件地址:https://gitee.com/movead/pg_lightool开源软件介绍:pg_lightool项目介绍作者将自己diy的pg轻量级周边工具,融合到本项目中,目前有:
安装教程
使用说明pg_lightool is a light tool of postgresUsage: pg_lightool OPTION blockrecover pg_lightool OPTION walshow pg_lightool OPTION datadis pg_lightool OPTION pageinspectCommon Options: -V, --version output version information, then exitFor blockrecover: -l, --log whether to write a debug info -f, --relnode=spcid/dbid/relfilenode specify files to repair -b, --block=n1[,n2,n3] specify blocks to repair(10 limit) -1 for whole table recover -w, --walpath=walpath wallog read from -D, --pgdata=datapath data dir of database -i, --immediate does not do a backup for old file -r, --backuppath support pg_rman $BACKUP_PATHFor datadis: -f, --relnode=spcid/dbid/relfilenode specify files to dis -D, --pgdata=datapath data dir of database -p, --place=outPtah place where store the result -g, --grade=level 1 to show file level(default); 2 to show page level; 3 to show all; -d, --detail wether to show detail info -s, --small show which ratio small than itFor pageinspect: -f, --relnode=spcid/dbid/relfilenode specify files to inspect -D, --pgdata=datapath data dir of database -p, --place=outPtah place where store the result -b, --block=blkno specify blocks to inspect 使用限制blockrecover
BUG提交如有bug欢迎提交。联系我[email protected] |
请发表评论