Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from smtp-aa.freelists.org (smtp-aa.freelists.org [23.23.80.81])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id 5C74010034B362
 for <oracle-l@orafaq.com>; Tue, 30 Nov 2021 16:24:08 +0100 (CET)
Received: from turing.freelists.org (ip-10-0-0-164.ec2.internal [10.0.0.164])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by smtp-aa.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 1AF124162B;
 Tue, 30 Nov 2021 15:24:06 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 01B203FDC7;
 Tue, 30 Nov 2021 15:24:06 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1638285846;
 bh=NNF5oW9xn2ZWVu1hCVo7SxERE/3A1WAA5TIw2B4/gI4=;
 h=From:Sender:Sender:From;
 b=fK4rhCQ6zBPXX1AP3p4qU1ZpOPgovw6cYD4Lh4Q9KtVNQgjHui+azV0ixTdQIKGMx
	 8uylfNIPWgkUjc1j5l7edqcaHxkdqO77izKnqnPxV0ZJkfyLDFaqAZkuaeiWhtDZRJ
	 QiaZltpla+/ygZB9lGVDp9I3WbaNeeHtmNJmxFQ8=
X-Virus-Scanned: by FreeLists at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id oR5skqzZ9dor; Tue, 30 Nov 2021 15:24:05 +0000 (UTC)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 0B958400B0;
 Tue, 30 Nov 2021 15:24:03 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1638285844;
 bh=NNF5oW9xn2ZWVu1hCVo7SxERE/3A1WAA5TIw2B4/gI4=;
 h=From:Sender:Sender:From;
 b=pMyywu83jJ+BGHZCJVzZBqKscncrF2+wqMCt8wkgCYVYJ8qve1f4Waynlva4Ce0it
	 hMyO1DcB4poJTlDQpgggV9tm9TPReLdVKwi6CKAKjADxHyan5qZbHVcs3L1eh91jL5
	 oaVFgoj7yTy745AhAgWwqV3aF1r1TpFFTECPiZ1M=
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 30 Nov 2021 15:24:01 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 0DDAA3FDC7
 for <oracle-l@freelists.org>; Tue, 30 Nov 2021 15:24:01 +0000 (UTC)
Authentication-Results: turing.freelists.org;
 dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=lU58hH7i;
 dkim-atps=neutral
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id UiB4M0zkW3V0 for <oracle-l@freelists.org>;
 Tue, 30 Nov 2021 15:24:01 +0000 (UTC)
Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by turing.freelists.org (Postfix) with ESMTPS id 007EF3F96C
 for <oracle-l@freelists.org>; Tue, 30 Nov 2021 15:24:00 +0000 (UTC)
Received: by mail-qk1-f175.google.com with SMTP id 193so27129298qkh.10
        for <oracle-l@freelists.org>; Tue, 30 Nov 2021 07:24:00 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
         :content-language:to:references:from:in-reply-to;
        bh=MoZGc3z+M6/0mGNIzEaaKs81b7ielQsiSZG0Lu98mVQ=;
        b=uEODE49W5G1RFneK9gJ2QiE8wbEHLjF93CyvKfNtXP5HCGK7eTyde45+yBhBgL1I1J
         8HT9kIZax+e7yinGDQwI4cIB17EEhkqXaBTdppZWpSkaYbruYtyWH7w3od5tqj5i44fL
         5250a00faX4KbSm4B7fuXTv3OKU9r2eu+hAmJXvoUscvXMp1KuEDDZaA60VMts106rw6
         biNoKSXyepOrODAAqrJp5Xx++jpO+77T2DZxPoqTWE0XhAQbt0W2y4mU7NcqPFf5Fms3
         au0Ux+u1Nv/OWplupdiM/UCcSugYO36/TLoX1DBDrWfYmOk+VCfcPCHlM5jc1HUH4evU
         JKeA==
X-Gm-Message-State: AOAM531TSkKQq5ZEG4TUdH92fqX3/FIUtJtKNr2ncJK+E3saqufGMeJX
 7H6SyaPoq1IJRmb8ZLxqyg2O9wTVG4s=
X-Google-Smtp-Source: ABdhPJxlj4A82QvTygvpsbvJ4PM6DVXOAde9tJ3pfaRBdNatCAx1SAp/Eb+yK+cva2WDGNQpLIZ3CQ==
X-Received: by 2002:a05:620a:24cf:: with SMTP id m15mr38934664qkn.623.1638285840009;
        Tue, 30 Nov 2021 07:24:00 -0800 (PST)
Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93])
        by smtp.gmail.com with ESMTPSA id e17sm11233051qtw.18.2021.11.30.07.23.59
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Tue, 30 Nov 2021 07:23:59 -0800 (PST)
Content-Type: multipart/alternative;
 boundary="------------Mg0O0hNnZxadHV5WLTYDqLXJ"
Message-ID: <29c11f25-8e3f-793c-56f5-b0d829de9032@gmail.com>
Date: Tue, 30 Nov 2021 10:23:58 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.3.0
Subject: Re: Shared Pool Question
Content-Language: en-US
To: Scott Canaan <srcdco@rit.edu>,
 "oracle-l@freelists.org" <oracle-l@freelists.org>
References: <6a4532f37f5d48e4b1df80daeac8285b@ex04test91a.ad.rit.edu>
 <99338353-e6fd-4330-3e58-69cf875c5f77@gmail.com>
 <6e9947599525425b9a5e9d09b5f052cc@ex04test91a.ad.rit.edu>
From: Mladen Gogala <gogala.mladen@gmail.com>
In-Reply-To: <6e9947599525425b9a5e9d09b5f052cc@ex04test91a.ad.rit.edu>
X-archive-position: 81471
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: gogala.mladen@gmail.com
Precedence: normal
Reply-To: gogala.mladen@gmail.com
List-Help: <mailto:ecartis@freelists.org?Subject=help>
List-Unsubscribe: <mailto:oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-Subscribe: <mailto:oracle-l-request@freelists.org?Subject=subscribe>
List-Owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-Archive: <https://www.freelists.org/archive/oracle-l>
X-list: oracle-l
--------------Mg0O0hNnZxadHV5WLTYDqLXJ
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 11/30/21 07:21, Scott Canaan wrote:
>
> Mladen,
>
>    Sorry I left out the version of Oracle.  It is 19.12.  I did grow 
> the shared pool and bounce the instance.  The request is to find a way 
> to detect when it is going to run out before it does so the export (or 
> other job) doesn’t fail.
>
> *Scott Canaan ‘88**
> */Sr Database Administrator
> /Information & Technology Services
> Finance & Administration **
>
> *Rochester Institute of Technology
> *o: (585) 475-7886 | f: (585) 475-7520**
>
> _srcdco@rit.edu <mailto:srcdco@rit.edu>_| c: (585) 339-8659
>
Hi Scott,

There is a fixed table V$SHARED_POOL_RESERVED. It has the several useful 
columns, among which are FREE_SPACE, AVG_FREE_SIZE,FREE_COUNT, 
MAX_FREE_SIZE and USED_SPACE. Free space in the shared pool is not 
contiguous, it is in chunks. If the application requires chunk larger 
than the largest one available, you will get 4031.

The last time I got that, it was caused by BULK COLLECT INTO <pl/sql 
table> where I was careless with the WHERE condition. I would check 
V$DB_OBJECT_CACHE for the sharable memory hogs.

Regards


-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

--------------Mg0O0hNnZxadHV5WLTYDqLXJ
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 11/30/21 07:21, Scott Canaan wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6e9947599525425b9a5e9d09b5f052cc@ex04test91a.ad.rit.edu">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
	{font-family:"Times New Roman \,serif";
	panose-1:0 0 0 0 0 0 0 0 0 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}div.WordSection1
	{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Mladen,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">   Sorry I left
            out the version of Oracle.  It is 19.12.  I did grow the
            shared pool and bounce the instance.  The request is to find
            a way to detect when it is going to run out before it does
            so the export (or other job) doesn’t fail.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><b><span
                style="font-size:12.0pt;font-family:&quot;Times New
                Roman&quot;,serif;color:#F47B20">Scott Canaan ‘88</span></b><b><span
                style="font-family:&quot;Times New
                Roman&quot;,serif;color:#1F497D"><br>
              </span></b><i><span style="font-family:&quot;Times New
                Roman&quot;,serif;color:#1F497D">Sr Database
                Administrator
                <br>
              </span></i><span style="font-family:&quot;Times New
              Roman&quot;,serif;color:#1F497D">Information &amp;
              Technology Services<br>
              Finance &amp; Administration <b><o:p></o:p></b></span></p>
          <p class="MsoNormal"><b><span style="font-family:&quot;Times
                New Roman&quot;,serif;color:#1F497D">Rochester Institute
                of Technology<br>
              </span></b><span style="font-family:&quot;Times New
              Roman&quot;,serif;color:#1F497D">o: (585) 475-7886 | f:
              (585) 475-7520</span><b><span
                style="font-family:&quot;Times New
                Roman&quot;,serif;color:#1F497D"><o:p></o:p></span></b></p>
          <p class="MsoNormal"><u><span style="font-family:&quot;Times
                New Roman&quot;,serif;color:blue"><a
                  href="mailto:srcdco@rit.edu" moz-do-not-send="true"><span
                    style="color:blue">srcdco@rit.edu</span></a></span></u><span
              style="font-family:&quot;Times New
              Roman&quot;,serif;color:#1F497D"> | c:
            </span><span style="font-family:&quot;Times New
              Roman&quot;,serif;color:#1F497D">(585) </span>
            <span style="font-family:&quot;Times New
              Roman&quot;,serif;color:#1F497D">339-8659 <br>
              <br>
              <o:p></o:p></span></p>
        </div>
      </div>
    </blockquote>
    <p>Hi Scott,</p>
    <p>There is a fixed table V$SHARED_POOL_RESERVED. It has the several
      useful columns, among which are FREE_SPACE,
      AVG_FREE_SIZE,FREE_COUNT, MAX_FREE_SIZE and USED_SPACE. Free space
      in the shared pool is not contiguous, it is in chunks. If the
      application requires chunk larger than the largest one available,
      you will get 4031.</p>
    <p>The last time I got that, it was caused by BULK COLLECT INTO
      &lt;pl/sql table&gt; where I was careless with the WHERE
      condition. I would check V$DB_OBJECT_CACHE for the sharable memory
      hogs.</p>
    <p>Regards<br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
<a class="moz-txt-link-freetext" href="https://dbwhisperer.wordpress.com">https://dbwhisperer.wordpress.com</a>
</pre>
  </body>
</html>
--------------Mg0O0hNnZxadHV5WLTYDqLXJ--

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


