Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am running my oracle queries but these are taking 20 to 25 min to display the results .
but on server it is taking some seconds. so how can i resolve my problem ?

Queries are just select statement but i am getting records from view not from table . some one suggest me to use sqlplus but i don't know how to use.

I have to just export the report in to excel

Thanks,
Manisha
Posted
Updated 11-Jan-12 1:49am
v3
Comments
OriginalGriff 13-Dec-11 4:34am    
What's the query, and how are you using it?
Use the "Improve question" widget to edit your question and provide better information.
Al Moje 13-Dec-11 5:02am    
Post your code so that we could see and help you...
RaisKazi 11-Jan-12 22:32pm    
Could be network issue.
bluesathish 12-Jan-12 5:38am    
Hi manisha,
Refer this article, it'll give you some idea about how to tune the queries.

http://www.dba-oracle.com/art_sql_tune.htm

1 solution

Based on the info you provided, you are using a view in the report. Is it ASP.NET report viewer? or Oracle reports?

First run view in db with exact input parameter(s) you used to view the report, note down the performance.

If the performance is OK with direct view execution then check the report for any custom processing like - expressions to evaluate a report column or custom coding inside the report. Sometimes, the custom coding takes considerable time because the report viewer uses code interpretatin at runtime.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900