Deleting data doesn't reduce the cost in serverless instance

So the amount of data grows, and the cost per query grows as well, since the index increases…
The problem I’m facing is that even when I deleted 90% of the data, the total read units I’m been billed stayed the same…

The index size didn’t decrease, so that might be the reason, however, I don see a way how to decrease it… (the main problem is with _id index, which I can’t even drop and recreate)

I’m running a serverless instance, and a compact comment doesn’t seem to be available there:
‘CMD_NOT_ALLOWED: compact’,

What to do?

Hi @Juraj_Bezdek,

The problem I’m facing is that even when I deleted 90% of the data, the total read units I’m been billed stayed the same…

Please contact the Atlas support team via the in-app chat regarding this issue as they would have insight into the particular cluster / project. Please provide them details including when the delete was performed (including the date & time + timezone).

Regards,
Jason

1 Like