Dgraph uses a lot of disk space (compared to backup)

Thanks for the answer.

I’m using the JS SDK in NodeJS (v21.3.1). Some mutation are quite complex (upserts) if that helps. Do you need more details?

Can badger flatten only be called on downtime? Any risks here?

Appreciate your help.