It might be a little off topic and not an answer you are looking for. But there is a dll which lets you use sqlite dbs in mirc. It's really fast and great for things with tens of thousands of entries.