Trivial Database Advice

I am writing an application that needs to store a key and several associated attributes. In other words in database speak and single table with 1 key and a few columns. MySQL is way overkill for what I need. I know I could use something like Json or XML but that means pretty much rolling my own. I am hoping there is something already around that would do what I want. I looked at gdbm but that does not seem to allow multiple attributes per key. TIA.

I’m not certain that a disk-based DB fits your specific use case. But as for an ultra light-weight solution that could be later transitioned into something like MySQL or PostgreSQL if needed, you may want to look into sqlite3; assuming you haven’t already.

After some thought I agree. I am using an XML file instead. Thanks.