Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: A STRANGE QUERY
On 01/12/2004 03:54:27 PM, system manager wrote:
> Dear List,
>
> I have a very strange query:
>
> The table, data, indexes, constraints are set up exactly same
> The query was running ok in the test database but paused the production
> system.
> It is also running ok in production if the primary key disabled.
> Any ideas? Any input will be greatly appreciated.
>
Can you translate the word "paused" into a wait event? What is the session waiting for? Did you look into V$SESSION_WAIT? Is there any difference in the execution plans? Just a word of advice, disabling the primary key is usually not a good idea, because it might help you with distinguishing one record from another. Without the primary key it's much harder to tell records apart.
-- Mladen Gogala Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: mladen_at_wangtrading.com 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: ListGuru_at_fatcity.com (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).Received on Mon Jan 12 2004 - 16:09:34 CST
![]() |
![]() |