hi all,
I have two tables that has tones of data.
approximately(16,400,000). What I want
to be able to do is to speed up the query process. The id
column in both tables are unique keys(pk).Therefore
they have indexes.
my select statement look something like this:
select a.* from table_a a, table_b b
where a.id = b.id where a.id = 100
Just this query takes about 35 seconds.
How can I speed the process. I only know that
indexes speed up the process of queries. How
can I speed this up anyother way? Any ideas?
Thank you!
I have two tables that has tones of data.
approximately(16,400,000). What I want
to be able to do is to speed up the query process. The id
column in both tables are unique keys(pk).Therefore
they have indexes.
my select statement look something like this:
select a.* from table_a a, table_b b
where a.id = b.id where a.id = 100
Just this query takes about 35 seconds.
How can I speed the process. I only know that
indexes speed up the process of queries. How
can I speed this up anyother way? Any ideas?
Thank you!