Re: Slow Crystal Reports with Oracle
Date: Thu, 16 Oct 2003 22:45:52 GMT
Message-ID: <jt6uovgf9m2e16tril33mcdrsovvkodjrs_at_4ax.com>
[followups trimmed to comp.databases.oracle - please don't cross-post]
Kristoff wrote:
>Well, the SQL query contains the join statements so I thought
>that Oracle would be doing the work and returning the results.
>
>> Or does it select from a view on Oracle?
>
>Nope, but I'm converting the report to use a view now, would
>it make a difference?
In my experience, yes it will.
>> Does it call a stored procedure to do the work?
>
>I can't rely on that as that would involve creating stuff
>on the Oracle and management wants to avoid that for reports.
Which would they prefer?
reporting to run efficiently?
>How would a stored procedure work?
At its simplest, pretty much the same as a view. However, a stored procedure can do more than a view, especially when you use parameters to control selection criteria, and other server-side processing.
First off though, see how you go with that view.
regards,
Ross
-- Ross McKay, WebAware Pty Ltd "Words can only hurt if you try to read them. Don't play their game" - ZoolanderReceived on Fri Oct 17 2003 - 00:45:52 CEST