RE: flush shared_pool and query performance

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <genegurevich@xxxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 3 Apr 2008 15:14:59 -0700

Yes,  I would say .3 seconds is reasonable for a hard parse - that's why
we have the shared pool and bind variables to minimize hard parsing.
Parse time depends on many things such as the complexity of the query,
number of tables joined, optimizer_max_permutations, contention for
latches, parsing and IO required for recursive queries on the DD, etc.
You might want to try restricting optimizer_max_permutations, especially
if you're in pre-9i where it used to default to 80,000 I believe.  Maybe
check if you're doing dynamic sampling also.

Regards,
Brandon


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of
genegurevich@xxxxxxxxxxxx

 Is that reasonable for parsing to take 0.3s?


Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

--
//www.freelists.org/webpage/oracle-l


Other related posts: