RE: sga

From: Kellyn Pedersen <kjped1313_at_yahoo.com>
Date: Fri, 12 Jun 2009 08:25:54 -0700 (PDT)
Message-ID: <254420.25998.qm_at_web32008.mail.mud.yahoo.com>



If you are going to try out cursor_sharing changes to address lack of bind variables, please try it out in a test environment and start out with cursor_sharing=similar.  If this application functions anything like Oracle Financials or others that require cursor_sharing to be set to "force" it could mistakenly pass on the Oracle generated bind variables as actual values in the generated SQL and cause failures. Good luck,
Kellyn
  • On Fri, 6/12/09, Zelli, Brian <Brian.Zelli_at_RoswellPark.org> wrote:

From: Zelli, Brian <Brian.Zelli_at_RoswellPark.org> Subject: RE: sga
To: "'Andrew Kerber'" <andrew.kerber_at_gmail.com>, "Mathias Magnusson" <mathias.magnusson_at_gmail.com> Cc: "oracle-l_at_freelists.org" <oracle-l_at_freelists.org> Date: Friday, June 12, 2009, 7:37 AM

The form for the application does build some really crappy dynamic sql, 2 pages worth.  The vendor said "oh you have to add some indexes"  but that doesn't look to be the case.  I seem to be leaning toward the cursor issue myself.  I'll see what it is set to.

 
 
 

#yiv338485775 st1\:* {

}

 _filtered #yiv338485775 {margin:1.0in 1.25in 1.0in 1.25in;}
#yiv338485775 P.MsoNormal {

FONT-SIZE:12pt;MARGIN:0in 0in 0pt;FONT-FAMILY:"Times New Roman";}
#yiv338485775 LI.MsoNormal {

FONT-SIZE:12pt;MARGIN:0in 0in 0pt;FONT-FAMILY:"Times New Roman";}
#yiv338485775 DIV.MsoNormal {

FONT-SIZE:12pt;MARGIN:0in 0in 0pt;FONT-FAMILY:"Times New Roman";}
#yiv338485775 A:link {

COLOR:blue;TEXT-DECORATION:underline;}
#yiv338485775 SPAN.MsoHyperlink {

COLOR:blue;TEXT-DECORATION:underline;}
#yiv338485775 A:visited {

COLOR:blue;TEXT-DECORATION:underline;}
#yiv338485775 SPAN.MsoHyperlinkFollowed {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv338485775 SPAN.GramE {

}
#yiv338485775 DIV.Section1 {

}

ciao,
Brian
 
Brian J. Zelli, Ed.M.
Sr. Database Administrator
Enterprise Application/Systems Integration Information Technology - Roswell Park Cancer Institute phone: (716) 845-4460 email: brian.zelli_at_roswellpark.org  
 

From: Andrew Kerber [mailto:andrew.kerber_at_gmail.com] Sent: Friday, June 12, 2009 9:30 AM
To: Mathias Magnusson
Cc: Zelli, Brian; oracle-l_at_freelists.org Subject: Re: sga

If the issue is lack of bind variables (too much dynamic sql), you can think about setting cursor_sharing=force, that solution has other problems however.

On Fri, Jun 12, 2009 at 8:26 AM, Mathias Magnusson <mathias.magnusson_at_gmail.com> wrote:

Do you know that it causes a problem? What is your key wait event that this will address and how much do you spend waiting for it? Where do you find this ratio recommendation?

Mathias

On Fri, Jun 12, 2009 at 3:04 PM, Andrew Kerber <andrew.kerber_at_gmail.com> wrote:

Well, adding memory is an option.  You should also look at your code.  If you are not using bind variables, that can also cause the problem, and it is almost impossible to fix that problem just by adding memory.

On Fri, Jun 12, 2009 at 8:01 AM, Zelli, Brian <Brian.Zelli_at_roswellpark.org> wrote:

Ok, so I have my sga tuned by the advisor in 10g but I have a library cache hit ratio constantly below the recommended threshold of 90%.  How the heck do I tune it?  Do I just increase the sga_target?  

ciao,
Brian
 
 
This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.

-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'




-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you. 


      
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 12 2009 - 10:25:54 CDT

Original text of this message