DEFRAGMENT
combines free sectors and moves them to the end of a cylinder.
PACKDISK
fill (or packs) cylinders up to the FSP (Free Space Percentage)
1.使用vncciewer登陆SWS并登录节点并查看数据库状态
登陆SMP001-8节点21.*.*.* psh pdestate -a psh sar 1 5 检查数据库状态是否为:tpa is running/started,检查系统繁忙程度正常
2.运行ferret
cnsterm 6 >start ferret ctrl+c 退出
3.开始packdisk
开始packdisk cnsterm 1 >packdisk fsp=10 ==>(where fsp = free space percent and nnn equals the percentage of cylinder free space) >y 查看packdisk进度 cnsterm 1 >inquire 终止packdisk >abort 检查cylinder使用率 >showspace 退出 >quit ctrl+c
本文详细介绍了如何通过DEFRAGMENT和PACKDISK命令优化数据库性能,包括步骤说明、参数设置及操作流程。首先,使用vncciewer远程登录到SWS并检查数据库状态;然后,运行ferret工具进行系统状态监控;最后,执行packdisk命令调整磁盘空间利用率,确保系统高效运行。
&spm=1001.2101.3001.5002&articleId=95514200&d=1&t=3&u=8a841f67aaaf46fbbac29dc6633efd48)
250

被折叠的 条评论
为什么被折叠?



