pm * (CHG: Sta->10 Asg->FJOCSON) * 04/08/11 12:35 pm * * 04/08/11 12:56 pm * (CHG: Sta->30 Asg->MZEEMAN) * 04/08/11 12:56 pm * * 04/15/11 05:38 pm * * 05/05/11 01:25 pm * * 05/05/11 03:29 pm * (CHG: Sta->10 Asg->ASHORTEN) * 05/05/11 03:29 pm * * 05/05/11 06:38 pm * * 05/05/11 06:38 pm * Updated the Batch Best Practices under “Threadpools and Database Recycling” * 05/06/11 02:42 pm * (CHG: Sta->30) * 05/06/11 02:42 pm * * 05/17/11 03:53 pm * (CHG: Sta->92) * 05/17/11 03:53 pm * (CHG: Sta->30) * 05/17/11 04:38 pm * * 05/24/11 03:55 pm * * 07/06/11 09:05 am * * 07/11/11 03:46 pm * * 07/11/11 03:49 pm * (CHG: Sta->11 Asg->ASHORTEN) * 07/11/11 03:49 pm * * 07/11/11 04:15 pm * (CHG: Sta->92 Asg->MZEEMAN) * 07/21/11 09:04 am * (CHG: Sta->10 Asg->ASHORTEN) * 07/21/11 09:04 am * When we changed the hibernate.c3p0.idle_test_period = 10 property per SPL recommendation, a side affect of this change is that a SQL is executed way too frequently. * 07/21/11 09:05 am * * 07/21/11 09:06 am * When PG&E changed the hibernate.c3p0.idle_test_period = 10 property per SPL recommendation, a side affect of this change is that a SQL is executed way too frequently. SQL_ID az33m61ym46y4 SELECT NULL AS table_cat, o.owner AS table_schem, o.object_name AS table_name, o.object_type AS table_type, NULL AS remarks FROM all_objects o WHERE o.owner LIKE :1 ESCAPE ‘/’ AND o.object_name LIKE :2 ESCAPE ‘/’ AND o.object_type IN (‘xxx’, ‘TABLE’) ORDER BY table_type, table_schem, table_name —————— Query is run 150,000+ per hour–apparently forever, on nodes 3,4,5, which totals 500,000 executions per hour * 07/21/11 09:06 am * * 08/02/11 04:08 pm * * 08/02/11 04:32 pm * The SQL shown in the example is really not from the product. It is not an SQL I think exists in the product as such (It is a database query and in fact CISADM should not really have access to ALL_TABLES. Please verify this is the ONLY SQL that is excessive. The settings do not get the SQL to execute more than they should. It only should affect reconnection checks. * 08/09/11 03:53 pm * * 08/09/11 03:54 pm * * 08/10/11 08:56 am * * 08/10/11 12:22 pm * (CHG: Sta->11 Asg->FJOCSON) * 08/10/11 02:32 pm * * 08/10/11 02:32 pm * (CHG: Sta->30 Asg->MZEEMAN) * 08/31/11 11:06 pm * * 08/31/11 11:14 pm * * 10/11/11 03:23 pm * (CHG: Sta->92) * 10/11/11 03:23 pm *
五、小结
a、Execute to Parse%是执行到解析的度量,最佳情况下,是一次解析多次执行,最佳的是使用软软解析; b、涉及到的参数主要是OPEN_CURSORS与session_cached_cursors,前者定义单个session可以打开游标数,后者定义游标可缓存长度 c、通常情况下上述两个参数的使用率应尽可能偏离80%,以确保性能及资源充足,注意,这2个参数增大应考虑是否pga以及sga需要进一步调整
|