Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: A STRANGE QUERY
Dear "system mamager",
You have given very little to work from. Is the query a SELECT, UPDATE, INSERT or DELETE? Can you produce explain plans for the query on both systems? What made you consider disabling the primary key on production (this sounds like a bold / crazy move, but I wonder why you considered it)?
Are data volumes anywhere near the same on production and test? Is the query something that is impacted heavily by data volume? Are both databases analyzed / have stats for all relevant objects?
Regards,
Mark.
"system manager" <sysmgr_at_netlimit. To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> com> cc: Sent by: Subject: A STRANGE QUERY ml-errors_at_fatcity .com 13/01/2004 07:54 Please respond to ORACLE-L
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.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message.
If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone.
In such a case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (03) 9612-6999 or (61) 3 9612-6999.
Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind.
Opinions, conclusions and other information in this message that do not relate to the official business of Transurban Infrastructure Developments Limited and CityLink Melbourne Limited shall be understood as neither given nor endorsed by them.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mark Richard INET: mrichard_at_transurban.com.au 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:04:33 CST