Share via

SQL 2016 Tables & Indexes compression

techresearch7777777 1,981 Reputation points
2021-07-21T00:08:37.667+00:00

Hello, SQL 2016 to save space we are aiming to do compression on Tables & their Indexes.

Is there any specific order which to run compression first Table first then Indexes or Indexes first and then Tables?

Anything else to be aware or make note of?

Thanks in advance.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

Answer accepted by question author

Cris Zhan-MSFT 6,676 Reputation points
2021-07-21T05:49:14.217+00:00

Hi,

>Is there any specific order which to run compression first Table first then Indexes or Indexes first and then Tables?

There does not seem to be any specified order. It depends on the objects you want to compress. Data compression
I will consider the table first, and then the non-clustered index.

>Anything else to be aware or make note of?

Please refer to the Limitations and Restrictions section in this document.
https://learn.microsoft.com/en-us/sql/relational-databases/data-compression/enable-compression-on-a-table-or-index?view=sql-server-ver15

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. techresearch7777777 1,981 Reputation points
    2021-07-21T21:49:35.937+00:00

    Thanks for the reply Criszhan-msft

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.