Hi.
Join on two tables in different databases is terribly slow. Some ideas, what to do?
We have two tables in two different databases, each with about 4 milions records. When we do a select on them retrieving about 100 records from each (it is contact and address), it runs longer then we have ever waited. We used a cursor and variable, which we sent into the remote query, but it is still slow and we would like to avoid the cursor anyway...
Join on two tables in different databases is terribly slow. Some ideas, what to do?
We have two tables in two different databases, each with about 4 milions records. When we do a select on them retrieving about 100 records from each (it is contact and address), it runs longer then we have ever waited. We used a cursor and variable, which we sent into the remote query, but it is still slow and we would like to avoid the cursor anyway...