Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Stats gather job for PeopleSoft Tools version 8.4.8

Stats gather job for PeopleSoft Tools version 8.4.8

From: John Darrah <darrah.john_at_gmail.com>
Date: Wed, 11 Apr 2007 09:14:03 -0600
Message-ID: <ec40ac060704110814x54627b96x7b183ce11a8826e0@mail.gmail.com>


Does anyone know of a good way to disable the people tools stats gathering steps that sometimes run as part of an app engine batch job? Here is my basic problem.

I have deleted statistics on all TAO, TEO, and P_SEL_ALLOC tables and locked them so I can use, the proc_gather_stats oracle job to gather database stats and use dynamic sampling for the tables with locked stats. This all works fine except that some peoplesoft jobs try to gather stats on these tables and the error thrown causes the job to fail. At this point I have unlocked the stats hoping that peoplesoft would consistantly gather stats on these tables when it needed to. The problem is that peoplesoft does not always gather stats prior to running these jobs and because the proc_gather_stats procedure now analyzes the previously locked tables, they show as having 0 rows and the CBO incorrectly determines a merge join cartesion as the best join method. At this point my choices as I see them are to 1) write a custom gather_stats job that manually excludes TAO,TEO, and P_SEL_ALLOC tables.
2) set some event so dbms_stats does not throw an error when attempting to gather stats on a locked table (don't even know if such an event exists) 3) turn off the gather stats step globally in peopleSoft (don't know if this is possible)

If anyone else out there has experienced something similar, can you let me know what solution you used?

Thanks,

John

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 11 2007 - 10:14:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US