Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to check for Firebase Realtime Database Location (US, EU, or Asia)

I'm a developer in Australia and and I'm using the Firebase Realtime database for a project on Android and iOS.

Customers are complaining about lag and delays, especially when logging-in, and I'm trying to find out if any Firebase processes are by default on US servers, but can be moved to Asia to improve performance.

When I check my Google Cloud Console, the default Storage Bucket is set up as the US, but I cannot find any information about the Firebase Realtime Database.

like image 363
DrZaphod Avatar asked Sep 05 '16 03:09

DrZaphod


People also ask

How do I change my Firebase Realtime Database region?

You can't change a location of a existing database. You would need to migrate it manually to a new one that you setup to the location you want. The migration is very easy. Just export the old database into a json file and import it to the new one.

How do I check my Firebase Realtime Database?

To see your current Realtime Database connections and data usage, check the Usage tab in the Firebase console. You can check usage over the current billing period, the last 30 days, or the last 24 hours.

Is Firebase multi-region?

You can select either a multi-region location or a regional location as your default GCP resource location.

Where is the database stored in Firebase?

You can find the location of your database as the bottom of the data viewer in the Firebase console, as also shown in the screenshot in Jürgen's answer. All Firebase Databases are hosted in the central US.


2 Answers

Update: as of late 2020 Firebase Realtime Database instances can be in different locations. You can find the location of your database as the bottom of the data viewer in the Firebase console, as also shown in the screenshot in Jürgen's answer.

All Firebase Databases are hosted in the central US. There is no way to change this at the moment.

like image 80
Frank van Puffelen Avatar answered Oct 26 '22 15:10

Frank van Puffelen


When you open the RTDB console you can see it at the bottom as indicated in the image. This feature is currently in a beta state. https://firebase.google.com/docs/projects/locations?authuser=0#rtdb-locations

enter image description here

like image 42
Jürgen Brandstetter Avatar answered Oct 26 '22 15:10

Jürgen Brandstetter