[DiscordArchive] I mean does the client load the entire table data in the ram? what did you mean by loaded on startup
[DiscordArchive] I mean does the client load the entire table data in the ram? what did you mean by loaded on startup
Archived author: lucian_apetrei • Posted: 2025-06-11T11:07:50.599000+00:00
Original source
I mean does the client load the entire table data in the ram? what did you mean by loaded on startup and never again?
Archived author: lucian_apetrei • Posted: 2025-06-11T11:08:07.610000+00:00
Original source
Cause I didn't get that.
Archived author: Rymercyble • Posted: 2025-06-11T11:08:35.676000+00:00
Original source
server loads most of data on startup
Archived author: lucian_apetrei • Posted: 2025-06-11T11:08:39.241000+00:00
Original source
Was aiming to reply to <@251803844307189761>
Archived author: Rymercyble • Posted: 2025-06-11T11:09:16.973000+00:00
Original source
i didnt check if all tables and entire tables so cant say for sure but generally yes it just loads it and never again
Archived author: lucian_apetrei • Posted: 2025-06-11T11:09:53.916000+00:00
Original source
So I guess to both of you then., does the server load the table data in ram, what do you mean by that? can give more details? do you mean that mysql indexes the data, what did you mean?
Archived author: Rymercyble • Posted: 2025-06-11T11:11:06.745000+00:00
Original source
mysql is just storage...server starts queries DB for all its data and keeps it in it (in server process so in ram)
Archived author: lucian_apetrei • Posted: 2025-06-11T11:13:33.126000+00:00
Original source
yes I know how it works, but I still don't get what am I supposed to learn here? What am I missing?
ScyllaDB works in a similar way to mysql, it's not a relational database, but they all work with the RAM, so I don't understand why that was brought up.
My point is this, for a query that mysql can finish let's say in 1s, 500ms or even 100ms, scylla can do it in 10ms or less, multiply this with number of players and you improve efficiency by orders of magnitude.
Archived author: Rymercyble • Posted: 2025-06-11T11:14:00.415000+00:00
Original source
but that will mean absolutely nothing when queries are executed only once