Having a unique index on each field would mean that each field, standing by itself, couldn't have duplicate data. I'm just concerned about duplicate data, collectively, amongst a group of fields. For example, if this was a bookstore database, I would want to allow many books by O'reilly but only one Running Linux by O'Reilly.
Currently, I have it select author=O'reilly and title=running linux first and if it returns nothing, I'll allow the insert. This works but the actual database checks it against 10 fields and typically inserts a block of about 200 records. I just want to make sure that this is the fastest and most efficient way to do this in case the site generates some heavy traffic in the future.
On a side note, every select, insert and update will have the username included and there will never be an instance where the user will select records that aren't his or her own. With that said, is it wise to add an index/key to the username field in the table.
Thanks everyone for your help,
Mark