Hello friends,
I have read somewhere, but cannot remember where, that there is a technique to optimize query performance; that Access (Access 2000 for me) does not necessarily optimize a query as it is written, and specifically if it is modified, unless one does some particular system function. It seems to me it was Tools/Compact and Repair/ but I am not sure.
(I searched on OPTIMIZE but found no helpful posts.)
My problem is a series of queries chained together to produce a report. It used to run fairly slowly but acceptably to produce a report. I made changes to the first and second queries in the series, tested them to be sure they did what I wanted, and their individual query performance was excellent. These were the only changes. Then I ran the series and the run time is disastrous. What took two minutes now takes about ten minutes. In this case Compact/Repair does not seem to help. Do any of you have recommendations?
Thanks,
xbigblue
I have read somewhere, but cannot remember where, that there is a technique to optimize query performance; that Access (Access 2000 for me) does not necessarily optimize a query as it is written, and specifically if it is modified, unless one does some particular system function. It seems to me it was Tools/Compact and Repair/ but I am not sure.
(I searched on OPTIMIZE but found no helpful posts.)
My problem is a series of queries chained together to produce a report. It used to run fairly slowly but acceptably to produce a report. I made changes to the first and second queries in the series, tested them to be sure they did what I wanted, and their individual query performance was excellent. These were the only changes. Then I ran the series and the run time is disastrous. What took two minutes now takes about ten minutes. In this case Compact/Repair does not seem to help. Do any of you have recommendations?
Thanks,
xbigblue