query to slow after lots of insert and delete operations [message #63174] |
Thu, 16 September 2004 01:11 |
Henry
Messages: 14 Registered: November 2000
|
Junior Member |
|
|
I am using oracle9i in window2000 server for my work.
I have several tables(has primary key and foreign key for each one), and there has a lot of operations(over 500,000) such as insert/delete on each one. After the program runs about 12-18 hours, query on those table becomes very slow, the buffer_gets and disk_reads beomes very big too.
please help :)
|
|
|
|
|
|
|
Re: query to slow after lots of insert and delete operations [message #63237 is a reply to message #63174] |
Mon, 20 September 2004 23:18 |
dbalaji
Messages: 2 Registered: August 2004
|
Junior Member |
|
|
Hi Henry ,
if you are working on unix based oracle then
1. create a subdirectory as testing and run the utlbstat.sql that is available in the $oracle_home/rdbms/admin directory
2.then run the utlestat.sql from the same subdirectory.This is available in the same directory as utlbstat.sql
3.this will create a file called report.txt that is self explaining and will releive you of this headache.
regards
balaji
|
|
|