Home » RDBMS Server » Performance Tuning » is unique index helpful in making query fast?
is unique index helpful in making query fast? [message #177308] Wed, 14 June 2006 01:51 Go to next message
a_developer
Messages: 194
Registered: January 2006
Senior Member
I have a unique index on 2 columns, example last_name and first_name. Most of the time, I search for records with these 2 columns in my where clause. Do I need to create a separate b-tree index to quicken the query or is the UNIQUE index enough???
Re: is unique index helpful in making query fast? [message #177315 is a reply to message #177308] Wed, 14 June 2006 02:35 Go to previous message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
The index that you currently have should sufice. However, if you are not convinced, why not do a test?
Previous Topic: database slow
Next Topic: queries on collecting schema statistics (oracle 9i)
Goto Forum:
  


Current Time: Wed Nov 27 05:43:16 CST 2024