April 7, 2020 at 10:18 pm
Should I not even bother compressing non-clustered indexes?
OR if I do, should I do one buy one non-clustered indexes? Or they won't get compressed?
what if my table does not have clustered indexes? it only has a composite primary key, non-clustered. And a dozen of nonclustered indexed. Should I then not consider such table for compression? Or it will still benefit from it?
Likes to play Chess
April 8, 2020 at 2:52 am
Before answering your question, first you need to priorities why you need compression. If the answer is you need to save space, then you will benefit from index compression. Beware that table compression increase cpu during read/writing data as additional step to compress data is needed.
this page have nice explanation about it.
April 8, 2020 at 2:41 pm
I thought that when I do the entire table compression with REBUILD ALL all (non clustered) indexes on the table get rebuilt. Or do I need to issue a separate statement for each index?
Likes to play Chess
April 8, 2020 at 2:56 pm
as you were told on your other thread about this (and please do not create multiple threads) you do each individually - which by now you should already be aware of.
April 8, 2020 at 3:49 pm
Before answering your question, first you need to priorities why you need compression. If the answer is you need to save space, then you will benefit from index compression. Beware that table compression increase cpu during read/writing data as additional step to compress data is needed.
this page have nice explanation about it.
@reka_liebe...
There's no good way for you to know this so I'll tell you that this particular poster has many posts on this very subject over the last week or so. With that, I can he's already made this decision whether or not he's actually based it on your good suggestion. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply