Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting an data from an stored procedure within 40 seconds but when i access the same data from application level and display it in report and also in window with radcontrols.it takes around 2 min to display what is the reason for it. could anyone help me out
Posted
Updated 27-Dec-11 17:46pm
v4

Raw data access is obviously faster than transferring that data to a client and processing it for a report.

Your bottle neck is your report engine and your report viewer.
 
Share this answer
 
Comments
ashok_89 26-Dec-11 2:06am    
iam using the crystal reports,any fine tuning should be done in that and how
Mehdi Gholam 26-Dec-11 3:00am    
Optimizing Crystal Reports is specific to your report and subjective so unfortunately I cannot help you in that regard.
sriman.ch 27-Dec-11 22:59pm    
I agree with Mehdi...It depends your requirements and how much data you are retreiving ....
Wonde Tadesse 27-Dec-11 23:46pm    
5+
Mehdi Gholam 28-Dec-11 0:26am    
Thanks
Hi,

There may be several reasons for this. Here are few

1. How you are retreiving and binding data.
2. The no of control and their respective weight.
3. The no of users accessing the same report at the same time.
4. What type of reporting tool you are using.
.......


Hope this helps.
 
Share this answer
 
Comments
ashok_89 26-Dec-11 2:06am    
iam using the crystal reports,any fine tuning should be done in that
Hi, Ashok

The Data retrieving from database is depends on data u have.
For execution of query it takes very less time in sql server where as if u are accessing the same data through the application it takes much time.
So use stored procedures to retrive the data. and write the querys which are having less joins. use temp tables etc.. to increase the application performance.

Thanks.,
 
Share this answer
 
Comments
ashok_89 26-Dec-11 2:15am    
am using stored procdure only sir ,i dont know whats the reason for it getting slow
IT depends on some points:

1. Sql Connection or LAN Connectivity
2. Some Major Code on Databound event if you are displaying data.

Check all these things.
 
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