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
Subject: ora 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Subject: Re: ORA 01722 invalid number
 
Adding CPU to a unix box--added capacity.

Adding CPU to a unix box--added capacity.

2007-11-03       - By Best, David

 Back
Reply:     1     2     3     4     5  

A while back we doubled the number of cpu's in a system from 2 to 4.
I monitored CPU usage at 5 minute intervals for the week before and the
week after.

For the 4cpu week the average CPU usage was: 26.39815

For the 2cpu week the average CPU usage was: 54.78056

So,  CPU usage pretty much halved which was what we expected.  However,
that doesn't necessarily mean performance will increase by a factor of
2.  It depends on the application.  In this case the databases on this
server were a mix of OLTP and Datamarts.   The OLTP databases did see an
improvement but the datamarts didn't.  The reason is that OLTP
transactions are normally short and sweet, so more could be processed at
a given time.   In the case of the datamart, the refresh job didn't take
advantage of multiple cpu's, so it still took the same amount of time to
complete.

__ ____ ____ ____ ____ ____ ____

From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Zhu,Chao
Sent: Friday, November 02, 2007 10:32 AM
To: oracle-l
Subject: Adding CPU to a unix box--added capacity.


hi,
   Does anyone have experience on adding new CPU to a existing box,
like upgrade from 8CPU to 16 CPU for example.
   I am curious about two things;
1. How many CPU usage% drop do we expect? Like previously it is running
at 50% CPU usage,  typically will it drop to 25%? or something like 30%?
To ask the same question from another view, is , how much capacity we
add to the box? 16CPU box = 1.X(?) of a 8CPU box. Assuming same
archtecture/OS. (same cpu count server in different architecture may
have different processing power?)
 Would be nice if you can share with your experience (like on
solaris/aix/hp etc). That's kind of typical server scalability.

2.   Can we say,  CPU_USED_BY_THIS_SESSION (stat in oracle) ~~
Unix_CPU_COUNT * USER_MODE_CPU% (vmstat usr column)? I did couple of
compare in my database, they look pretty close.

   Does anyone ever thinking about have such a formular: it could be
very fun.
CPU_USED_BY_THIS_SESSION = X*logical_reads + Y*physical_reads + Z*sorts
+ A * executions + B * redo_size + C * Latch_Spins+ .......?

by the way, anyone like the book"forecasting oracle performance"?
--
Regards
Zhu Chao
www.cnoug.org


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=609305423-03112007><FONT face=Arial
color=#0000ff size=2>A while back we doubled the number of cpu's in a system
from 2 to 4.&nbsp;&nbsp;&nbsp; I monitored CPU usage at 5 minute intervals for
the week before and the week after.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=609305423-03112007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=609305423-03112007><FONT size=2>For the
4cpu
week the average <SPAN class=hl>CPU</SPAN> usage was: 26.39815<BR><BR>For the
2cpu week the average <SPAN class=hl>CPU</SPAN> usage was:
54.78056</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=609305423-03112007><FONT
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=609305423-03112007><FONT face=Arial
color=#0000ff size=2>So,&nbsp; CPU usage pretty much halved which was what we
expected.&nbsp; However, that doesn't necessarily mean performance will
increase
by a factor of 2.&nbsp; It depends on the application.&nbsp; In this case the
databases on this server were a mix of OLTP and Datamarts.&nbsp;&nbsp; The OLTP
databases did see an improvement but the datamarts didn't.&nbsp; The reason is
that OLTP transactions are normally short and sweet, so more could be processed
at a given time.&nbsp;&nbsp; In the case of the datamart, the refresh job didn
't
take advantage of multiple cpu's, so it still took the same amount of time to
complete.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] <B>On Behalf Of
</B>Zhu,Chao<BR><B>Sent:</B> Friday, November 02, 2007 10:32 AM<BR><B>To:</B>
oracle-l<BR><B>Subject:</B> Adding CPU to a unix box--added
capacity.<BR></FONT><BR></DIV>
<DIV></DIV>hi,<BR>&nbsp;&nbsp;&nbsp; Does anyone have experience on adding new
CPU to a existing box, like upgrade from 8CPU to 16 CPU for example.
<BR>&nbsp;&nbsp;&nbsp; I am curious about two things;<BR>1. How many CPU usage%
drop do we expect? Like previously it is running at 50% CPU usage,&nbsp;
typically will it drop to 25%? or something like 30%? To ask the same question
from another view, is , how much capacity we add to the box? 16CPU box = 1.X(?)
of a 8CPU box. Assuming same archtecture/OS. (same cpu count server in
different
architecture may have different processing power?) <BR>&nbsp; Would be nice if
you can share with your experience (like on solaris/aix/hp etc). That's kind of
typical server scalability. <BR><BR>2.&nbsp;&nbsp; Can we say,&nbsp;
CPU_USED_BY_THIS_SESSION (stat in oracle) ~~ Unix_CPU_COUNT * USER_MODE_CPU%
(vmstat usr column)? I did couple of compare in my database, they look pretty
close. <BR><BR>&nbsp;&nbsp;&nbsp; Does anyone ever thinking about have such a
formular: it could be very fun. <BR>CPU_USED_BY_THIS_SESSION = X*logical_reads
+
Y*physical_reads + Z*sorts + A * executions + B * redo_size + C * Latch_Spins+
.......?<BR><BR clear=all>by the way, anyone like the book"forecasting oracle
performance"? <BR>-- <BR>Regards<BR>Zhu Chao<BR><A
href="http://www.cnoug.org">www.cnoug.org</A><BR></BODY></HTML>