原生模式 Firestore 是一个 NoSQL 文档数据库,以可自动扩缩、性能出色和易于进行应用开发为设计目标。虽然 Firestore 界面具有许多与传统数据库相同的功能,但作为 NoSQL 数据库,它与传统数据库在描述数据对象间关系的方式方面有所不同。
了解详情
不确定哪种数据库方案适合您?请详细了解我们的数据库服务。
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
使用场景
使用场景
Firestore:面向应用开发者的 NoSQL 无服务器数据库
Firestore 是一种无服务器 NoSQL 数据库,具有实时通知功能,可与 Firebase 生态系统搭配使用,从而大幅简化常见的应用开发难题,同时让应用开发者能够专注于其业务逻辑和用户体验。此白皮书介绍了 Firestore 架构。
NoSQL
无服务器
实时通知
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-25。
[[["易于理解","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-25。"],[],[],null,["# Firestore in Native mode documentation\n======================================\n\n[Read product documentation](/firestore/native/docs/overview)\nFirestore in Native mode is a NoSQL document database built for automatic scaling, high\nperformance, and ease of application development. While the\nFirestore interface has many of the same features as traditional\ndatabases, as a NoSQL database it differs from them in the way it describes\nrelationships between data objects.\n\n| **Key Point:** Firestore now has MongoDB API compatibility. See [Firestore with MongoDB compatibility](/firestore/mongodb-compatibility/docs?).\n[Learn more](/firestore/native/docs/data-model)\n\n\u003cbr /\u003e\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 Firestore database by using a server client library](/firestore/native/docs/create-database-server-client-library)\n\n-\n\n [Quickstart: Create a Firestore database by using a web or mobile client library](/firestore/native/docs/create-database-web-mobile-client-library)\n\n-\n\n [Querying and filtering data](/firestore/native/docs/query-data/queries)\n\n-\n\n [Adding data](/firestore/native/docs/manage-data/add-data)\n\n-\n\n [Getting data](/firestore/native/docs/query-data/get-data)\n\n-\n\n [Exporting and importing data](/firestore/native/docs/manage-data/export-import)\n\n-\n\n [Deleting data](/firestore/native/docs/manage-data/delete-data)\n\n-\n\n [Transactions and batched writes](/firestore/native/docs/manage-data/transactions)\n\n-\n\n [Getting started with security rules](/firestore/native/docs/security/get-started)\n\n- \nfind_in_page\n\n### Reference\n\n-\n\n [REST API](/firestore/docs/reference/rest)\n\n-\n\n [Getting started with Firebase](/firestore/docs/client/get-firebase)\n\n-\n\n [RPC API](/firestore/docs/reference/rpc)\n\n- \ninfo\n\n### Resources\n\n-\n\n [Pricing](/firestore/pricing)\n\n-\n\n [Quotas and limits](/firestore/quotas)\n\n-\n\n [Release notes](/firestore/docs/release-notes)\n\n-\n\n [Getting support](/firestore/docs/getting-support)\n\n- \n\nRelated resources\n-----------------\n\nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Use case \nUse cases\n\n### Firestore: The NoSQL Serverless Database for the Application Developer\n\n\nFirestore is a NoSQL serverless database with real-time notification\ncapability, and together with the Firebase ecosystem it greatly simplifies common app\ndevelopment challenges while letting the application developer focus primarily on their\nbusiness logic and user experience. This paper presents the Firestore architecture.\n\nNoSQL Serverless Real-time notification\n\n\u003cbr /\u003e\n\n[Learn more](https://research.google/pubs/pub52292/)\n\nRelated videos\n--------------"]]