Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
ORA 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
ORA 01722 invalid number
 
LOG FILE SYNC wait event

LOG FILE SYNC wait event

2007-09-05       - By DBA Deepak

 Back
Hi Alberto,

Thanks a lot for your explanations. Have few more queries on ASMM itself.
Considering that we have set ASMM for our instance.

> When more memory requered in a particular pool which pool Oracle does
choose to get the memory from?
> Is there any priorities associated?
> Why should we set the minimum values knowing that Oracle can adjust them
as and when required?

Please help me in understanding the concepts.

Thanks in Advance

Deepak


On 9/5/07, Alberto Dell'Era <alberto.dellera@(protected)> wrote:
>
> From the Metalink note 373018.1 you suggested, I get this important
> fragment:
> "Oracle combines fixed SGA area and redo buffer together, if there is
> a free space after Oracle put combined buffer to fit in granule, that
> space is added to redo buffer"
> so, the log_buffer initialization parameter is not really "ignored",
> but rather,
> is used as a minimum value - the log buffer size is that value plus
> (possibly) any additional free space in the granule(s) used to store
> the fixed SGA+log buffer.
>
> So this explains nicely DBA Deepak's test case.
>
> But back to one of the the original questions - is the log buffer
> managed dynamically
> by ASMM, that is, can its (real) size change after instance boot time,
> stealing memory
> from other pools, or giving it back, depending on the workload ?
> If the documentation is consistent with the actual behavior (and I
> always assume it is,
> unless a convincing counterexample is presented), no:
>
> http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams192
.htm
>
> "SGA_TARGET specifies the total size of all SGA components. If
> SGA_TARGET is specified, then the following memory pools are
> automatically sized:
>
>    *   Buffer cache (DB_CACHE_SIZE)
>    *   Shared pool (SHARED_POOL_SIZE)
>    *   Large pool (LARGE_POOL_SIZE)
>    *  Java pool (JAVA_POOL_SIZE)
>    *   Streams pool (STREAMS_POOL_SIZE)
>
> If these automatically tuned memory pools are set to non-zero values,
> then those values are used as minimum levels by Automatic Shared
> Memory Management. You would set minimum values if an application
> component needs a minimum amount of memory to function properly.
>
> The following pools are manually sized components and are not affected
> by Automatic Shared Memory Management:
>
>    *  Log buffer
>    *  Other buffer caches, such as KEEP, RECYCLE, and other block sizes
>    *  Fixed SGA and other internal allocations
> "
>
> So to recap - the log buffer size may be greater then log_buffer, and may
> be
> increased to make "fixed sga size" + "log buffer size" an exact multiple
> of
> a granule. This calculation is made at instance boot time; and the log
> buffer
> size is constant after the the instance has booted.
>
> HTH
> Alberto
>
>
>
>
> On 9/4/07, Rich Jesse <rjoralist@(protected)> wrote:
> > If I'm not mistaken, log_buffer will be automagically sized at instance
> > startup if using ASMM, effectively ignoring the setting of the
> log_buffer
> > parameter.  This is eluded to in the paragraph below your reference:
> >
> > "The memory allocated to these pools [including log_buffer] is deducted
> from
> > the total available for SGA_TARGET when Automatic Shared Memory
> Management
> > computes the values of the automatically tuned memory pools."
> >
> > Also see MeatLink 373018.1.
> >
> > Someone please correct me if I'm wrong.  (be gentle!)
> >
> > Rich
> >
> > > BTW The log buffer is not managed by the Automatic Shared Memory
> Management
> > > in 10gR2:
> > >
> > >
> http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams192
.htm
> > >
> > > "The following pools are manually sized components and are not
> > > affected by Automatic Shared Memory Management:
> > >      * Log buffer
> >
> >
> >
>
>
> --
> Alberto Dell'Era
> "the more you know, the faster you go"
>



--
Regards,

Deepak
Oracle DBA

<div>Hi Alberto,</div>
<div>&nbsp;</div>
<div>Thanks a lot for your explanations. Have&nbsp;few more queries on ASMM
itself. Considering that&nbsp;we have&nbsp;set ASMM for our instance. </div>
<div>&nbsp;</div>
<div>&gt; When more memory requered in a particular pool which pool Oracle does
choose to get the memory from?</div>
<div>&gt; Is there any priorities associated?</div>
<div>&gt; Why should we set the minimum values knowing that Oracle can adjust
them as and when required?</div>
<div>&nbsp;</div>
<div>Please help me in understanding the concepts.</div>
<div>&nbsp;</div>
<div>Thanks in Advance</div>
<div>&nbsp;</div>
<div>Deepak<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/5/07, <b class="gmail_sendername">Alberto
Dell&#39;Era</b> &lt;<a href="mailto:alberto.dellera@(protected)">alberto.dellera
@(protected)</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">From the Metalink note 373018.1 you suggested
, I get this important<br>fragment:<br>&quot;Oracle combines fixed SGA area and
redo buffer together, if there is
<br>a free space after Oracle put combined buffer to fit in granule, that<br
>space is added to redo buffer&quot;<br>so, the log_buffer initialization
parameter is not really &quot;ignored&quot;,<br>but rather,<br>is used as a
minimum value - the log buffer size is that value plus
<br>(possibly) any additional free space in the granule(s) used to store<br>the
fixed SGA+log buffer.<br><br>So this explains nicely DBA Deepak&#39;s test case
.<br><br>But back to one of the the original questions - is the log buffer
<br>managed dynamically<br>by ASMM, that is, can its (real) size change after
instance boot time,<br>stealing memory<br>from other pools, or giving it back,
depending on the workload ?<br>If the documentation is consistent with the
actual behavior (and I
<br>always assume it is,<br>unless a convincing counterexample is presented),
no:<br><a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14237
/initparams192.htm">http://download.oracle.com/docs/cd/B19306_01/server.102
/b14237/initparams192.htm
</a><br><br>&quot;SGA_TARGET specifies the total size of all SGA components. If
<br>SGA_TARGET is specified, then the following memory pools are<br
>automatically sized:<br><br>&nbsp;&nbsp; *&nbsp;&nbsp; Buffer cache (DB_CACHE
_SIZE)<br>&nbsp;&nbsp; *&nbsp;&nbsp; Shared pool (SHARED_POOL_SIZE)
<br>&nbsp;&nbsp; *&nbsp;&nbsp; Large pool (LARGE_POOL_SIZE)<br>&nbsp;&nbsp; *
&nbsp;&nbsp;Java pool (JAVA_POOL_SIZE)<br>&nbsp;&nbsp; *&nbsp;&nbsp; Streams
pool (STREAMS_POOL_SIZE)<br><br>If these automatically tuned memory pools are
set to non-zero values,<br>then those values are used as minimum levels by
Automatic Shared
<br>Memory Management. You would set minimum values if an application<br
>component needs a minimum amount of memory to function properly.<br><br>The
following pools are manually sized components and are not affected<br>by
Automatic Shared Memory Management:
<br><br>&nbsp;&nbsp; *&nbsp;&nbsp;Log buffer<br>&nbsp;&nbsp; *&nbsp;&nbsp;Other
buffer caches, such as KEEP, RECYCLE, and other block sizes<br>&nbsp;&nbsp; *
&nbsp;&nbsp;Fixed SGA and other internal allocations<br>&quot;<br><br>So to
recap - the log buffer size may be greater then log_buffer, and may be
<br>increased to make &quot;fixed sga size&quot; + &quot;log buffer size&quot;
an exact multiple of<br>a granule. This calculation is made at instance boot
time; and the log buffer<br>size is constant after the the instance has booted.
<br><br>HTH<br>Alberto<br><br><br><br><br>On 9/4/07, Rich Jesse &lt;<a href=
"mailto:rjoralist@(protected)">rjoralist@(protected)</a>&gt;
wrote:<br>&gt; If I&#39;m not mistaken, log_buffer will be automagically sized
at instance
<br>&gt; startup if using ASMM, effectively ignoring the setting of the log
_buffer<br>&gt; parameter.&nbsp;&nbsp;This is eluded to in the paragraph below
your reference:<br>&gt;<br>&gt; &quot;The memory allocated to these pools
[including log_buffer] is deducted from
<br>&gt; the total available for SGA_TARGET when Automatic Shared Memory
Management<br>&gt; computes the values of the automatically tuned memory pools.
&quot;<br>&gt;<br>&gt; Also see MeatLink 373018.1.<br>&gt;<br>&gt; Someone
please correct me if I&#39;m wrong.&nbsp;&nbsp;(be gentle!)
<br>&gt;<br>&gt; Rich<br>&gt;<br>&gt; &gt; BTW The log buffer is not managed by
the Automatic Shared Memory Management<br>&gt; &gt; in 10gR2:<br>&gt; &gt;<br>
&gt; &gt; <a href="http://download.oracle.com/docs/cd/B19306_01/server.102
/b14237/initparams192.htm">
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams192
.htm</a><br>&gt; &gt;<br>&gt; &gt; &quot;The following pools are manually sized
components and are not<br>&gt; &gt; affected by Automatic Shared Memory
Management:
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* Log buffer<br>&gt;<br>&gt;
<br>&gt;<br><br><br>--<br>Alberto Dell&#39;Era<br>&quot;the more you know, the
faster you go&quot;<br></blockquote></div><br><br clear="all"><br>-- <br
>Regards,<br><br>Deepak
<br>Oracle DBA