I have a webapp development problem that I\'ve developed one solution for, but am trying to find other ideas that might get around some performance issues I\'m seeing.
You'll probably get much better performance if you used a data structure designed for search tasks rather than a database. For example, you might try looking at building an inverted index. Rather than writing it youself, however, you might also want to look into something like Lucene which does most of the work for you.