Home » RDBMS Server » Performance Tuning » tunning (oracle 10g/windows 2003)
tunning [message #493025] Fri, 04 February 2011 05:44 Go to next message
gxeon
Messages: 53
Registered: January 2011
Location: Mumbai
Member
Hello frds

can anyone please help me to know, how to find the tables in
the database on which high DMLs are firing.


please help
Re: tunning [message #493033 is a reply to message #493025] Fri, 04 February 2011 05:59 Go to previous messageGo to next message
Michel Cadot
Messages: 68648
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Run Perfstat or AWR reports.

Regards
Michel
Re: tunning [message #493035 is a reply to message #493033] Fri, 04 February 2011 06:12 Go to previous messageGo to next message
gxeon
Messages: 53
Registered: January 2011
Location: Mumbai
Member
Thanks Sir

i ran the AWR report and checked the segment statistics also. to be more specific i have two imp schema in my database and there are over 500 hundred tables in each. i need to find those tables in each schema on which maximum DMLs are firing.
Re: tunning [message #493039 is a reply to message #493035] Fri, 04 February 2011 06:20 Go to previous messageGo to next message
Michel Cadot
Messages: 68648
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
DBA_TAB_MODIFICATIONS.

Regards
Michel
Re: tunning [message #493043 is a reply to message #493039] Fri, 04 February 2011 06:25 Go to previous messageGo to next message
Michel Cadot
Messages: 68648
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
select owner, object_name, subobject_name, nb_writes
from ( select owner, object_name, subobject_name, 
              sum(value) nb_writes,
              rank() over (order by sum(value) desc) rk
       from v$segment_statistics
       where statistic_name like 'physical writes%'
         and owner != 'SYS'
       group by owner, object_name, subobject_name 
       having sum(value) > 0 )
where rk <= 50
order by rk
/

Regards
Michel

[Updated on: Fri, 04 February 2011 08:35]

Report message to a moderator

Re: tunning [message #493058 is a reply to message #493043] Fri, 04 February 2011 08:11 Go to previous message
gxeon
Messages: 53
Registered: January 2011
Location: Mumbai
Member
Thanks a lot sir.
Previous Topic: Query Regarding Nested Loop
Next Topic: Update columns of one table using another table
Goto Forum:
  


Current Time: Sun May 05 12:08:07 CDT 2024