Subject | Re: [ib-support] large deletions |
---|---|
Author | Ann W. Harrison |
Post date | 2002-07-02T15:56:11Z |
At 10:15 AM 7/2/2002 -0400, Bob Lazarchik wrote:
an hour's worth every hour? Or a minute's worth every minute? A more
frequent smaller delete may have less impact than a single huge delete.
Are there any times of the day when the load is below average? Could
you do a series of smaller deletes during that time?
What indexes do you have on that table? Do any of them have large
numbers of duplicates? If so, find a way to make those indexes closer
to unique - like making a compound index with the desired key first
and the primary key second. Index garbage collection is not your
friend in this application.
Regards,
Ann
www.ibphoenix.com
We have answers.
>I have a log database used in manufacturing tools that creates up toRather than throwing out a day's worth every day, can you throw out
>100,000 - 200,000 entries daily. I need to clean out records that are
>more than 8 days old on a daily basis and I am looking for some ideas on
>how to do this.
an hour's worth every hour? Or a minute's worth every minute? A more
frequent smaller delete may have less impact than a single huge delete.
Are there any times of the day when the load is below average? Could
you do a series of smaller deletes during that time?
What indexes do you have on that table? Do any of them have large
numbers of duplicates? If so, find a way to make those indexes closer
to unique - like making a compound index with the desired key first
and the primary key second. Index garbage collection is not your
friend in this application.
Regards,
Ann
www.ibphoenix.com
We have answers.