The following example returns the consumed data space in terabytes for the inputdb database:
EXEC systemfe.CDS_Database('inputdb', 'N');
The following example collects summary statistics on the objects in the inputdb database if the statistics are stale or not already collected, to return a more accurate estimate of CDS size:
EXEC systemfe.CDS_Database('inputdb', 'Y');