Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Can someone please explain the below query in detail? - topic by barani_sachin

$
0
0
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.

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>