473,499 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2005 + Enterprise Library : SQL queries takes longer to execute

Hi!

We developped a program with VS2003 and Enterprise Library. then we
switched to VS2005B2 to check the conversion between these two. Everything
works fine now except one thing!

The sql queries I execute on the database take much longer to execute. We
have for example a query that selects all rows from a table that contains
about 6000 rows. With VS2003 and any other sql tool it takes around 150-200ms
to execute. But now with VS2005B2 this query can take up to 20 seconds to
execute and during this time, the cpu usage is at 100%!!!

Can somebody give me a hint on that?? :)

BTW, we are using the iSeries generic provider with the enterprise library
(that we recompiled with VS2005.)

Thanx in advance!

Phil
Oct 26 '05 #1
1 1554
Phil,

I think we have exchanged a bit before on this... You are using the iSeries
connector which has some known issues with VS2005. IBM has said that this
use at your own risk to us even with the fix that they provided. So there
could certainly be performance issues there.

Also, VS2005 is beta right now and betas typically run slower than the RTM.

So, lots of unknowns there. Give the RTM a try in a few days if you have an
MSDN subscription. That should isolate at least one variable.

If I can be of any other help, you can contact me via the feedback section
of the Haggen.com website. It will get routed to me.
Andrew Robinson

"Philippe Trottier" <Ph**************@discussions.microsoft.com> wrote in
message news:B5**********************************@microsof t.com...
Hi!

We developped a program with VS2003 and Enterprise Library. then we
switched to VS2005B2 to check the conversion between these two. Everything
works fine now except one thing!

The sql queries I execute on the database take much longer to execute. We
have for example a query that selects all rows from a table that contains
about 6000 rows. With VS2003 and any other sql tool it takes around
150-200ms
to execute. But now with VS2005B2 this query can take up to 20 seconds to
execute and during this time, the cpu usage is at 100%!!!

Can somebody give me a hint on that?? :)

BTW, we are using the iSeries generic provider with the enterprise library
(that we recompiled with VS2005.)

Thanx in advance!

Phil

Oct 26 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1745
by: paul | last post by:
Hi, Im trying to add a dataset to the app_code directory using vs2005 \ SQL2005 beta 2. When I run through the wizard I select the option to auto create new Stored Procedures (Select, update,...
0
857
by: Amelyan | last post by:
Does anyone know when they plan to release Enterprise Library for VS2005? The latest version I have is Enterprise Library 2005 June. That version has a problem with schema (and VS2005 does...
0
838
by: Jim Crate | last post by:
<<finishing message this time, after accidentally sending before>> I have a couple queries in a PL/PGSQL function which execute very slowly (around one minute each) which execute in .5 second...
1
267
by: Philippe Trottier | last post by:
Hi! We developped a program with VS2003 and Enterprise Library. then we switched to VS2005B2 to check the conversion between these two. Everything works fine now except one thing! The sql...
2
1621
by: chris_doran | last post by:
Firstly, let me come clean and say I don't really know what I'm doing. Classic tale: I'm using some code developed by a third party who is now uncontactable. Further, he did it in C# and .NET...
5
372
by: Sudharsan | last post by:
Hi I have developed a Windows Control Library in VC.NET The component will play back video files and this component is used in C# applications to display multiple videos simultaneously. The...
7
1331
by: Joe | last post by:
Hello All: I am trying to use the Enterprise Libraries created by Microsoft to update a DB2 database and am stuck. I need to be able to Insert, Update and Delete records from the DB2 datbase...
8
2000
by: Daz | last post by:
Hi everyone. I was faced with the choice of whether my problem is indeed a PHP problem or a MySQL. I have decided it's a PHP problem as I don't experience the same problem when I execute the...
23
14002
by: Nishant Saini | last post by:
Dear All, We have a database which contains many tables which have millions of records. When We attach the database with MS SQL Server 2005 Standard Edition Server and run some queries (having...
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6894
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7388
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
297
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.