Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How can I measure my DB performance.

RE: How can I measure my DB performance.

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Fri, 29 Aug 2003 09:49:26 -0800
Message-ID: <F001.005CE00D.20030829094926@fatcity.com>


You can also use speed the acceleration as a criteria. A good database should accelerate
with the acceleration of 30ft/sec square (= 9.81 m/sec square for ISO types) but only once.
On the other hand, one might say that if users aren't complaining, the speed is adequate.

--

Mladen Gogala
Oracle DBA

-----Original Message-----

Boivin, Patrice J
Sent: Friday, August 29, 2003 1:15 PM
To: Multiple recipients of list ORACLE-L

There was a 3rd party utility called DBTools4, you can search for that on the 'net but it's a little old. It submits SQL as 1 session, then logs in twice at the same time, submits the same SQL, etc. and builds up the pressure... Good for load testing but I wouldn't do that against a production system.

You can note down the results on one db and do the same tests on another to be able to compare, or do it once after a fresh installation, make a change in the db configuration or add something, than re-run the tests to compare results.

It also wants to create accounts in your database, that might not be acceptable.

I think though that you basically have to decide what performance metrics are important to your site, write code that mimics those scenarios, and run them against your database.

The crudest way might be to set autotrace on in your sqlplus session, and submit SQL. You may need to run $ORACLE_HOME/rdbms/admin/utlxplain.sql to create the plan_table table if it hasn't been set up on your database.

There are different types of settings for databases, OLTP is different from DSS, etc. What matters at your site?

Once you know that you can start tuning... starting with the SQL that is going through the db.

With the Oracle Enterprise Manager (or other 3rd party tools) you can keep an eye on the most resource-intensive SQL that is going through the database, then grab the code and see if you can reduce their execution time.

The Prentice Hall Guy Harrison SQL High Performance Tuning book is the one I like best right now, but you basically have to learn about explain plans, analyze how the SQL is running through and what to do to speed it up. Indexes can make a HUGE difference -- queries that take hours against large tables can be whittled down to just a few minutes with proper indexing.

If anyone has more advice... tuning can be made into a consulting career I think.

Patrice.

-----Original Message-----

Sent: Friday, August 29, 2003 1:10 PM
To: Multiple recipients of list ORACLE-L

Jake

   Compare to what? Another database? To what its performance should be?

Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com

-----Original Message-----

Sent: Thursday, August 28, 2003 6:59 PM
To: Multiple recipients of list ORACLE-L

Is there a standard query I can run to compare the performance of a db. (Kind of like bogomips for unix)

Thanks,
Jake Johnson
jake_at_plutoid.com



Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices on Rims, Tires, and Wheel Packages.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Jake Johnson
  INET: jake_at_plutoid.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.COM
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Boivin, Patrice J
  INET: BoivinP_at_mar.dfo-mpo.gc.ca
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

Note:
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Mladen Gogala
  INET: mladen_at_wangtrading.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Aug 29 2003 - 12:49:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US