KB4052135 - FIX: RESTORE HEADERONLY statement for a TDE compressed backup slow to complete in SQL Server

Applies to: SQL Server 2017 DeveloperSQL Server 2017 EnterpriseSQL Server 2017 Enterprise Core


Assume that you enable Transparent Data Encryption (TDE) for a database in Microsoft SQL Server. Then, you back up the database by using the BACKUP DATABASE Transact-SQL statement that has a large value specified for the MAXTRANSFERSIZE option.

When you try to get the backup header information of the TDE compressed backup by using the RESTORE HEADERONLY Transact-SQL statement, the statement takes longer than expected to finish.



Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.