Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Chỉ áp dụng cho phiên bản Cloud Firestore Enterprise.
Cloud Firestore tương thích với MongoDB, cho phép nhà phát triển sử dụng mã ứng dụng, trình điều khiển, công cụ MongoDB hiện có và hệ sinh thái nguồn mở của các hoạt động tích hợp MongoDB với Cloud Firestore.
Cloud Firestore cung cấp một dịch vụ cơ sở dữ liệu dạng tài liệu không máy chủ khác biệt, có tính năng sao chép nhiều khu vực với độ nhất quán cao, khả năng mở rộng gần như không giới hạn, khả năng hoạt động cao hàng đầu trong ngành với SLA lên đến 99, 999% và hiệu suất đọc chỉ tính bằng một chữ số mili giây.
Cloud Firestore có khả năng tương thích với MongoDB và được cung cấp trong phiên bản Enterprise.
Các khả năng chính
Cloud Firestore có khả năng tương thích với MongoDB và cung cấp một số chức năng chính:
Điểm khác biệt
Nội dung mô tả
Khả năng tương thích với MongoDB
Cloud Firestore cung cấp một API tương thích với MongoDB, cho phép bạn sử dụng Cloud Firestore làm cơ sở dữ liệu cho các ứng dụng MongoDB hiện có.
Không cần máy chủ
Cloud Firestore sử dụng mô hình trả tiền theo mức sử dụng. Cloud Firestorekhông yêu cầu bạn phải chuẩn bị trước bất kỳ tài nguyên nào và tự động điều chỉnh quy mô để phù hợp với tải của bạn.
Quy mô gần như không giới hạn
Cloud Firestore có thể mở rộng liền mạch khả năng tính toán và lưu trữ theo yêu cầu mà không cần định cấu hình dung lượng, phân đoạn hoặc cung cấp bộ nhớ và I/O.
Tính sẵn sàng cao hàng đầu trong ngành
Tất cả cơ sở dữ liệu Cloud Firestore đều có khả năng hoạt động cao, với khả năng hoạt động là 99,99% đối với các hoạt động triển khai theo khu vực và 99,999% đối với các hoạt động triển khai trên nhiều khu vực.
Cloud Firestore có tính năng sao chép dữ liệu tự động trên nhiều khu vực, các truy vấn nhất quán cao, các thao tác theo lô nguyên tử và hỗ trợ giao dịch.
Độ trễ đọc chỉ trong một đơn vị mili giây
Cloud Firestore cung cấp độ trễ đọc chỉ trong một đơn vị mili giây.
Bảo mật và giám sát cấp doanh nghiệp
Bảo mật Cloud Firestore bằng chế độ quản trị Google Cloud tập trung.
Tăng cường khả năng hiển thị và đơn giản hoá việc quản lý dàn cơ sở dữ liệu Cloud Firestore bằng Database Center tích hợp của chúng tôi. Hưởng lợi từ chế độ xem nhóm thiết bị hợp nhất và hoạt động quản lý đơn giản thông qua chế độ kiểm soát tập trung và sự hỗ trợ của AI.
Tính năng này hoạt động như thế nào?
Cloud Firestore là một cơ sở dữ liệu tài liệu NoSQL ưu tiên đám mây, có khả năng tương thích với MongoDB.
Theo mô hình dữ liệu tương thích Cloud Firestore với MongoDB, bạn lưu trữ dữ liệu trong các tài liệu có chứa các trường liên kết đến các giá trị. Các tài liệu này được lưu trữ trong các bộ sưu tập. Đây là những vùng chứa cho tài liệu mà bạn có thể dùng để sắp xếp dữ liệu và tạo truy vấn. Tài liệu hỗ trợ nhiều loại dữ liệu, từ chuỗi và số đến các đối tượng phức tạp, được nhúng.
Ngoài ra, việc truy vấn trong Cloud Firestore có tính biểu đạt cao, hiệu quả và linh hoạt. Bạn có thể sử dụng trình điều khiển MongoDB tiêu chuẩn hoặc Ngôn ngữ truy vấn MongoDB (MQL). Bạn có thể tạo các truy vấn nông để truy xuất dữ liệu ở cấp tài liệu mà không cần truy xuất toàn bộ tập hợp, đồng thời thêm tính năng sắp xếp, lọc và giới hạn vào các truy vấn hoặc con trỏ để phân trang kết quả.
Cuối cùng, Cloud Firestore tương thích với MongoDB được tích hợp đầy đủ với các dịch vụ quản trị Google Cloud như mô tả trong phần Bảo mật và quản lý quyền truy cập
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-09-03 UTC."],[],[],null,["\u003cbr /\u003e\n\n\n|--------------------------------------------------------|\n| *Relevant to Cloud Firestore Enterprise edition only.* |\n\n\u003cbr /\u003e\n\nCloud Firestore with MongoDB compatibility enables developers to use existing MongoDB\napplication code, drivers, tools, and the open-source ecosystem of MongoDB\nintegrations with Cloud Firestore.\n\nCloud Firestore offers a differentiated serverless document database service,\nfeaturing multi-region replication with strong consistency, virtually unlimited\nscalability, industry-leading high availability of up to 99.999% SLA, and\nsingle-digit milliseconds read performance.\n\nCloud Firestore with MongoDB compatibility is available as part of the\n[Enterprise edition](/docs/firestore/editions).\n\nKey Capabilities\n\nCloud Firestore with MongoDB compatibility offers a number of key capabilities:\n\n| **Differentiator** | **Description** |\n|----------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **MongoDB compatibility** | Cloud Firestore provides a MongoDB compatible API allowing you to use Cloud Firestore as the database for your existing MongoDB applications. |\n| **Serverless** | Cloud Firestore uses a pay-per-use model. Cloud Firestore does not require any pre-provisioning of resources and auto scales to match your load. |\n| **Virtually unlimited scale** | Cloud Firestore seamlessly scales compute and storage on-demand without the need to configure capacity, sharding or provision storage \\& I/O. |\n| **Industry-leading High Availability** | All Cloud Firestore databases offer high availability, with 99.99% availability for regional and 99.999% availability for multi-regional deployments. \u003cbr /\u003e Cloud Firestore has automatic multi-region data replication, strongly-consistent queries, atomic batch operations, and transaction support. |\n| **Single digit milliseconds read latency** | Cloud Firestore offers single digit millisecond read latency. |\n| **Enterprise-grade security and monitoring** | Secure Cloud Firestore with centralized Google Cloud governance. Achieve enhanced visibility and simplified management of your Cloud Firestore database fleet with our integrated Database Center. Benefit from a unified fleet view and simplified management through centralized control and AI assistance. |\n\nHow does it work?\n\nCloud Firestore is a cloud-first, NoSQL document database offering MongoDB\ncompatibility.\n\nFollowing the Cloud Firestore with MongoDB compatibility data model, you store data in documents that\ncontain fields mapping to values. These documents are stored in collections,\nwhich are containers for your documents that you can use to organize your data\nand build queries. Documents support many different [data types](/docs/firestore/enterprise/supported-data-types-drivers),\nfrom strings and numbers, to complex, embedded objects.\n\nAdditionally, querying in Cloud Firestore is expressive, efficient, and\nflexible. You can use standard MongoDB driver or the MongoDB Query Language\n(MQL). You can create shallow queries to retrieve data at the document level\nwithout needing to retrieve the entire collection, and add sorting, filtering,\nand limits to your queries or cursors to paginate your results.\n\nFinally, Cloud Firestore with MongoDB compatibility is fully integrated with Google Cloud governance\nservices as described in [Security and access management](/docs/firestore/enterprise/security-access-management)\n\nWhat's next\n\n- [Get started with Cloud Firestore with MongoDB compatibility](/docs/firestore/enterprise/create-and-query-database)"]]