p.s. also take Skew into account, because spool space limit is divided equally across the AMPs. So, in reality, it would be more precise to capture maximum value across AMPs also (group by both "databasename" and "vproc" columns in the dbc.diskspace view).
Regards,
Vlad.
p.s. also take Skew into account, because spool space limit is divided equally across the AMPs. So, in reality, it would be more precise to capture maximum value across AMPs also (group by both "databasename" and "vproc" columns in the dbc.diskspace view).
Regards,
Vlad.