Maintained with ☕️ by
IcePanel logo

Amazon DocumentDB (with MongoDB compatibility) now supports Partial Indexes

Share

Services

[Amazon DocumentDB (with MongoDB compatibility)](https://aws.amazon.com/documentdb/) announces support for partial indexes. With partial indexes, developers can create an index on a subset of documents that meet a specific filter criterion. By indexing a subset of data, partial indexes can reduce query times and improve performance during index creation and management. Partial indexes require less storage and are more likely to fit in instance memory. Amazon DocumentDB already supports unique, sparse and TTL indexing properties, and with the addition of partial index support, customers can now take advantage of an even more efficient way to query data, manage memory and storage, and improve performance. For example, a query for 'In Progress' orders in an eCommerce application can now use a partial index that only includes documents with the status as 'In Progress' from the Orders collection. Partial Indexes are currently supported in Amazon DocumentDB 5.0 instance-based clusters in all [regions](https://docs.aws.amazon.com/documentdb/latest/developerguide/regions-and-azs.html#regions-and-azs-availability) where Amazon DocumentDB is available. There are no upfront commitments or additional costs to use partial index, and you only pay for the resulting compute, storage, and IO usage. To get started, please refer to [Partial Index Developer Guide page](https://docs.aws.amazon.com/documentdb/latest/developerguide/partial-index.html).