Search code examples
firebasegoogle-cloud-firestorecloud

Cloud Firestore Storage - How to view billing breakdown?


I'm currently trying to investigate our costing for Firebase Cloud Firestore, and looking for a cost breakdown for "Cloud Firestore Storage"

This is what I see on the GCP console under "Billing" after grouping by SKU

GCP Billing Console

I'm wondering about a couple things here:

  • Does this breakdown include storage buckets that were created for the firebase project?
  • Is there any way to delve deeper on what this cost is coming from? Any way to see the total size of specific collections or collection groups?

Thanks so much!

I've tried a few things:

  • viewing the AppEngine quotas--these were not informative
  • viewing the Firebase Console--this only reports on reads/writes/deletes

Solution

  • The billing item (also know as a SKU) you're showing is "Cloud Firestore Storage", so this is the storage space that is being used by your data in the Firestore database - and does not include any storage used by the Cloud Storage buckets you use to store files.


    While it is fully documentation how the storage size is calculated, there unfortunately is no page in the dashboard where you can see the breakdown for your actual database.

    It's a very valid (and common) feature request, and it the team is actively working on enhancing the so-called observability of Firestore. Id' recommend filing a feature request with the Firebase support team or on firebase.uservoice.com to chime in and keep monitoring the Firestore release notes for relevant changes.