Professional Documents
Culture Documents
Packdisk in Teradata: How Do You Determine Whether System Is Running Out of Space?
Packdisk in Teradata: How Do You Determine Whether System Is Running Out of Space?
PACKDISK
It is one of the last resorting options available to DBA's when the system runs out of
Cylinders.Packdisk helps to pack up cylinders in AMP making space for more data. We
need to note that PACKDISK is an expensive operation on the system and it should be
planned out so no parallel activities are run
Running PACKDISK on regular basis is part of Best Teradata practices. It also helps
improve overall performance of the system .
1. By using DBC.Diskspace ,
Select
sum(currentperm)/1024/1024/1024 "cur_space_gb" ,
sum(maxperm)/1024/1024/1024 "max_space_gb",
case when ((max_space_gb - cur_space_gb)/max_space_gb) *100 < 25
then 'Warning! Packdisk has to be run'
else 'No Packdisk activity required!' end
from DBC.Diskspace ;
3. SHOWFSP another Ferret utility which is very useful in identifying particular tables
that needs to packing.
It also shows amount of cylinders that can freed up by specifying Free space percent
(FSP)
please note that We can start /pause/ abort & continue packdisk whenever needed.
(type help to figure more options is you are not sure)