You are here: Re: SQLServer Table Partitioning « MsSQL Server « IT news, forums, messages
Re: SQLServer Table Partitioning

Posted by Ed Murphy on 06/06/07 05:02

Erland Sommarskog wrote:

> Piero 'Giops' Giorgi (giorgi.piero@gmail.com) writes:
>> I know that, but partitioning by county makes the DB a lot easier to
>> maintain.
>> I have to work that way because I'm dealing with criminal records, and
>> they are separated by county with a ton of different files, so for
>> many of them I have to clear the table and reload the whole county
>> every time I get an update. Easier on partitions... :-)
>>
>> Table size can be anywhere from 8000 to 3 million records, depending
>> on the county.
>
> Deleting 8000 rows is a breeze, but deleting 3 million rows takes
> some resources, particularly if the rows are wide. But it still only
> a matter of minutes.

I do assume that (state, county) is an index. If not, then get
that fixed yesterday.

 

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

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