I have around 3000 entities (key-value) pairs added in firebase db for realtime.
Now I am trying to add more values from my flutter app, but its not adding(not showing). It was working fine with less number of values in db. Why is this happening with bulk data? What has to be solution?
Asked
Active
Viewed 410 times
0

Frank van Puffelen
- 565,676
- 79
- 828
- 807

Abhilasha
- 51
- 6
-
Is it not adding it via flutter, or are you talking via the web interface? – Ali Bdeir Jun 01 '20 at 22:43
-
Can you share the code and the response of the API? – Sanjay Sharma Jun 01 '20 at 22:48
-
Its just that I do not see in web browser. Code is working fine when node is small – Abhilasha Jun 02 '20 at 13:17
2 Answers
1
firebaser here
When there are more than a certain number of child nodes, or a certain amount of data, under a location, the Firebase console will stop showing updates in realtime. There is no way to change this behavior, aside from reducing the amount of data or number of child nodes, until the console switches to realtime mode again.
Note: this does not affect the clients/servers that are connected to the same location through the API. They will still be getting all updates in realtime.
Also see:

Frank van Puffelen
- 565,676
- 79
- 828
- 807
-
Yes, I tried to get update in app in realtime and I am able to fetch values. Its just browser that freezes fpr realtime. Thanks – Abhilasha Jun 02 '20 at 13:19
-
In same scenario I can see if i add 1 entry at firebase, it gets upload but if i tries to add multiple entries after a period of 2 seconds(when data is bulk already) , its not uploading. Why is so? Will that data be ever uploaded? – Abhilasha Jun 04 '20 at 22:07
-
Sorry, I'm not sure I understand. Can you explain step by step how to reproduce the behavior you're seeing? – Frank van Puffelen Jun 04 '20 at 23:18
-
In one of the node which has around 3k entities already, I have location update method in app from where I am making request to add a new entity and updating that after a lapse of 5 secs for around 20 minutes, but its not adding neither updating in db. It was working fine when had less values. What can be solution here? – Abhilasha Jun 05 '20 at 06:45
-
I changed rules playground to "set", it allowed to add data now. It was set as "read" automatically. What can be don to avoid this. – Abhilasha Jun 05 '20 at 10:35
-
The non-realtime mode of the console, does not in any way affect API calls to the database. If you're having a problem posting updates to the API, I'd recommend opening a new question for that, with the [minimal, complete/standalone code with which we can reproduce that problem](http://stackoverflow.com/help/mcve). – Frank van Puffelen Jun 05 '20 at 15:18
0
if you are NOT using FirebaseAuth then update your rules like // Not Safe
if you are Using FirebaseAuth then update your rules like // Safe

Arun R. Prajapati
- 2,654
- 1
- 14
- 14
-
These rules has to be same for realtime and firestore? I am using firebaseAuth – Abhilasha Jun 02 '20 at 13:20