Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Oracle slow after adding datafile
Jake,
did you analyse the table after the delete - the stats will probably be sitting at the previous settings.
If you did delete rather than truncate, then try :
alter table xxxx deallocate unused keep nn;
and see if that makes a difference. But, before you do, try a quick
select count(*) from xxxx
and see how long it takes to complete and what result you get back. If it takes 5 mins and says something like 10 rows, then you are hitting the old 'scan up to the HWM' problem where most of the blocks are empty - but still get scanned. The deallocate command above should fix that.
Cheers,
Norman.
Tel: 0113 289 6265 Fax: 0113 289 3146 URL: http://www.Lynx-FS.comReceived on Fri Nov 01 2002 - 04:23:54 CST
-------------------------------------