<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query to help determine what PGA sizing might be? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124570#M727403</link>
    <description>Thanks Patti and Eric.&lt;BR /&gt;&lt;BR /&gt;This helps quite a bit, and is more like what I expected.  I ran something I had from a script I found on Oracle, and it way underreported the numbers.  From your two scripts, although the numbers are very different for just the PGA ports (I edited Patti's script down to just that factor) - and they vary by 33% - it gives me a better guideline, and more in line of what I was thinking the requirement was than what was being provided to me before.&lt;BR /&gt;&lt;BR /&gt;Thanks much!</description>
    <pubDate>Mon, 07 Jan 2008 21:56:49 GMT</pubDate>
    <dc:creator>TwoProc</dc:creator>
    <dc:date>2008-01-07T21:56:49Z</dc:date>
    <item>
      <title>Query to help determine what PGA sizing might be?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124566#M727399</link>
      <description>I'm on Oracle 9.2 and I'm not using the Auto Aggregate PGA.  If I were to do convert to this, can anyone provide me with a query to determine what I might be using.  I do have statspack runnng as per the manual.  And, according to the manual, there is no way to simply see that I'm using xxx for unaggregated PGA currently, so that I could set it for xxx for aggregated PGA.&lt;BR /&gt;Does anyone know of a query that would help me determine what my unaggregated PGA for each individual connection in dedicated server mode might be?</description>
      <pubDate>Fri, 04 Jan 2008 15:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124566#M727399</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2008-01-04T15:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query to help determine what PGA sizing might be?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124567#M727400</link>
      <description>I've used this script - found on Metalink note 1070975.6.&lt;BR /&gt;&lt;BR /&gt;column name  format a25&lt;BR /&gt;column total format 999 heading 'Cnt'&lt;BR /&gt;column bytes format 9999,999,999 heading 'Total Bytes'&lt;BR /&gt;column avg   format 99,999,999 heading 'Avg Bytes'&lt;BR /&gt;column min   format 99,999,999 heading 'Min Bytes'&lt;BR /&gt;column max   format 9999,999,999 heading 'Max Bytes'&lt;BR /&gt;ttitle 'PGA = dedicated server processes - UGA = Client machine process'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;compute sum of minmem on report&lt;BR /&gt;compute sum of maxmem on report&lt;BR /&gt;break on report&lt;BR /&gt;&lt;BR /&gt;select se.sid,n.name, &lt;BR /&gt;       max(se.value) maxmem&lt;BR /&gt;from v$sesstat se,&lt;BR /&gt;     v$statname n&lt;BR /&gt;where n.statistic# = se.statistic#&lt;BR /&gt;and   n.name in ('session pga memory','session pga memory max',&lt;BR /&gt;                 'session uga memory','session uga memory max')&lt;BR /&gt;group by n.name,se.sid&lt;BR /&gt;order by 3&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;One problem I have had with using the AUTO workarea_size_policy is that it does not allocate sort space as generously as I would like.  There apprears be a limit of about 5% of total space per session - regardless of the number of sessions.  So I tend to set the pga_aggregate_target higher than I originally calculated was needed.&lt;BR /&gt;&lt;BR /&gt;Patti  &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jan 2008 17:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124567#M727400</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2008-01-04T17:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query to help determine what PGA sizing might be?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124568#M727401</link>
      <description>Hi TwoProc,&lt;BR /&gt;&lt;BR /&gt;Since you are just talking about PGA, you should the following value, where 1.3 is for overhead:&lt;BR /&gt;&lt;BR /&gt;select n.name  &lt;BR /&gt;, round( sum(se.value) * 1.5 / 1024 / 1204) pga_agg_target_mb  &lt;BR /&gt;from v$sesstat se,&lt;BR /&gt;v$statname n&lt;BR /&gt;where n.statistic# = se.statistic#&lt;BR /&gt;and n.name = 'session pga memory'&lt;BR /&gt;group by n.name;&lt;BR /&gt;&lt;BR /&gt;PS: I have pga_aggregate_target = 640 and the above query is returning 671&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Mon, 07 Jan 2008 11:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124568#M727401</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2008-01-07T11:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Query to help determine what PGA sizing might be?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124569#M727402</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Where I wrote:&lt;BR /&gt;&lt;BR /&gt;"Since you are just talking about PGA, you should the following value, where 1.3 is for overhead:...", I wanted to say:&lt;BR /&gt;&lt;BR /&gt;Since you are just talking about PGA, you should the following value, where 1.5 is for overhead...:</description>
      <pubDate>Mon, 07 Jan 2008 11:50:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124569#M727402</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2008-01-07T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query to help determine what PGA sizing might be?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124570#M727403</link>
      <description>Thanks Patti and Eric.&lt;BR /&gt;&lt;BR /&gt;This helps quite a bit, and is more like what I expected.  I ran something I had from a script I found on Oracle, and it way underreported the numbers.  From your two scripts, although the numbers are very different for just the PGA ports (I edited Patti's script down to just that factor) - and they vary by 33% - it gives me a better guideline, and more in line of what I was thinking the requirement was than what was being provided to me before.&lt;BR /&gt;&lt;BR /&gt;Thanks much!</description>
      <pubDate>Mon, 07 Jan 2008 21:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-to-help-determine-what-pga-sizing-might-be/m-p/4124570#M727403</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2008-01-07T21:56:49Z</dc:date>
    </item>
  </channel>
</rss>

