A database is a special kind of structured, persistent, global variable with concurrent access over the network.
You write data to a cell of a row of a table in a schema in the server, and it is being kept around for you, with a lifetime longer than the runtime of your program. The database takes care of making sure of ordering access to that data, so there is a clearly defined series of changes to the data – locking, transactions, isolation are things that make databases popular.
And so one gets to have a lot of database schemas in server instances, and they grow. Sometimes that becomes a problem.
Databases don’t scale, even when they scale
These days, the MySQL server can easily utilize the resources even of very large servers. At work, we have taken instances easily up to 400.000 queries per …
[Read more]