Question

We have recently implemented TDE and backup compression is also enabled. Before TDE backup used to take about 20min but now it takes about one hour.

I have set @MaxTransferSize to 3MB, 2MB, 1MB and 0.5MB but didn't make any difference time wise, database is 90GB of size and it is SQL Server 2016 SP1 CU4.

We using Ola's Maintenance Solution/Scripts to backup the database. Any idea why it is taking 3x longer when TDE enabled please?

Was it helpful?

Solution

I managed to reduced the time to 28min now, changed @MaxTransferSize= 524288 to 262144 and also removed @Verify='Y' parameter which did the trick.

I believe backup @Verify option was the real issue here, as soon as I removed the option backup time cut to half.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top