This reminds me that you can do a lot without having to setup an RDBMS. Take Hacker News for instance. However, the OP uses a file as a table, whereas HN uses unix directories as tables and uses files as table records, afaik.
I'd really quite like the option of having something like CouchDB that kept documents as separate files but still allowed efficient querying.