On Saturday 20 January 2007 07:06, Chuck Hagenbuch wrote: > Add new indexes to main SQL scripts. whups_attributes and whups_queries are still without indexes. I guess that whups_attributes should have a primary key of ticket_id + attribute_id. And if query_id in whups_queries is unique shoudl be a primay key too. Duck