Solved

Improve Query Performance

Posted on 2011-03-09
6
617 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

707 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

13 Experts available now in Live!

Get 1:1 Help Now