or is that 1 db set to first_rows? If so try the query with a rule hint? Bruce Reardon
-----Original Message----- Sent: Tuesday, 20 August 2002 8:49 Mike, > ...and it works great everywhere. Well, almost everywhere, and > there's the rub. Thie query works on my 7.3, 8.0, 8i, 8iR2, and > most 8iR3 databases. In this one database, on Windows 2000, it > blows out the TEMP tablespace. Every time. And this is the only > system where that happens. > > There are only 12 tablespaces, and 15 datafiles. > > Any ideas why this would fill up the TEMP space? Does that particular Db have it's SYS schema ANALYZED? This should return no rows - if it does, then you can drop the stats for SYS and run this query again. select table_name from dba_tables where last_analyzed is not null and owner = 'SYS'; The problem could be that partial/complete ANALYZE of the SYS objects is resulting in Queries-from-Hell. Queries against the DD are written for Rule and the stats forces the CBO to be used instead.. John Kanagaraj Oracle Applications DBA DBSoft Inc (W): 408-970-7002 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Reardon, Bruce (CALBBAY) INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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).
