RDS SQL Server: Data archiving to OSS
In most cases, data files of ApsaraDB RDS for SQL Server instances are stored on Enterprise SSDs (ESSDs). Storage costs increase with data volume. To reduce costs and increase efficiency, ApsaraDB RDS for SQL Server provides a database-level data archiving feature. You can convert infrequently accessed online databases into cold storage databases on the Databases page of the ApsaraDB RDS console or by calling API operations. Cold data is stored in an OSS bucket at low costs. This helps separate hot data from cold data and reduce storage costs.
Feature overview
ApsaraDB RDS for SQL Server works with OSS to manage data files and transfer them between cloud disks and OSS buckets based on the database detachment and attachment feature of native SQL Server. You can convert an online database into a cold storage database with a few clicks in the ApsaraDB RDS console. After conversion, data files are migrated from a cloud disk to an OSS bucket, significantly reducing storage costs. If you need to read data from or write data to a cold storage database, you can convert it back into an online database with a few clicks in the ApsaraDB RDS console. The entire process is simple and ensures data integrity.
Benefits
-
Cost savings: By converting infrequently accessed online databases into cold storage databases stored in low-cost OSS buckets, you can effectively reduce data storage costs and save a significant amount of money. For information about OSS cold storage pricing, see Billing.
-
Large capacity: By leveraging the massive storage architecture of OSS, you can achieve large-capacity archived data storage without being limited by the capacity of traditional storage media.
-
Low cost and high reliability: OSS features low cost and high reliability, which helps you archive data in a more cost-effective manner while maintaining data security and reliability.
-
No impact on business: The data archiving feature does not cause instance downtime or affect your normal business operations, ensuring business stability and continuity.
Billing
After you archive data to an OSS bucket, you are charged for OSS cold storage on a pay-as-you-go basis. The following table describes the unit prices.
Basic Edition
|
Region |
Unit price |
|
China (Hangzhou), China (Shanghai), China (Wuhan - Local Region), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) |
CNY 0.00021 per GB-hour |
|
China (Hong Kong), Singapore, Germany (Frankfurt), Japan (Tokyo), and Indonesia (Jakarta) |
CNY 0.00022 per GB-hour |
|
US (Virginia) |
CNY 0.00035 per GB-hour |
|
Malaysia (Kuala Lumpur) |
CNY 0.00037 per GB-hour |
|
US (Silicon Valley), Philippines (Manila) |
CNY 0.00038 per GB-hour |
Prerequisites
The RDS instance meets the following requirements:
-
The RDS instance runs RDS Basic Edition.
-
Storage type: ESSD or premium performance disk
-
Billing method: subscription or pay-as-you-go (Serverless not supported)
-
Region: Thailand (Bangkok), South Korea (Seoul), UK (London), SAU (Riyadh - Partner Region), and UAE (Dubai) are not supported.
Procedure
The data archiving feature is enabled by default. You do not need to manually enable it. You can directly convert online databases to cold storage databases and vice versa.
Step 1: Convert an online database to a cold storage database
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Databases.
-
For the target database, in the Actions column, choose More > Convert Online Database to Cold Storage Database.
-
Click Ok and refresh the page. The database status changes from Running to Converting to Cold Storage.
Step 2: Convert a cold storage database to an online database
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Databases.
-
For the target database, in the Actions column, choose More > Convert Cold Storage Database to Online Database.
-
Click Ok and refresh the page. The database begins converting to an online database.
References
-
You can also use the API operation (ModifyDatabaseConfig) to convert between online databases and cold storage databases.
-
ApsaraDB RDS for SQL Server supports two storage types: ESSD and premium performance disk. For more information, see Storage types.
-
If your business fluctuates significantly with frequent peaks, you can enable the I/O burst feature for premium performance disks. This allows the IOPS of the disk to exceed the maximum IOPS limit during business peaks, providing higher I/O capabilities to meet sudden business demands.