All Products
Search
Document Center

ApsaraDB for MongoDB:Storage types

Last Updated:Sep 20, 2024

ApsaraDB for MongoDB supports two storage types: Enterprise SSDs (ESSDs) and local SSDs. This topic describes the features of the two storage types and their differences.

Storage type description

Storage type

Description

ESSDs

Enterprise SSDs (ESSDs) are developed by Alibaba Cloud based on the next-generation distributed block storage architecture. ESSDs deliver ultra-high storage performance. ESSDs are integrated with 25 Gigabit Ethernet and remote direct memory access (RDMA) technologies. ESSDs can reduce one-way latencies and handle up to 1 million read and write requests at random per second. ESSDs are provided in three performance levels (PLs) as indicated on the ApsaraDB for MongoDB buy page:

  • ESSD PL1: This is the most basic PL of ESSDs.

  • ESSD PL2: A PL2 ESSD delivers IOPS and throughput that are approximately two times the IOPS and throughput delivered by a PL1 ESSD.

  • PL3 ESSD: A PL3 ESSD delivers IOPS that is up to 20 times the IOPS delivered by a PL1 ESSD. A PL3 ESSD also delivers throughput that is up to 11 times the throughput delivered by a PL1 ESSD. PL3 ESSDs are suitable for business scenarios in which highly concurrent requests must be handled with high I/O performance and at low read and write latencies.

Note

For more information about the performance differences of the preceding disk types, see ESSDs. The performance comparison items include capacity range, maximum IOPS per disk, and maximum throughput per disk.

ESSD AutoPL disks

ESSD AutoPL disks are compatible with all features of ESSDs, provide the same baseline performance as PL1 ESSDs, and deliver provisioned performance capabilities. This way, you can decouple the storage capacity of a disk from the performance of the disk to flexibly handle business fluctuations.

Note

For more information about the features, specifications, billing, scenarios, and configurations of ESSD AutoPL disks, see ESSD AutoPL disks.

Local SSDs

Local SSDs reside on the same physical host as the database engine that is run by your ApsaraDB for MongoDB instance. You can store data in local SSDs to reduce I/O latencies.

For more information about the performance differences of the preceding storage types, see Block storage performance. The performance comparison items include maximum capacity per disk, maximum IOPS, and maximum throughput.

Comparison among the performance of the preceding storage types

Item

ESSD

ESSD AutoPL disk

Local SSD

I/O performance

★★★★★

Provides low I/O latency and high I/O performance.

★★★★★

Provides low I/O latency and high I/O performance, and handles burst I/O.

★★★★★

Provides low I/O latency and high I/O performance.

Configuration flexibility

★★★★★

Provides various configuration options and allows you to separately scale up the storage. The storage cannot be scaled down.

★★★★★

Provides various configuration options and allows you to separately scale up the storage and provisioned performance. The storage cannot be scaled down.

★★★★

Provides various configuration options and allows you to scale up the disk storage but not scale down the storage. The disk storage that you can select varies based on the instance type.

Scaling duration

★★★★★

Allows you to scale the storage within a few minutes.

★★★★★

Allows you to scale the storage within a few minutes.

★★★

Requires a few hours to copy data when you scale up the storage.

Scale-out impact

  • Standalone instances: Transient disconnections occur during the scale-out process because instances are restarted.

  • Replica set and sharded cluster instances: free of transient disconnections.

  • Standalone instances: Transient disconnections occur during the scale-out process because instances are restarted.

  • Replica set and sharded cluster instances: free of transient disconnections.

Transient disconnections occur during the scale-out process.

Comparison among the prices of the preceding storage types

Important

The prices listed in the following table are for reference only. The actual price is subject to the bill displayed in the ApsaraDB for MongoDB console.

Storage type

Price

PL1 ESSDs

USD 0.33 per GB-month

PL2 ESSDs

USD 0.66 per GB-month

PL3 ESSDs

USD 1.32 per GB-month

ESSD AutoPL disks

Fees for ESSD AutoPL disks include storage fees and IOPS fees.

  • Storage fee: USD 0.33 per GB-month

  • Provisioned performance

    • The unit price of IOPS is USD 0.00000089 per hour in the following scenarios.

      • The storage capacity of each node is 500 GB to 1,000 GB and the provisioned IOPS ranges from 0 to 11,200.

      • The storage capacity of each node is 1,001 GB to 2,000 GB and the provisioned IOPS ranges from 0 to 19,200.

      • The storage capacity of each node is 2,001 GB to 32,768 GB and the provisioned IOPS ranges from 0 to 32,000.

    • The unit price of IOPS is USD 0.00000893 per hour in other scenarios.

Local SSDs

USD 0.33 per GB-month

The following examples show how to calculate storage fees:

  • If the storage type of an ApsaraDB for MongoDB instance is PL2 ESSD with the maximum throughput of 370 MB/s and the storage of the instance is 500 GB, the monthly price is USD 330 (500 GB × 0.66 GB per GB-month).

  • If the storage type of an ApsaraDB for MongoDB instance is ESSD AutoPL disks, the provisioned IOPS of the instance is 10,000 with the maximum throughput of 500 MB/s, and the storage of the instance is 500 GB, the monthly price is USD 171.408 (500 GB × USD 0.33 per GB-month + USD 0.00000089/IOPS/hour × 24 hours × 30 days × 10000).

View the storage type of an ApsaraDB for MongoDB instance

Log on to the ApsaraDB for MongoDB console. On the Basic Information page of an ApsaraDB for MongoDB instance, check Storage Type in the Specification Information section.