The following are additional ideas or examples on how to extract information from the performance monitor statistics. All of the examples assume data has been collected in LIB/PERFDATA and the documented views have been created.
SELECT COUNT(*) FROM LIB/QQQ1000 WHERE Dynamic_Replan_Reason_Code <> 'NA'
SELECT Dynamic_Replan_Reason_Code, Statement_Text_Long FROM LIB/QQQ1000 WHERE Dynamic_Replan_Reason_Code <> 'NA'
SELECT COUNT(*) FROM LIB/QQQ3002 WHERE System_Table_Schema = 'LIB1' AND System_Table_Name = 'TBL1'
SELECT A.System_Table_Schema, A.System_Table_Name, A.Index_Advised_Columns, B.Statement_Text_Long FROM LIB/QQQ3002 A, LIB/QQQ1000 B WHERE A.Join_Column = B.Join_Column AND A.Unique_Count = B.Unique_Count AND A.System_Table_Schema = 'LIB1' AND A.System_Table_Name = 'TBL1'
SELECT A.System_Table_Schema, A.System_Table_Name, A.Index_Advised_Columns, B.Open_Id, C.Statement_Text_Long FROM LIB/QQQ3002 A INNER JOIN LIB/QQQ3014 B ON (A.Join_Column = B.Join_Column AND A.Unique_Count = B.Unique_Count) LEFT OUTER JOIN LIB/QQQ1000 C ON (A.Join_Column = C.Join_Column AND A.Unique_Count = C.Unique_Count) WHERE A.System_Table_Schema LIKE '%' AND A.System_Table_Name = '%'
SELECT CASE Statement_Function WHEN 'O' THEN 'Other' WHEN 'S' THEN 'Select' WHEN 'L' THEN 'DDL' WHEN 'I' THEN 'Insert' WHEN 'U' THEN 'Update' ELSE 'Unknown' END, COUNT(*) FROM LIB/QQQ1000 GROUP BY Statement_Function ORDER BY 2 DESC
SELECT (End_Timestamp - Start_Timestamp), Job_User, Current_User_Profile, Statement_Text_Long FROM LIB/QQQ1000 ORDER BY 1 DESC
SELECT (A.Open_Time + B.Clock_Time_to_Return_All_Rows), A.Open_Id, C.Statement_Text_Long FROM LIB/QQQ3014 A LEFT OUTER JOIN LIB/QQQ3019 B ON (A.Join_Column = B.Join_Column AND A.Unique_Count = B.Unique_Count) LEFT OUTER JOIN LIB/QQQ1000 C ON (A.Join_Column = C.Join_Column AND A.Unique_Count = C.Unique_Count) ORDER BY 1 DESC
SELECT A.* FROM LIB/PERFDATA A, LIB/QQQ1000 B WHERE A.QQJFLD = B.Join_Column AND A.QQUCNT = B.Unique_Count
SELECT COUNT(*) FROM LIB/QQQ3004 WHERE Reason_Code = 'F6'
SELECT B.Statement_Text_Long FROM LIB/QQQ3010 A, LIB/QQQ1000 B WHERE A.Join_Column = B.Join_Column AND A.Unique_Count = B.Unique_Count AND A.ODP_Implementation = 'N';
SELECT Estimated_Processing_Time, Open_Id FROM LIB/QQQ3014 WHERE Stopped_By_Query_Governor = 'Y'
SELECT A.Estimated_Processing_Time, (A.Open_Time + B.Clock_Time_to_Return_All_Rows), A.Open_Id, C.Statement_Text_Long FROM LIB/QQQ3014 A LEFT OUTER JOIN LIB/QQQ3019 B ON (A.Join_Column = B.Join_Column AND A.Unique_Count = B.Unique_Count) LEFT OUTER JOIN LIB/QQQ1000 C ON (A.Join_Column = C.Join_Column AND A.Unique_Count = C.Unique_Count) WHERE A.Estimated_Processing_Time/1000 > (A.Open_Time + B.Clock_Time_to_Return_All_Rows)
SELECT COUNT(*) FROM QQQ3014 WHERE Has_Union = 'Y'