Aníbal Rivero
Aníbal Rivero

Reputation: 310

How can I remove automatic Google Cloud Firestore indexes?

I have a small web application that uses Firestore for the data. I am currently storing around 8 million objects.

The data size in the Firestore database is 10 times bigger than it is in "raw" format (json files).

Reading this wiki I came to the conclusion that there is a high chance that the automatic indexes are guilty of the humongous size of the database.

I have read the indexing documentation and it says how to create and remove custom indexes from the console, but I haven't find a way of removing automatic indexes.

Since I am only doing direct access to the objects, I don't need fields indexing at all.

Upvotes: 2

Views: 864

Answers (1)

John Doee
John Doee

Reputation: 145

During the Beta there is no way to remove automatic generated indexes in Firestore.

So far you are only able to manage composite indexes by yourself.

Source: A Google Firestore employee mentioned this as a part of an answer on another question on Stackoverflow. Though, I can't find the link to the post anymore.

Upvotes: 2

Related Questions