This sounds like a good place to use the bsddb module which implements a persistant on-disk dictionary. Not sure about performance. Another option would be to create some sort of dictionary wrapper around (for example) MySql if such does not already exist. Dave LeBlanc