Re: Index bloat problem? - Mailing list pgsql-performance

From Michael Guerin
Subject Re: Index bloat problem?
Date
Msg-id 4267EFF9.2000908@rentec.com
Whole thread Raw
In response to Re: Index bloat problem?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Index bloat problem?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance
>>Is
>>this a common issue among all RDBMSs or is it
>>something that is PostgreSQL specific?
>>
>>
>
>Speaking from experience, this sort of thing affects MSSQL as well, although
>the maintenance routines are different.
>
>
>
Yes, this is true with MSSQL too, however sql server implements a defrag
index that doesn't lock up the table..

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_dbcc_30o9.asp

"DBCC INDEXDEFRAG can defragment clustered and nonclustered indexes on
tables and views. DBCC INDEXDEFRAG defragments the leaf level of an
index so that the physical order of the pages matches the left-to-right
logical order of the leaf nodes, thus improving index-scanning performance.

....Every five minutes, DBCC INDEXDEFRAG will report to the user an
estimated percentage completed. DBCC INDEXDEFRAG can be terminated at
any point in the process, and *any completed work is retained.*"

-michael


pgsql-performance by date:

Previous
From: Chris Browne
Date:
Subject: Re: Index bloat problem?
Next
From: Josh Berkus
Date:
Subject: Re: Index bloat problem?