Database Tuning (MOSC)

MOSC Banner

Tuning Query or Table ?

edited Dec 3, 2010 8:31AM in Database Tuning (MOSC) 10 commentsAnswered
 I have a table with rows name, name2, distance. I need to be able to select all the rows with name = var1 or name2 = var1 against 945 Million rows.  My current solution takes about 1 second. The problem is,  I have to perform this query about 1.8 Million times. And the problem is presented ..... :-)  Is there anyway to speed this up with indexes or whatever.  Currently i have indexes on name, name2, and name and name2.

This is Oracle 11gR2 on Windows 2008 Server.

Thanks.

Jeff

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center