Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 28948 invoked from network); 23 Nov 2007 09:45:10 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 23 Nov 2007 09:45:10 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8F0EA7C0A6E;
 Fri, 23 Nov 2007 10:45:10 -0500 (EST)
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 29739-10; Fri, 23 Nov 2007 10:45:10 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 086E37C0A55;
 Fri, 23 Nov 2007 10:45:09 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 23 Nov 2007 09:58:43 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E64DD7C079F
 for <oracle-l@freelists.org>; Fri, 23 Nov 2007 09:58:42 -0500 (EST)
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 22808-03 for <oracle-l@freelists.org>;
 Fri, 23 Nov 2007 09:58:42 -0500 (EST)
Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3A5337BFA92
 for <oracle-l@freelists.org>; Fri, 23 Nov 2007 09:58:41 -0500 (EST)
Received: from lagavulin.dbalert.eu (dbalert.xs4all.nl [213.84.185.230])
 (authenticated bits=0)
 by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id lANEwegF055506;
 Fri, 23 Nov 2007 15:58:41 +0100 (CET)
 (envelope-from careljan@dbalert.eu)
Subject: Re: CPU load per db instance
From: Carel-Jan Engel <careljan@dbalert.eu>
To: john.kanagaraj@gmail.com
Cc: rjamya@gmail.com, Oracle Discussion List <oracle-l@freelists.org>
In-Reply-To: <2ead3a60711222317w5f6dd359j656183c387cd807c@mail.gmail.com>
References: <9177895d0711211207m3f024d34ua8fc57aac2b51f33@mail.gmail.com>
	 <2ead3a60711222317w5f6dd359j656183c387cd807c@mail.gmail.com>
Content-Type: multipart/alternative; boundary="=-rcTEtdsmPs/MSVXylYDA"
Date: Fri, 23 Nov 2007 15:58:27 +0100
Message-Id: <1195829907.24249.29.camel@lagavulin.dbalert.eu>
Mime-Version: 1.0
X-archive-position: 3451
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: careljan@dbalert.eu
Precedence: normal
Reply-to: careljan@dbalert.eu
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <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: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
--=-rcTEtdsmPs/MSVXylYDA
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

At a CT site we're amidst the development of such a tool. 
We combine statspack, ashpack (Kyle Hailey's 'Money for nothing, Ash for
free' thingy) and nmon (yes it's AIX) reports together in one
performance warehouse. 
All servers upload to the same DB. With the tool (build in APEX) we can
provide insight in resource usage at all the levels, in a coherent way.
looking at a given time window, you can switch between various sources
like statspack and nmon. nmon takes snapshots every 5 seconds, ashpack
every 3, IIRC. When it reaches a level of sufficient matureness the
thing might get open-sourced.

At this site every instance (and if there are more applications running
on that instance, every application) has its own WLM class, assigning
'enough' CPU to that instance/app. The apps are split by running
separate listeners for every instance and every app. Each listener gets
its own WLM class, the server processes will inherit this class. Took
some time to set up, but all the maintenance and management tools are
scripted out pretty well now, and it works quite well!

Best regards,

Carel-Jan Engel

===
If you think education is expensive, try ignorance. (Derek Bok)
===


On Thu, 2007-11-22 at 23:17 -0800, John Kanagaraj wrote:

> > I understand this this information changes few milliseconds, but like we
> > capture using statspack ... can we do something on the server itself and
> > show it by each db? Has anyone already done this before? OS is solaris8 and
> > 10, db version is 9ir2 or 10g.
> 
> Raj,
> 
> If you are using 10g, then you are in luck. V$OSSTAT will provide
> system level CPU usage and V$SYS_TIME_MODEL will provide Instance
> level CPU usage (add "DB CPU" for foreground and "background cpu time"
> for background together). For explanation, see the STATSPACK packages
> and the sprepins.sql script.
> 
> Happy Thanksgiving,
> -- 
> John Kanagaraj <><
> DB Soft Inc
> http://www.linkedin.com/in/johnkanagaraj
> http://jkanagaraj.wordpress.com (Sorry - not an Oracle blog!)
> ** The opinions and facts contained in this message are entirely mine
> and do not reflect those of my employer or customers **
> --
> http://www.freelists.org/webpage/oracle-l
> 
> 



--=-rcTEtdsmPs/MSVXylYDA
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.1">
</HEAD>
<BODY>
At a CT site we're amidst the development of such a tool. <BR>
We combine statspack, ashpack (Kyle Hailey's 'Money for nothing, Ash for free' thingy) and nmon (yes it's AIX) reports together in one performance warehouse. <BR>
All servers upload to the same DB. With the tool (build in APEX) we can provide insight in resource usage at all the levels, in a coherent way. looking at a given time window, you can switch between various sources like statspack and nmon. nmon takes snapshots every 5 seconds, ashpack every 3, IIRC. When it reaches a level of sufficient matureness the thing might get open-sourced.<BR>
<BR>
At this site every instance (and if there are more applications running on that instance, every application) has its own WLM class, assigning 'enough' CPU to that instance/app. The apps are split by running separate listeners for every instance and every app. Each listener gets its own WLM class, the server processes will inherit this class. Took some time to set up, but all the maintenance and management tools are scripted out pretty well now, and it works quite well!<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Best regards,<BR>
<BR>
Carel-Jan Engel<BR>
<BR>
===<BR>
If you think education is expensive, try ignorance. (Derek Bok)<BR>
===
</TD>
</TR>
</TABLE>
<BR>
<BR>
On Thu, 2007-11-22 at 23:17 -0800, John Kanagaraj wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">&gt; I understand this this information changes few milliseconds, but like we</FONT>
<FONT COLOR="#000000">&gt; capture using statspack ... can we do something on the server itself and</FONT>
<FONT COLOR="#000000">&gt; show it by each db? Has anyone already done this before? OS is solaris8 and</FONT>
<FONT COLOR="#000000">&gt; 10, db version is 9ir2 or 10g.</FONT>

<FONT COLOR="#000000">Raj,</FONT>

<FONT COLOR="#000000">If you are using 10g, then you are in luck. V$OSSTAT will provide</FONT>
<FONT COLOR="#000000">system level CPU usage and V$SYS_TIME_MODEL will provide Instance</FONT>
<FONT COLOR="#000000">level CPU usage (add &quot;DB CPU&quot; for foreground and &quot;background cpu time&quot;</FONT>
<FONT COLOR="#000000">for background together). For explanation, see the STATSPACK packages</FONT>
<FONT COLOR="#000000">and the sprepins.sql script.</FONT>

<FONT COLOR="#000000">Happy Thanksgiving,</FONT>
<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">John Kanagaraj &lt;&gt;&lt;</FONT>
<FONT COLOR="#000000">DB Soft Inc</FONT>
<FONT COLOR="#000000"><A HREF="http://www.linkedin.com/in/johnkanagaraj">http://www.linkedin.com/in/johnkanagaraj</A></FONT>
<FONT COLOR="#000000"><A HREF="http://jkanagaraj.wordpress.com">http://jkanagaraj.wordpress.com</A> (Sorry - not an Oracle blog!)</FONT>
<FONT COLOR="#000000">** The opinions and facts contained in this message are entirely mine</FONT>
<FONT COLOR="#000000">and do not reflect those of my employer or customers **</FONT>
<FONT COLOR="#000000">--</FONT>
<FONT COLOR="#000000"><A HREF="http://www.freelists.org/webpage/oracle-l">http://www.freelists.org/webpage/oracle-l</A></FONT>


</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>

--=-rcTEtdsmPs/MSVXylYDA--

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


