I have also tried the query with an inner join and it was still very slow. I don't think access is taking advantage of the Oracle Indexes
Main Topics
Browse All TopicsHi
I have an Access 97 Application that has several Access tables as well as several others linked to an ORACLE database. I am trying to set the rowsource of a graph to a query that links one of the access tables with one of the linked oracle tables. This query runs much slower than it should. Does anyone know how I can improve the performance of these kind of queries?
The query will look something like this
SQL = "Select * from OracleTable WHERE ID IN (Select AccessID from AccessTable)"
Thanks
rthomsen
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Combining Access and Oracle tables in Queries has also been tiresomely slow in my application. I get around this by writing more than one query. Get the data you need out of Oracle using one query. Get the data you want out of your own db using another query and then bring these together in a third query. I have often found this helps, even though there doesn't seem to be much logic as to why.
Pete
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:
Split: heer2351 {http:#10150995} & PeterAlexander {http:#10153278}
Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jadedata
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: heer2351Posted on 2004-01-19 at 15:18:42ID: 10150995
It is the in statement that makes it slow. You can use inner joins with linked tables, try the following query:
SQL = "Select OracleTable.* from OracleTable inner join AccessTable on OracleTable.ID = AccessTable.AccessID"