Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / December 2005

Tip: Looking for answers? Try searching our database.

Console application takes forever to access data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Debi - 07 Dec 2005 01:58 GMT
Hi,

I've created a console application which is scheduled to run every morning
to pull out some reports. The data retrieval is through stored procedures
which takes a max of 2-3 mins to run. But the console application takes more
than 6 minutes to run each stored proc. So as the number of reports starts
increasing, the application is taking forever to execute. I've noticed that
the same procs. if called from a windows form returns faster.
Does anyone have a hint on speeding up things.
Thanks in advance,
Debi
Ralph - 07 Dec 2005 13:43 GMT
> Hi,
>
[quoted text clipped - 7 lines]
> Thanks in advance,
> Debi

I suspect that the Windows and Console apps are not quite as identical as
you think. Different use of libraries/Objects, open closing connections,
etc. can make some amazing differences in performance.

There are a few items one could guess at, but I suggest you actually
measure/profile the app to find out exactly where it is spending its time
and examine that code.

See if any of this helps...
http://dotnet.sys-con.com/read/46342.htm

-ralph

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.