Databases are not the only means of permanent data storage, they are simply the most common.
There are document / blogging mechanisms that do not use databases at all. When a page is created, modified or commented on by a static html file, created or modified. For example, Movable Type .
Similarly, you can have pure storage systems in memory, where if the system is turned off, data in memory is simply restored. Or the contents of the memory are flushed and then restored, and no database is involved. This is usually done on systems with extremely high throughput or requires extremely low (microsecond) latency.
Your question cannot be answered, because the answer to everything that you asked is "it depends", and you can probably make it work, but you do it.
I will say this: don't worry about performance until you really have a problem. Most of the performance problems that you encounter are likely to fall into the indexes and primary keys in the database.
PHP and MySQL are great choices.
cletus
source share