niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Server
Database Monitoring
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Mark D Powell
*nix forums Guru


Joined: 23 Apr 2005
Posts: 701

PostPosted: Thu Feb 10, 2005 12:52 pm    Post subject: Re: Database Monitoring Reply with quote

Kia, Oracle provides a set of scripts/packages called statspack that
you can run as a starting point.

Look in $ORACLE_HOME/rdbms/admin/ at the spcreate.sql script. You can
find information on the use of the package in the documentation set.

You can also scan v$sqlarea for SQL statements that have high relative
to the average value for all SQL on your system buffer_gets or
disk_reads. This would be logical and physical IO respectively.

There are a dozen other things you can do, but I would just scan the
SQL looking for the biggest resource users so that I could then check
the associated SQL (explain) plain. And I would run the statspack
report to get overall system numbers.

Bad overall numbers can be the result of only a few very poorly
performing queries so do not get too bogged down on the statspack
report. And when you look at IO numbers for queries remember that a
high logical IO value may be the result of the need to do a lot of
work.

HTH -- Mark D Powell --
Back to top
Ah Ming
*nix forums beginner


Joined: 03 Feb 2005
Posts: 7

PostPosted: Thu Feb 10, 2005 12:24 pm    Post subject: Database Monitoring Reply with quote

Hi!

I have a question about database monitoring. My situation is I have
a single instance with single user for storing point of sale data.
There are some reporting tools running in client sides. However, the
overall peformance of database is slow at a instance(CPU occupied more
than 80% and memory are nearly full). May I have some SQL statements
can "KNOW" which report has a problem? Thanks!

Kai Ming
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Wed Jan 07, 2009 11:38 pm | All times are GMT
navigation Forum index » Databases » Oracle » Server
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Move Oracle 10g database to another location Selt Server 0 Fri Jul 21, 2006 2:14 pm
No new posts database Share Memory Limit (2 GB ) in a Instance is tota... sadanjan@gmail.com IBM DB2 0 Fri Jul 21, 2006 12:57 pm
No new posts A webserver (PHP 5) with a few database server (MySQL) ¥|¥J PHP 2 Fri Jul 21, 2006 1:43 am
No new posts database back up Joko Siswanto MySQL 3 Thu Jul 20, 2006 4:19 pm
No new posts Help: Design the database for a school emdproduction@hotmail.com Server 3 Thu Jul 20, 2006 3:17 pm

Libro de autoayuda | atDIR Computers and Internet | Credit Cards | Mortgage Calculator | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1231s ][ Queries: 20 (0.0593s) ][ GZIP on - Debug on ]