in reply to Search engine
I think that you're about to find the limits of using a dbm file for stuff like this.
You should seriously consider using a relational database.