Thursday, January 20, 2011

SQL to check Cylinder Migration

/* SQL to check Cylinder Migration */
/* make sure the collectintervals value is set correct */

SELECT TheDate,
CAST((CAST((TheTime (FORMAT '99:99:99')) AS CHAR(8))) AS TIME(0)) AS TheTime,
SUM(FileCylAllocs),
SUM(FileCylMigrs),
SUM(FileMCylPacks),
SUM(FileCylDefrags),
(AVG(FileCylMigrs) / MAX(FileCylMigrs)) * 100 AS VprocCylMigrsParallelEff
FROM dbc.resusagesvpr
WHERE collectintervals = '2' AND
vprtype = 'AMP'
GROUP BY 1,2
ORDER BY 1,2
;

Labels: , , , ,

2 Comments:

Blogger Admin said...

Hi Ranjith, Is there a way to save all the DBQL history in some tables o na regular basis to check particualr events? If so would there be any documentation that i can follow to setup.

11:13 pm  
Blogger Shrinivas Sagare said...

PDCR is answer for your question. It will move DBQL as well as other data from DBC to PDCR. Check and install complate PDCR package. You will find very useful views and reporting macro's.

If you don't have any details about PDCR then contact to your CSR.

5:42 pm  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home