- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPU Utilization Breakdown by DB
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 06:42 AM
03-31-2005 06:42 AM
Using Accounting, all db instances are bundled into one "oracle" line, so I can't see the breakdown by individual database. I understand why this is happening, but does anybody know how to make it report by oracle"dbname" rather than just oracle using Accounting?
Or....what do other people use if they need to break down CPU utilization by database? I'd love to be able to do this by day, week, month; but realistically just getting it broken out in real-time would be helpful.
Thanks...
Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 06:46 AM
03-31-2005 06:46 AM
Re: CPU Utilization Breakdown by DB
application - database1
user = database_user1
file = oracle*,*ora_*
Same for other databases.
Restart scopeux.
There might be way to do that in accounting also, but there also I think you will have to different on the basis of user id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 06:57 AM
03-31-2005 06:57 AM
Re: CPU Utilization Breakdown by DB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 07:00 AM
03-31-2005 07:00 AM
Re: CPU Utilization Breakdown by DB
Do you have glance/measureware and perfview ??
if not, well I'd say it's time to tell management that you need it to perform the tasks they have assigned you.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 07:06 AM
03-31-2005 07:06 AM
Re: CPU Utilization Breakdown by DB
OS: HP-UX 11i
I do have GlancePlus and PRM at my disposal. PRM is not configured yet, part of this exercise was meant to be a precursor to configuring it.
Thx...Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 07:10 AM
03-31-2005 07:10 AM
Re: CPU Utilization Breakdown by DB
Not sure about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 07:15 AM
03-31-2005 07:15 AM
Re: CPU Utilization Breakdown by DB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 11:50 AM
03-31-2005 11:50 AM
Re: CPU Utilization Breakdown by DB
RAC mentions one option, presuming you have MeasureWare, you could breakout some things using the ~ /perf/parm file. If there is some uniqueness to each oracle, try and close in on what you can.
For that day/week/month thing, well your friend and mine, PW, developed a super fantastic webpage that pulls in MWA data that creates great graphs. We put it up on our systems and Mgmt doesn't call asking about performance anymore! This with perfview-and any fluxes in performance-and we can prove who/what/when & where.
....a picture says a thousand words....
[ shame they wait listed his presentation for this last year... ]
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 04:10 AM
04-01-2005 04:10 AM
SolutionThis is very simple:
- Run each oracle instance with unique process template names like ora_dbwr_TESTDB (and so on all processes of that instance)
- in /var/opt/perf/parm: seperate each DB with its name:
application = TESTDB
file = *TESTDB
- and the end of the /var/opt/perf/parm, put a line like:
application = other_oracle
file = ora*
regards,
peyman;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 04:33 AM
04-01-2005 04:33 AM
Re: CPU Utilization Breakdown by DB
I'm messing with the /etc/prmconf file now and seeing some good results from 'prmanalyze -s prmid'. Just as I can with parm, I can group processes to form database groups.
Now it's just a matter of piecing it all together (ie: setting up cron for the accounting jobs- ckpacct, runacct, etc) and running reports against some long term data.
I'll keep this open till I finish this next week in case anybody has any refreshing thoughts....but thank you to everybody that has contributed so far. Hope all is well Rita.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:37 AM
04-07-2005 09:37 AM
Re: CPU Utilization Breakdown by DB
Your Web page solution (or PW's) sounds interesting... where can I get a view? Is this a share-ware pkg or an OVO product (Service Reporter, etc.)?
Thanks!
Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 12:30 PM
04-07-2005 12:30 PM
Re: CPU Utilization Breakdown by DB
How about asking Oracle instead of the OS.
Get some procedures in place as a framework:
- activate statspack on every instance.
- times_statistics is probably not need, just counters
- run a statspack snap after startup, befor shutdown.
- run a statspack snap once a week? day? hour?
- optionally roll up statspacks through queries or exports.
You may be able to use CPU time from the statspack, but why not take an easier number. Notably I would suggest BUFFERED GETS. Optionally toss in PHYSICAL IO COUNTS.
Now pro-rate the aggregate OS collected CPU cost for all oracles by buffered_gets (or executes, or usercalls, or sqlnetpackages, whatever tickles your imagination).
Statspack may be over the top. It may suffice to just run your own simple queries against V$SYSTAT. Check out the ORACLE DATABASE REFERENCE MANUAL. Appendix C: "Statistics Description". The table indicated whether timed_statistics is needed or not for a given counter.
Or how about looking at some externally visible attribute of Oracle. Admittedly only one thing comes to mind: The redo/archive log volume. You can probably tell how many bytes were written. This will be proportional to the database modification work (insert, update, delete) and may or might not be proportional to all the work. A read-mostly DB would not see its full share of system resource usage reflected, but that coudl be our little secret :-).
Just thinking out aloud,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 05:00 AM
04-08-2005 05:00 AM
Re: CPU Utilization Breakdown by DB
The trouble with our times is that the future is not what it used to be.
--poet Paul Valery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2005 01:57 AM
04-16-2005 01:57 AM
Re: CPU Utilization Breakdown by DB
I use MeasureWare and run Informix. With multiple instances of Informix what I do is split up the oninits by soft linking them to a "dummy" name. eg oninit-inst1 or oninit-inst2. This means in your parm file you can list all the application as
application = ifx-inst1
file = oninit-inst1
application = ifx-inst2
file = oninit-inst2
etc...
I also collect usage data from each Informix instance (select * from syspfofile); I'm sure Oracle has similar tables.
I find that this allows me to corolate usage spike, with say reductions in caching ot High IO etc. It is worth attcacking the problems from as many angles as possible.
Regards
Tim