MongoDB Space requirements
Hey, i’m making a new Global rpg bot, with avatar theme. I saving a lot of things, like items, xp, levels, pet xp+level, balance and etc.. And i’m thinking about how many GBs do I need for this bot. Any recommendations? (For mongodb atlas)
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Less than 1
This really isnt a discord.js question though
Its impossible to actually answer without knowing the scale of the bot, servers/users etc
mongodb stores data in bson, you can check the bson spec which will tell you how many bytes each type uses (approximately, since some objects will have a bit more bytes, like the byte to store the data type) https://bsonspec.org/spec.html
from there you can make some calculations about how much an average user could "weight", given your schema
as monbrey mentioned it's not really djs related though and it's more of a mongo question, I suggest you ask further in #other-js-ts