You are here: Re: DELETING 100 million from a table weekly SQl SERVER 2000 « MsSQL Server « IT news, forums, messages
Re: DELETING 100 million from a table weekly SQl SERVER 2000

Posted by Tony Rogerson on 11/05/05 09:19

Hi Harish,

You should look at partitioning, keep a cycle the partitions and simply
CREATE TABLE and DROP TABLE the new partitions, that way you won't have to
do any logging.

Tony

--
Tony Rogerson
SQL Server MVP
http://sqlserverfaq.com - free video tutorials


"harish" <harish.prabhala@gmail.com> wrote in message
news:1131162982.103343.268120@o13g2000cwo.googlegroups.com...
> DELETING 100 million from a table weekly SQl SERVER 2000
>
> Hi All
>
> We have a table in SQL SERVER 2000 which has about 250 million records
> and this will be growing by 100 million every week. At a time the table
> should contain just 13 weeks of data. when the 14th week data needs to
> be loaded the first week's data has to be deleted.
>
> And this deletes 100 million every week, since the delete is taking lot
> of transaction log space the job is not successful.
>
> Can you please help with what are the approaches we can take to fix
> this problem?
>
> Performance and transaction log are the issues we are facing. We tried
> deletion in steps too but that also is taking time. What are the
> different ways we can address this quickly.
>
> Please reply at the earliest.
>
> Thanks
> Harish
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация