Ever considered a database? They're actually designed for that sort of functionality, where as a hashtable, well... It's sort of inefficient.