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: Finding the most actively DML'd table

Re: Finding the most actively DML'd table

From: zhu chao <chao_ping_at_vip.163.com>
Date: Mon, 22 Dec 2003 00:24:25 -0800
Message-ID: <F001.005DA979.20031222002425@fatcity.com>


Hi,

    I did something similiar before. It cound be meaningful in some case.     My database was io-bound and top wait event was "log file sync". It can because of too much commit, I asked business guys and according to there data and business logic, there cound't be so much transactions. I reviewed statspack and v$sql according to executions and sql being with update/insert/delete, I found the root cause, that particular SQL generated 80%(maybe) of total commits.     We rewrote the application and IO get down.

Regards.
Zhu Chao.

> Is it possible to find how many DML operations have ocurred on a given table in
> a given time period? I'd like to be able to rank the tables in a database based
> on the number of DML actions performed on them in a given time period. It would
> be interesting to see which are the 'hot spots' so to speak, and either a) tune
> access to those tables accordingly, or b) put out the fires.
>
> Granted, this strays somewhat from the Millsapian/Holtian doctrine of focusing
> on the user action with the largest business impact, but I still think it would
> be interesting to see.
>
> Thanks for any help,
>
> -- Dan
> ========================================================================
> Daniel Hanks - Systems/Database Administrator
> About Inc., Web Services Division
> ========================================================================
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Daniel Hanks
> INET: hanksdc_at_about-inc.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: zhu chao
  INET: chao_ping_at_vip.163.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 Mon Dec 22 2003 - 02:24:25 CST

Original text of this message

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