olahallengren / sql-server-maintenance-solution

SQL Server Maintenance Solution
https://ola.hallengren.com
MIT License
2.88k stars 743 forks source link

ColumnStore Support for Index Maintenance #71

Open GO-DFisk opened 6 years ago

GO-DFisk commented 6 years ago

Please add full support for maintenance / optimization of column Store Indexes.

thornersetrans commented 5 years ago

Good feature to have, more usage of this SQL Server feature as time goes on.

Alan-Harris commented 5 years ago

Ola - Any ETA on when this functionality will be included? This is very much needed, as these indexes need the reorganization process to include a command that will move all noncompressed rowgroups into compression.

-- This command will force all CLOSED and OPEN rowgroups into the columnstore.
ALTER INDEX idx_cci_target ON cci_target
REORGANIZE WITH (COMPRESS_ALL_ROW_GROUPS = ON);

mdgreen99 commented 5 years ago

I added rudimentary support for the COMPRESS_ALL_ROW_GROUPS option for columnstore index reorgs to the 2019-01-13 13:51:41 version, via a @CompressAllRowGroups parameter, for whatever it's worth.

IndexOptimize_with_CCI.diff.txt

m60freeman commented 5 years ago

SentryOne's optimizations for large implementations uses Clustered Columnstore Indexes in their repository and requires "index maintenance, stats update scripts, and defrags should be disabled for all CCI'd and memory optimized staging tables". Do I need to use any specific parameters in the Maintenance Solution jobs to implement that, or does the Solution currently ignore those?

mahu-y commented 4 years ago

Do i have to use any special parameter to include non clustered columnstoreindex to rebuild ?

hbentaleb commented 4 years ago

Ola, Any ETA on that feature? Thx!

martintints commented 4 years ago

Pretty please implement this :)

scatmull commented 3 years ago

We are starting heavy investment into columnstore. Having some well used and adopted maintenance options here would be very helpful.

earthcoder commented 3 years ago

I added rudimentary support for the COMPRESS_ALL_ROW_GROUPS option for columnstore index reorgs to the 2019-01-13 13:51:41 version, via a @CompressAllRowGroups parameter, for whatever it's worth.

IndexOptimize_with_CCI.diff.txt

i tried this seems to work ok, anyone else have issues with this?