You are here: Re: question on reindex « MsSQL Server « IT news, forums, messages
Re: question on reindex

Posted by SQL Menace on 09/27/06 13:00

Have you tried defragmenting by using DBCC INDEXDEFRAG?

Unlike DBCC DBREINDEX (or the index building operation in general),
DBCC INDEXDEFRAG is an online operation. It does not hold locks long
term and thus will not block running queries or updates

Denis the SQL Menace
http://sqlservercode.blogspot.com/

paul wrote:
> Hi,
> i have several tables in production whose contents are renewd totally in 1
> week. So everyd day we delete ~15% records and then insert 15% new.
> And after a few days, the performances drops :
>
> TABLE level scan performed.
> - Pages Scanned................................: 169617
> - Extents Scanned..............................: 21630
> - Extent Switches..............................: 153827
> - Avg. Pages per Extent........................: 7.8
> - Scan Density [Best Count:Actual Count].......: 13.78% [21203:153828]
> - Logical Scan Fragmentation ..................: 45.06%
> - Extent Scan Fragmentation ...................: 52.66%
> - Avg. Bytes Free per Page.....................: 5042.5
> - Avg. Page Density (full).....................: 37.70%
>
> I can't program a dbcc reindex every day because of concurrent access (it
> locks the tables too long), actually i can only program it on sunday.
>
> What else can i do ? I can adjust the fill factor but how to find the good
> value if i don't want to waste space.
>
> The total size of the database is ~150GB.
>
> Thx

 

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

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