تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ينطبق ذلك على إصدار Cloud Firestore Enterprise فقط.
توضّح هذه الصفحة حصص الطلبات وحدودها في Cloud Firestore المتوافق مع MongoDB.
استخدام الفئة المجانية
توفّر Cloud Firestore المتوافقة مع MongoDB فئة مجانية تتيح لك بدء استخدام Cloud Firestore المتوافقة مع MongoDB بدون أي تكلفة. يتم إدراج مبالغ الطبقة المجانية في الجدول التالي.
يتم تطبيق مبالغ المستوى المجاني يوميًا وإعادة ضبطها في منتصف الليل بتوقيت المحيط الهادئ.
تنطبق الطبقة المجانية على قاعدة بيانات واحدة فقط متوافقة مع MongoDB لكل مشروع في Cloud Firestore.
ستحصل قاعدة البيانات الأولى التي يتم إنشاؤها في مشروع بدون قاعدة بيانات ضمن الطبقة المجانية على الطبقة المجانية. إذا تم حذف قاعدة البيانات التي تم تطبيق الفئة المجانية عليها، سيتم تطبيق الفئة المجانية على قاعدة البيانات التالية التي يتم إنشاؤها.
الفئة المجانية
الحصة
البيانات المخزّنة
1 غيغابايت
وحدات القراءة
50,000 في اليوم
كتابة الوحدات
40,000 في اليوم
نقل البيانات الصادرة
10 غيغابايت في الشهر
لا يشمل الاستخدام المجاني العمليات والميزات التالية.
يجب تفعيل الفوترة لاستخدام الميزات التالية:
عمليات الحذف المُدارة (مدة البقاء)
الاحتفاظ بنسخة احتياطية من البيانات
عمليات الاستعادة
لمزيد من المعلومات حول كيفية فوترة هذه الميزات، يُرجى الاطّلاع على أسعار مساحة التخزين.
الحدود العادية
تعرض الجداول التالية الحدود التي تنطبق على Cloud Firestore المتوافق مع MongoDB. هذه حدود قصوى ثابتة ما لم يُذكر خلاف ذلك.
لا يمكن أن يبدأ بـ `system.` ولا يمكن أن يحتوي على `.system.`.
قيود على أرقام تعريف المستندات (_id)
يجب أن يكون المستند _id (الحقل الأعلى مستوى) من النوع ObjectId أو String أو عدد صحيح 64 بت أو عدد صحيح 32 بت أو Double أو Binary. لا تتوافق مع أنواع BSON الأخرى.
يجب ألا يزيد حجمها عن 1,500 بايت
بالنسبة إلى معرّفات السلسلة:
يجب أن تكون أحرف UTF-8 صالحة
لا يمكن أن تكون السلسلة فارغة ("")
لا يمكن مطابقة التعبير العادي __.*__
بالنسبة إلى أرقام التعريف الصحيحة 64 بت، لا يتوافق النظام مع القيمة 0 (0L) ذات 64 بت.
الحد الأقصى لحجم المستند
4 ميغابايت
القيود المفروضة على أسماء الحقول
يجب أن تكون أحرف UTF-8 صالحة
لا يمكن أن تكون السلسلة فارغة ("")
لا يمكن مطابقة التعبير العادي __.*__
الحد الأقصى لحجم اسم الحقل
1,500 بايت
الحد الأقصى لحجم مسار الحقل
1,500 بايت
الحد الأقصى لحجم قيمة الحقل
4 ميبيبايت - 89 بايت
الحدّ الأقصى لعمق الحقول في خريطة أو مصفوفة
20
تضيف حقول الخريطة والمصفوفة مستوى واحدًا إلى العمق الإجمالي للعنصر. على سبيل المثال، يحتوي العنصر التالي على إجمالي عمق يبلغ ثلاثة مستويات:
تاريخ التعديل الأخير: 2025-09-05 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-09-05 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["\u003cbr /\u003e\n\n\n|--------------------------------------------------------|\n| *Relevant to Cloud Firestore Enterprise edition only.* |\n\n\u003cbr /\u003e\n\nThis page describes the request quotas and limits for Cloud Firestore with MongoDB compatibility.\n\nFree tier usage\n\nCloud Firestore with MongoDB compatibility offers a free tier that lets you get started with\nCloud Firestore with MongoDB compatibility at no cost. The free tier amounts are listed in the following\ntable.\n\nFree tier amounts are applied daily and reset at midnight Pacific time.\n\nThe free tier applies to only one Cloud Firestore with MongoDB compatibility database per project.\nThe first database that is created in a project without a free tier database\nwill get the free tier. If the database with the free tier applied is deleted,\nthe next database created will receive the free tier.\n\n\u003cbr /\u003e\n\n| Free tier | Quota |\n|------------------------|------------------|\n| Stored data | 1 GiB |\n| Read units | 50,000 per day |\n| Write units | 40,000 per day |\n| Outbound data transfer | 10 GiB per month |\n\n\u003cbr /\u003e\n\nThe following operations and features don't include free usage.\nYou must [enable billing](https://cloud.google.com/billing/docs/how-to/modify-project) to use these features:\n\n- Managed deletes (TTL)\n- Backup data\n- Restore operations\n\nFor more information about how these features are billed, see\n[Storage pricing](https://cloud.google.com/firestore/enterprise/pricing#storage-size#storage-size).\n\nStandard limits\n\nThe following tables show the limits that apply to\nCloud Firestore with MongoDB compatibility. These are hard limits unless otherwise noted.\n\nDatabases\n\n| Limit | Details |\n|--------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Maximum number of databases per project | 100 [Contact support](https://cloud.google.com/support-hub) to request an increase to this limit. |\n| Maximum number of [customer-managed encryption keys (CMEK) databases](/docs/firestore/enterprise/cmek) per project | 0 By default the quota is 0 because this feature is behind an allowlist. You can request to increase the quota by filling in [the CMEK access request form](https://docs.google.com/forms/d/e/1FAIpQLSfKs8wJf4IXu1NizvfyU2vT59JDbdPvkehMVZ2ab5l_aDLIIA/viewform?resourcekey=0-O15dlRFvA0JIDmh6VFUEcA). |\n\nCollections, documents, and fields\n\n| Limit | Details |\n|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Constraints on collection names | - Must be valid UTF-8 characters - Must be no longer than 1,500 bytes - Can't match the regular expression `__.*__` - Can't contain `$` - Can't be the empty string (`\"\"`) - Can't contain the null character - Can't begin with \\`system.\\` and can't contain \\`.system.\\`. |\n| Constraints on document IDs (`_id`) | - Document `_id` (top-level field) must be an ObjectId, String, 64-bit integer, 32-bit integer, Double, or Binary. Other BSON types are not supported. - Must be no longer than 1,500 bytes - For String IDs: - Must be valid UTF-8 characters - Can't be the empty string (`\"\"`) - Can't match the regular expression `__.*__` - For 64-bit integer IDs, 64-bit 0 (0L) is not supported. |\n| Maximum size for a document | 4 MiB |\n| Constraints on field names | - Must be valid UTF-8 characters - Can't be the empty string (`\"\"`) - Can't match the regular expression `__.*__` |\n| Maximum size of a field name | 1,500 bytes |\n| Maximum size of a field path | 1,500 bytes |\n| Maximum size of a field value | 4 MiB - 89 bytes |\n| Maximum depth of fields in a map or array | 20 Map and array fields add one level to the overall depth of an object. For example, the following object has a total depth of three levels: ``` { nested_object: { #depth 1 nested_array: [ #depth 2 { foo: \"bar\" #depth 3 } ] } } ``` |\n\nReads, writes, and transactions\n\n| Limit | Details |\n|------------------------------|----------------------------------------------------|\n| Memory limit for a query | 128 MiB |\n| Time limit for a transaction | 270 seconds, with a 60-second idle expiration time |\n\nIndexes\n\n| Limit | Details |\n|--------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| Maximum number of indexes for a database | 1000 [Contact support](https://cloud.google.com/support-hub) to request an increase to this limit. |\n| Maximum number of index entries for each document | 40,000 |\n| Maximum number of fields in an index | 100 |\n| Maximum size of an index entry | 7.5 KiB |\n| Maximum sum of the sizes of a document's index entries | 8 MiB |\n\nTime to live (TTL)\n\n| Limit | Details |\n|-----------------------------------------------------|---------|\n| Maximum number of TTL configurations for a database | 500 |"]]