Total data stored per node

Total data stored and tapes used per node in one storage pool

This select will show NODE_NAME, TOTAL_MB that is amount of data stored in TSM for this node, TAPES that is the amount of tapes that contain data of this node located in the specified storage pool, and AVG MB/tape that is the average of MB by tape (TOTAL_MB divided by number of tapes with node data). It’s sorted by worst data distribution.

select vu.node_name, ao.total_mb, count(distinct vu.volume_name) as tapes, ao.total_mb/count(distinct vu.volume_name) as "AVG MB/tape" from volumeusage vu, auditocc ao where vu.stgpool_name='TAPEPOOL' and vu.node_name=ao.node_name group by vu.node_name, ao.total_mb order by 4
Previous
Next Post »