Cosmos DB Mongo Optimize cost reads writes
Hi, I migrated from mongo db into cosmos db and I have a trouble with cost.
Detail information as below:
- StorageSize 300GB
- Collections 200
- Object 1500M
- DataSize 1100GB
- Indexes 400
- IndexSize 60GB
I started migrate db one week ago and tested service by myself, with a few request by manual. However, estimate cost show that I spent more than 15000$.
Because query run very slow, so I set 150k RU per second. This is main reason for out of budget to migrate DB.
I found one url about using reads connection. Currently, my service written by php, in source code, I didn't separate read-write connection. Could you give me some advice for this problem? We need to configure read-write connection or not?
https://video2.skills-academy.com/en-us/azure/cosmos-db/optimize-cost-reads-writes
And this price for service is too expensive for only migrate data progress. For migrate data from old mongo db into cosmos like this which number of RU I could set for my database, just for I could run my service as normally with only one user. to scale, I will calculate it later.