Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Optimize storage costs

A worked example

Yes or no

Contoso runs SAP ERP on SQL Server on-premises. The SAP database is currently uncompressed. Contoso will move the database to SQL Server on an Azure virtual machine that uses managed disks.

The on-premises database server has more CPUs, higher I/O bandwidth and lower I/O latency than the planned Azure virtual machine. Contoso wants to keep the Azure storage costs for the database as low as possible. The team is deciding whether to apply SQL Server PAGE compression before or after the database is uploaded to Azure.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
Applying PAGE compression before the upload reduces the amount of data that Contoso must transfer to Azure.

the documentation lists a lower amount of data to upload as one reason to compress the SAP database before uploading it to Azure.

Correct
In this scenario, running PAGE compression on the Azure virtual machine after the upload is expected to finish faster than running it on-premises.

Compression runs faster on stronger hardware. Here the on-premises server has more CPUs, higher I/O bandwidth and lower latency than the Azure VM. Running it on-premises is therefore expected to be quicker, which is why compressing before the upload is recommended.

Correct
Compressing the database before the upload means that Contoso must allocate more managed disk capacity in Azure than for the uncompressed database.

Compression makes the database smaller. the documentation states that smaller database sizes might lead to lower disk allocation costs, not to more disk capacity.

Correct
Why

SAP and Microsoft both recommend applying SQL Server PAGE compression before an existing SAP database is uploaded to Azure. Compressing first lowers the volume of data to upload. The compression itself is shorter when it runs on stronger on-premises hardware, which matches Contoso's situation. A smaller database might also reduce the cost of the disks allocated in Azure, which supports Contoso's goal of low storage costs.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free