Table Space Space Growth Check Script
Table Space Space Growth Check Script
Purpose Of the Script This script will chcek the tablespace free space and used space on a daily basis. It will calculate average tablespace growth over a span of 15 days time. IT will find out current days tablespace growth by the following way. Average Daily Tablespace_growth =
{(Tablespace Used space by Current Date) (Tablespace Used space by (Sysdate -15)}/15
On any occation if the tablespace free space is less than two times of Tablespace Growth Or Tablespace could not accommodate 2 days calculated Tablespace growth. The script will send a awarning message to [email protected] mail address with the tablespace details. Following is the sample output ====================== Subject:-- Tablespace Space Report in $ORACLE_SID "This Report shows Space report for Tablespaces" "Here Tablespace growth is daily tablespace used space and Free space is available free Space on the tablespace. Alert will only come if free space is less than calculated 2 days Growth rate" TABLESPACE ------------------Tbs GROWTH ----------- 200 FREE_SPACE --------- ---------370
Here Tablespace Free space is less than Twice Of the Growth rate. The Will Run daily Three Times Fron Cron.