# Are there any limits of Firebase Realtime Database?

**URL:** <https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389>\
**Category:** Questions about Thunkable X\
**Tags:** firebase\
**Created:** [April 29, 2021, 5:10pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389 "2021-04-29T17:10:51Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [April 29, 2021, 5:10pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/1 "2021-04-29T17:10:51Z")

</div>

Hi,

I’ve just started using Firebase with my app, and I am wondering if there are any limits to it : I just want to particularly know about # of project buckets & items…

I searched up on the internet, but I could not find relevant docs of any limits of realtime database…

Please help me If you know anything 🙂

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 29, 2021, 5:12pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/2 "2021-04-29T17:12:45Z")

</div>

> **[Firebase Pricing](https://firebase.google.com/pricing)**
>
> Get started with Firebase for free, and scale worldwide to millions of users, paying only for what you use.

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [April 29, 2021, 5:13pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/3 "2021-04-29T17:13:43Z")

</div>

you can see the limits/pricing here:

> **[Firebase Pricing](https://firebase.google.com/pricing)**
>
> Get started with Firebase for free, and scale worldwide to millions of users, paying only for what you use.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [April 29, 2021, 5:15pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/4 "2021-04-29T17:15:20Z")

</div>

Thanks, @sketch & @catsarisky!

I found this snap :

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/9/3951bc29f759d2b86e95c0bb8763638fc0b4cdec.png)

What do they mean by GB stored & GB downloaded? I get the stored but what’s **downloaded**?

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 29, 2021, 5:16pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/5 "2021-04-29T17:16:56Z")

</div>

Stored is the size of your actual database. Downloaded would be downloads of data into your app. Or at least, that’s my best guess. 🙂

If you go into Usage and Billing on your firebase’s project page, you can see something like this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/c/cc27320479a87ad7d893fb18852711c485e3efc1.png)

I’m not too worried about that project getting over the limit any time soon. 😉

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [April 29, 2021, 5:20pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/6 "2021-04-29T17:20:46Z")

</div>

download is how much the firebase server total download a day.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 29, 2021, 8:51pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/7 "2021-04-29T20:51:02Z")

</div>

Firebase has very generous limits in the free package and the only issue is the number of times your app is getting data in a month which is the **download** limit.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 30, 2021, 12:30am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/8 "2021-04-30T00:30:00Z")

</div>

Fill it up and query millions of records in under 1 second. I don’t think there’s a limit to bucket depth.

Pricing s on point if you get the blaze plan

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [April 30, 2021, 4:20am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/9 "2021-04-30T04:20:36Z")

</div>

Thanks, @muneer & @jared!

I am still confused about the **download limit** - does downloading data into app mean the data I retrieve from DB? Do the item `keys` count in storing size?

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/0/b0806418445a56e1d9b096e0a20fa44deee7661f.png)

* * *

Also, If I continue over the free plan & I am about to reach my limits, I can upgrade for pay as I go mode? Like $1/GB, etc.

Thanks!

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2021, 7:04am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/10 "2021-04-30T07:04:00Z")

</div>

The **downloaded** limit is all data transmitted from your FB to your app. Google will notify you when you are about to reach your limit.

1 byte = 1 character

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [April 30, 2021, 7:09am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/11 "2021-04-30T07:09:33Z")

</div>

Thanks, @muneer !

I get it now, Storage = size of my DB, and Downloads = the amount I retrieved. Thanks!

Also, do you know whether the `keys` of the items are considered or not in the bytes? Like the key `customer` has 8 characters, thus 8 bytes. And its value is let’s say `kartik`, which is 6 char. = 6 bytes.  
So, if I retrieve the item `customer`, will it be considered as `8bytes + 6bytes = 14bytes` **OR** just the size of the value, which is 6bytes?

Thanks!

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2021, 7:19am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/12 "2021-04-30T07:19:16Z")

</div>

Yes, **keys** are included and all the other stuff around them such as “:” that separate the key from the value and “,” that separate one key-value pair for the other.

But these are all bytes and you would not need to worry about them. The limit given is already generous.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [April 30, 2021, 7:21am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/13 "2021-04-30T07:21:07Z")

</div>

Thanks a lot for your help! Well I am working on a big app, so I am trying to reduce the storage and retrievals as much as I can, so my DB doesn’t slow down 😄

Thanks a lot! 😀 Have a great day 👋

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2021, 7:25am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/14 "2021-04-30T07:25:04Z")

</div>

A good strategy is to retrieve a big **chunk** of data at once and save that as an app variable and then manipulate that data in the app instead of querying the database every now and then.

Of course this is useful for **static** or **slow changing** data. It will not be proper for dynamic ones.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [April 30, 2021, 7:26am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/15 "2021-04-30T07:26:59Z")

</div>

Yes, That’s exactly what I am building. I have almost completed my code model around this idea 🙂

Thankfully, I do not have any dynamic/fast-changing data - so this works just perfect for me 😀

Thanks!

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2021, 7:28am UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/16 "2021-04-30T07:28:45Z")

</div>

👍

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/are-there-any-limits-of-firebase-realtime-database/1253389/17 "2024-11-08T13:22:52Z")

</div>


