This page describes Cloud Firestore editions and its key features. Cloud Firestore is available in the following editions:
Firestore Standard edition provides a broad suite of capabilities as a document database including fluent SDKs for a large number of programming languages, real-time and offline support, high availability in single and multi-region configurations, and a convenient serverless operation model with seamless autoscaling. This edition supports Firestore in Native mode using Firestore Core operations (basic reads, writes, and queries).
Firestore Enterprise edition provides a broad suite of capabilities and controls for developers as a document database. It features an advanced query engine supporting exhaustive query capabilities supporting exhaustive query capabilities, and all queries on Enterprise edition can now be executed, with the presence of indexes being optional. As result, indexing is fully customizable, and single field indexes are no longer created automatically. This edition supports two modes of operation that you select when creating a database:
Firestore in Native mode (Preview) with Core and Pipeline operations. The Firestore Core operations provide the standard document Create, Read, Update, and Delete (CRUD) functionality, along with built-in support for real-time listen queries and offline persistence. Firestore Pipeline operations provide hundreds of additional query capabilities. Examples include support for additional operators for aggregations, string matching, and refined filtering capabilities.
Firestore with MongoDB compatibility with MongoDB compatible operations. This mode enables developers to use existing MongoDB application code, drivers, tools, and the open-source ecosystem of MongoDB integrations with Cloud Firestore.
All operations in both modes run on a more advanced query engine, maximizing developer control by making indexing an optional step for applications trying to improve the performance of their queries.
Editions features
The following table summarizes the features available for each edition:
| Features | Standard edition | Enterprise edition |
| Query Engine | Standard - querying support only using Core operations. | Advanced - querying support using Core and Pipelines or MongoDB-compatible operations. |
| Supports Cloud Firestore in Native mode server-side, web, and mobile SDKs | Yes. Supported by Core operations. | Yes. Supported by Core and Pipeline operations. |
| Supports real-time and offline capabilities | Yes. Supported by Core operations. | Yes. Supported by Core operations only. |
| Supports Cloud Firestore with MongoDB compatibility | No | Yes |
| Indexing | Indexes are required for queries.
Indexes for individual fields are created automatically, while more complex queries rely on composite indexes or collection group indexes that must be manually configured. For aggregation queries like count(), sum(), and avg(), the cost is determined by the number of index entries read, with a minimum charge of one document read applied if zero index entries are scanned. |
Indexes are not required, and therefore optional for queries.
You define indexes as-needed. Enterprise edition also supports a broader range of index types, including non-sparse/sparse, and unique indexes. With Query Explain and Query Insights, you are able to identify queries that can benefit from an index, as indexes are no longer required. |
| Query and write performance and costs | With Query Explain, you can optimize queries with range and inequality filters on multiple fields in a single query.
There are metrics available in Query Insights, Query Explain, and Cloud Monitoring to provide deep insight into query execution. |
You're in full control of query and write performance, and can optimize performance using customizable indexing, enhanced monitoring, diagnostic tools, and new execution controls called Query Hints.
There are metrics available in Query Insights, Query Explain, and Cloud Monitoring to provide deep insight into query execution. |
| Pricing | Refer to pricing details | Refer to pricing details |
| Observability |
|
|
| Data protection |
|
|
| Encryption |
|
|
| Storage | Hybrid storage (SSD & HDD) | SSD |
| Committed Use Discounts | 20% for 1 year; 40% for 3 years | 20% for 1 year; 40% for 3 years |
What you need to do
If you haven't selected an edition for your Cloud Firestore database, it's automatically classified as a Standard edition with no changes required on your part. If you want to create a new Cloud Firestore Enterprise edition database , follow the steps outlined in Native mode or MongoDB compatibility mode.
Pricing
For information about Cloud Firestore editions pricing, see pricing pages for Enterprise edition and Standard edition.