If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ADO stored proc - async operation?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-05, 12:06
squarker squarker is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
Question ADO stored proc - async operation?

Hi all

I am using ADO in ASP to exec a fairly substantial stored proc in Oracle. The procedure is called in the db via an ADODB.Command object, which is using ADODB.Parameters. I am finding that calls to Command.Execute, which I am using to return a recordset, are coming back extremely quickly.

However as soon as I test for RecordSet.EOF, a massive delay is incurred (over 100 sec). Is this because the call to the database is carried on asyncronously until the data is actually needed, at which point the EOF test becomes a blocking call that takes ages to execute? Or does my recordset exist as soon as Command.Execute has finished, but due perhaps to poor db tuning, the EOF call is adding unnecessary time to the whole process?

Let me know if this is insufficient info to go on. Thanks all in advance

Jon
Reply With Quote
  #2 (permalink)  
Old 10-19-05, 06:35
squarker squarker is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
Any thoughts, folks?

Best wishes,

Jon
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On