Glenn Stauffer
Wed, 26 Mar 2003 12:08:39 -0800
However, it is possible that you managed to change the number of db block buffers available quite dramatically - which could have an effect on the size at which a table is considered to be a 'small' table, which could have an impact on the actual resource usage for the execution of a specific plan.
An alternative explanation - given the change in performance when you changed from a temporary table to a permanent table is the issue of getting statistics generated for a temporary table. If there are significant differences in the execution plans involving the critical table, you could investigate the use of the dynamic_sampling hint (level 2 is probably appropriate for the temp table) to improve Oracle's knowledge of the contents of the temporary table.
NB - when you say 'hanging' does you mean: The CPU is working hard but the process is not completing
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Glenn Stauffer INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).