Relational Databases are optimized for dealing with massive numbers of rows, not columns. If you create the right indexes, there should be no performance problem (with rows).
If you describe your need in more detail, people will be able to help you more.
[Message sent by forum member 'dserodio' (dserodio)]
http://forums.java.net/jive/thread.jspa?messageID=219770