# How to Perform Large Deletes in the Realtime Database

DevFeed: [How to Perform Large Deletes in the Realtime Database](<https://devfeed.tech/articles/how-to-perform-large-deletes-in-the-realtime-database-16311.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2019/03/large-deletes-in-realtime-database>)

Author: Fred Zhang

Published: 2019-03-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Realtime Database](<https://devfeed.tech/topics/realtime-database.md>), [Firebase](<https://devfeed.tech/topics/firebase.md>), [Firebase CLI](<https://devfeed.tech/topics/firebase-cli.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firebase-cli](<https://devfeed.tech/tags/firebase-cli.md>), [function](<https://devfeed.tech/tags/function.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [realtime-database](<https://devfeed.tech/tags/realtime-database.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

## AI overview

Firebase introduces an efficient way to perform large deletes in Realtime Database. The Firebase CLI version 6.4.0 and newer detects large nodes and deletes them in chunks, while a write-size limit can prevent unexpectedly large deletes or writes. The article also discusses tombstones and asynchronous cleanup when consistency is required.

## Source excerpt

News, tutorials, and updates from the Firebase team.