Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query takes 1min 15 secs and tables are indexed !
DA Morgan wrote:
> Big Charles wrote:
>> >> I'm wondering: >> >> - Should I run Statistics from time to time, like every 3 days, or once >> a week... why?
Our company has (historically) used a cron (on unix) to gather statistics (on both Sybase and Oracle sites).
We normally do this at some ungodly hour in the morning so that the (quite high) cpu and I/O load does not intrude on user operations.
However...
Some of our tables contain information about temprary user actions, and since most user's "check work in" at the end of the day, the statistics are not as representative as we (or the query optimiser) might like.
You could say that our systems are a rather unfortunate mix of OLTP activity that is then archived - all in one DB.
I would welcome any insight into how our statistics could be improved.
BugBear Received on Tue Aug 01 2006 - 03:24:52 CDT