Please expalin in detail how exactly we are getting total size of the DB and the free space in the DB.
Query used to find the free space.
SELECT DATABASENAME,SUM(MAXPERM)/1073741824 AS TOTAL_SPACE,
SUM(CURRENTPERM)/1073741824 AS USED_SPACE, (TOTAL_SPACE - USED_SPACE) AS FREE_SPACE
FROM DBC.DISKSPACE WHERE DATABASENAME ='XXXX'
GROUP BY 1What is MAXPERM, CURRENTPERM ?
Please expalin in detail how exactly we are getting the skew factor of the table in the below query.
↧