Solved

Improve Query Performance

Posted on 2011-03-09
6
620 Views
Last Modified: 2012-06-21
I have a a Excel 2007 spreadsheet that using SQL queries from an Oracle database. I then use MS Access 2007 linked tables to retrive data from this workbook and to create further queries. I then use Crystal Reports 8 to report on the Access database using a simpe filter and sub reports. As you would imagine this query is quite slow.

What is the best method\ syntax to add indexes to either or both the Excel spreadsheet and MS Access database to improve performance. I do not have update capability on the Oracle database.
0
Comment
Question by:JayceW
6 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 350 total points
ID: 35083688
"As you would imagine this query is quite slow. "

Which query are you referring to?


Subreports in crystal can be slow in some cases.
0
 

Author Comment

by:JayceW
ID: 35083787
I am referring to the Crystal report.

As you say I appreciate that they can be slow. This one however takes over 3 hours to complete so I am looking at potential ways to accelerate the query at the Worksheet\ MS Access database level.

0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 350 total points
ID: 35083867
Can you post the sql being used by crystal .
(Database> show sql query)
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35084232
Why does Excel need to be involved in this process?
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 150 total points
ID: 35084920
Can you use Crystal directly against the Oracle database?

mlmcc
0
 

Author Closing Comment

by:JayceW
ID: 35094176
An Error in my joni criteria solved the issue but the comments were useful
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now