When I create an COLUMNSTORE index I can specify COMPRESSION_DELAY = x [minutes]
in the CREATE-Statement. It delays the movement of the rows in an closed segment from the delta store to the compressed columnstore storage. Reason to do so: your import process is not just a simple INSERT but has some UPDATEs and maybe DELETEs too.
Is there a way to set this value afterwards without recreating the whole index (which would take very long on our big table)?
I tested already REBUILD and REORGANIZE, but they both do not understand the COMPRESSION_DELAY
option in the WITH()
.
Best Answer
An existing columnstore index can be altered as such:
As found in the documentation on
ALTER INDEX