与 MongoDB 兼容的 Firestore 文档
与 MongoDB 兼容的 Firestore 是一项无服务器文档数据库服务,可最大限度地提高开发者工作效率,并且兼容 MongoDB 应用编程接口 (API)。
兼容 MongoDB 的 Firestore 由无服务器基础架构提供支持,读取性能达到数毫秒级别,可自动扩缩,具有高可用性,可集成到 Google Cloud集中式治理中,并采用按用量付费的定价模式。
了解详情
不确定哪种数据库方案适合您?请详细了解我们的数据库服务。
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-18。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[],[],null,["# Firestore with MongoDB compatibility documentation\n==================================================\n\n[Read product documentation](/firestore/mongodb-compatibility/docs/overview)\nFirestore with MongoDB compatibility is a serverless, document database service that\nmaximizes developer productivity and includes\nMongoDB Application Programming Interface (API) compatibility.\nFirestore with MongoDB compatibility is backed by a serverless infrastructure featuring single-digit milliseconds read\nperformance, automatic scaling, high availability, integration into Google Cloud\ncentralized governance, and pay-per-use pricing.\n\n[Learn more](/firestore/mongodb-compatibility/docs/overview)\n|\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\n\nNot sure what database option is right for you? Learn more about our\n[database services](/products/databases).\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Quickstart: Create a database and connect to it](/firestore/mongodb-compatibility/docs/create-and-query-database)\n\n-\n\n [Supported MongoDB data types, drivers, and features](/firestore/mongodb-compatibility/docs/supported-data-types-drivers)\n\n-\n\n [Supported features by MongoDB API version](/firestore/mongodb-compatibility/docs/supported-features-80)\n\n-\n\n [Create and manage databases](/firestore/mongodb-compatibility/docs/create-databases)\n\nfind_in_page\n\n### Reference\n\n-\n\n [API overview](/firestore/mongodb-compatibility/docs/apis)\n\n-\n\n [Query execution reference](/firestore/mongodb-compatibility/docs/query-explain-reference)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/firestore/enterprise/pricing)\n\n-\n\n [Pricing examples](/firestore/mongodb-compatibility/docs/pricing-examples)\n\n-\n\n [Storage size calculations](/firestore/mongodb-compatibility/docs/storage-size)\n\n-\n\n [Quotas and limits](/firestore/mongodb-compatibility/quotas)"]]