Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dmaxj
Posting Yak Master
174 Posts |
Posted - 2013-07-01 : 12:43:33
|
Is it possible to compress a partitioned index without causing any blocking?I have 35 partitions that have a clustered index and 2 non-clustered indexes. I would like to compress these partitions, but blocking seems to occur when tried. Is there any way to accomplish this task without blocking? please see my code belowALTER INDEX PK_indexName ON dbo.tblName REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = PAGE ON PARTITIONS (1 TO 35)) Thanks |
|
srimami
Posting Yak Master
160 Posts |
Posted - 2013-07-02 : 07:47:40
|
The above code should work; let me check from my end and see if any alternative |
|
|
|
|
|