OracleDataReader.Read taking too long for the first record

Hi Guys
I am new to ODP.Net. This is my first time working with Oracle and ODP.Net. I wrote a small stored procedure which returns 25 rows and returns a sys_refcursor. I am capturing that in a OracleDataReader and trying to process the data. I use this in a while loop... the first Read is taking around 10 seconds and from the second on, it is pretty quick. Stored procedure performace is really good when I run it from the SQLPlus or data execute call from .Net. Both web server and database are in the same network, which is really good.
Any idea what's going on? Any links or articles ro any help will be greatly appreciated...
I am using Oracle 10g with ODP.net 10.2.0.2.20. and using .Net Framework 3.5 with Visual Studio 2008.
Here is the code I am using (it is really simple)
Private Sub FillSearchResults(ByVal DR As Oracle.DataAccess.Client.OracleDataReader)
Dim objSearch As OCPAFL.DAL.Search
Dim objList As New List(Of Parcel)
Try
'Walk through Projects
While DR.Read()
''''.... do the processing here
End While
Catch ex As Exception
Throw ex
End Try
End Sub
Thanks
Chandra

Hi,
I dont have any good ideas as to what may be causing it based on the limited information provided, but here's what I'd do to try to troubleshoot it further:
1) Enable client sqlnet tracing (level 16) with timestamps on, and/or ODP tracing, reproduce the complaint, and loook in the trace to see if you can find a gap in the timestamps to try to isolate where the time is being consumed. Is there one 10 second gap? Numerous 2 second gaps? etc. Is the client waiting on data from the server?
2) Enable 10046 trace on the database before executing the proc in the app and check the resulting database trace. Are binds occurring differently? Is anything occurring differently in the execution plan using ODP vs SQLPlus?
Oh, also, support for .NET 3.5 starts with 11.1.6.20 ODP, but I rather doubt that's causing the problem.
Hope it helps,
Greg

Similar Messages

  • Time to open Web forms too long for the first connexion !!

    Hi
    When we first open a web form in the day, the time to open it, is greater than 10 minuts ( the CPU time used to retrieve the webform is measured at about 20 seconds)
    When we do open the webform a second time it takes about 20 seconds to open it!!
    Have someone meet this case?
    What do we have to change in order to enhance the openning duration of the webforms?
    Thanks
    environment:
    Serveur IBM, OS Windows 2003 server
    Hyperion planning 11.1.1
    Edited by: RYAG on 26 avr. 2010 14:56

    Does it take 10 minutes to open on the server, if it takes 10 minutes on the server and only 20 seconds of that is CPU processing then are you saying for over 9 minutes it is rendering the form in your browser, you can check the browser process on the machine.
    If you do want to check or increase the maximum heap size then have a read of :- Re: Heap sizes with Planning11.1.1.3 & Weblogic help
    I would also check how much memory the JVM is using when opening the form, you can check using task manager on the server or better still use something like process explorer.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Downloaded Mountain Lion on my iMac.  Why is it so slow opening up from sleep and taking so long for the wireless mouse to engage?

    Downloaded Mountain Lion on my iMac.  Why is it so slow opening up from sleep and taking so long for the wireless mouse to engage?

    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • How long is too long for the IPod to download from ITunes??

    I just swapped my busted IPod for a new one and the installation process seemed to be going fine. I've updated the new IPod, but now I've plugged it in to download my ITunes and it's still blinking Do Not Disconnect after 12 hours!! Isn't this too long? I mean, I have about 2500 songs, so I expected it to take a while, but this seems a bit extreme...what do I do?

    You have a connection problem with the iPod. You might need to re-install iTunes.

  • RE: RD 330 Rail Kit too long for the application space

    This is my first time posting, I hope I have submitted this to the correct forum..
    My situation:
          We have a Middle Atlantic Rack system model RS-46-28, with 46U and a center unit depth of 23.5 in, the Lenovo servers we are using (RD340E1Us, 3 of them) have a minimun span on the mount rails of 29.5 in, in order to get the servers mounted (correctly!) is there a alternate rail kit for the smaller depth of 23.5 inches, or do I need to purchase 3rd party rail kits.  The servers are configured and production ready, switching them, is not a workable option.
    Any experience with this rack system or situation?

    Hi Gus,
    I am not familiar with the rack you specified, however here is some information on our rail kit:
    "The rack cabinet must meet one of the following requirements:
    • Standard 4-post (square-hole), 19-inch rack configuration compliant with EIA-310-E as defined by the
    Electronic Industries Alliance
    • Standard 4-post (unthreaded round-hole), 19-inch rack configuration compliant with EIA-310-E as defined
    by the Electronic Industries Alliance"
    More information on the rail kits / installation can be found here.

  • My sync key, which i copied off the website, is too long for the firefox home 3 boxes. what should i do?

    i'm trying to create sync between my iphone and desktop.
    i followed instructions to download firefox home from itunes and got a really long sync key: x-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    then went go firefox and to preferences and sync and add a device but the sync key is way too long to go into the 3 boxes.
    what do i do?
    thanks

    You do not have to enter the syn key in the three boxes on that page.<br />
    That is meant for a special code that can be used instead of the user name and sync key for easy set up.<br />
    If you do not have that shorter code then click the link at the bottom "I don't have the device with me" to get a window where you can enter all details.
    * https://support.mozilla.com/kb/How+to+sync+Firefox+between+my+desktop+and+mobile
    * https://support.mozilla.com/kb/find-code-to-add-device-to-firefox-sync

  • Taking too long for Loaded data visible in Reporting

    Hi experts,
    I have a cost center cube, which takes very very long to show the  " Loaded data is not yet visible in Reporting " icon for the request. I donot have aggregate on the cube and no other requests are Red /yellow. What is the reason for this weird nature. I checked the consistency check, there are no over lap /errors for the request.
    Any help is appreciated.
    thanks in adavnce
    D Bret

    Hi Dave,
    Try to run the RSRV for the Cube and try to refresh the data in the cube.
    RSRV --> Combined test --> transaction data --> Status of data in the info cube.
    If you find any errors after running this check,repair it and then refresh the cube's data.
    Hope this helps.
    Thanks & Regards,
    Suchitra.V

  • Ipad Air restore off Icloud backup. How do I know if my apps are taking too long in the "waitting" part of the reboot?

    For some reason my Ipad Air decided it wanted to create used space on it's hard-drive today. It suddenly went from using 7GB to 11.5 GB. I couldn't find the solution so I decided to restore my Ipad from a backup last Thursday. Now all my apps appear but it is taking forever to download them, it wont change from waiting to downloading?
    Suggestions?
    My main question is, how long does it take in each process till backup is 100% Complete its downloading around 7GB of storage, when will my apps stop "waiting"

    Your camera roll photos - those that you take with the iPad or save from emails and websites - are in your backup.
    If you use iCloud for backups, restore from your iCloud backup after you restore the iPad. If you restore with iTunes, restore from that backup after you restore the iPad. You can read more here.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    But the bottom line is that if you have never backed up, there is no way to save the photos now.

  • Elapsed time too Long for the report

    I have report that is taking a very log time to load when I click on 'All Pages' button. Viewing initial 25 records is quick and paging through records 25 at a time also gives very good performance, around 1-2 secs but viewing all records is slow and scrolling through all the records is also jerky. The browser seems to be hanging after each click. The report is combining data from 3 fact tables and also has 2 columns that have navigation links behind them. All this must be adding the time to render the report, but still the difference is too large. Looking at the logs, the queries ae returning from the database in 15 secs.
    I have also observed different behaviours depending on the browser. IE7 is slow and jerky after all the records are displayed. In IE6, the browser hangs for 15 mins in the beginning but after 15 mins, it returns back to normal and scrolling is smooth. In Firefox, the browser hangs for 20-25 secs in the beginning, but once all the records are displayed, it behaves normally. Is there anything that can be done to remove the jerkyness in IE6 while scrolling? Are there any IE setting or setting on BI server side I can change to help with this situation?
    Thank you!

    In my experience, DSL Service Ready activation does take anywhere from two weeks to a month. The last time I ordered DSL from Verizon (which, admittedly was about 5-6 years ago), I had to wait 6 weeks for it to be activated, because they had to install a new set of DSLAM equipment to serve my street.
    That may be what is happening in your case. All I can say is be patient and follow up regularly with Verizon. Activating DSL service is not a turnkey operation.

  • Mirrored RAID taking too long for Data Rebuild

    I have created a RAID 1 (Mirrored RAID) using Disk Utility in my Mac Pro. I have used 2 x 4TB WD Enterprise Grade HDDs. I copied 10 gb data on to this 4 TB RAID volume. Then removed one of the HDDs & installed in my other Mac Pro. It mounted as normal HDD & showed all the data that I had copied. To check if Disk Utility will rebuild the data, I deleted some part of this data (2 GBs out of 10 GBs) & installed this drive back in the system on which I had Created this RAID volume.
    Initially I was surprised to find that Deleted data is now absent on this RAID volume. But on Launching Disk Utility it started rebuilding data on RAID volume.
    BUT for Rebuilding 2 GB data estimated time shown by system was 9 hrs.
    Is this NORMAL?
    I intend to fill this 4 TB RAID volume with approximately 3.5 TB Data. In case one of the drive fails, how long should it take for Disk Utility to rebuild this amount of Data?
    Is there any alternative way of speeding up this process?
    Will Apple's RAID card help?
    All your suggestions will be appreciated.
    Thanks

    I know this is an old thread but I'd be interested in what you came up with for a solution.
    Here's my RAID journey thus far.
    https://discussions.apple.com/message/25119317#25119317
    Again, a gig of info and its taking 1 day 10 hours.
    I hope theres a solution somewhere.
    Drew

  • I am trying to download osx mavericks but it is taking too long through the App Store. Is there another way to download it

    Can you reply ASAP

    It is ONLY available thrugh the Mac App Store. Yes, it is a big file, 5.29 GB. How fast depends on your ISP.

  • Download taking too long for Creative Suite 5.5 Design

    How can I speed up the download time from 7 hours?

    Do a direct download from prodesigntools.com , without using the download manager.
    http://prodesigntools.com/adobe-cs5-5-direct-download-links.html

  • Custom Webdynpro text field is taking too long to accept input values

    Dear All,
                   I hvae created custom web dynpro for PO header fields in SRM. This WD contains a lot of fields. When i try to put cursor on a text field it is taking too long for the cursor to appear in that input text field. There is no problem with other fields which have search helps associated with them. This field with the problem is just a text field.
    Please help.
    thanks.

    Dear All,
                   I hvae created custom web dynpro for PO header fields in SRM. This WD contains a lot of fields. When i try to put cursor on a text field it is taking too long for the cursor to appear in that input text field. There is no problem with other fields which have search helps associated with them. This field with the problem is just a text field.
    Please help.
    thanks.

  • Importing a table with a BLOB column is taking too long

    I am importing a user schema from 9i (9.2.0.6) database to 10g (10.2.1.0) database. One of the large tables (millions of records) with a BLOB column is taking too long to import (more that 24 hours). I have tried all the tricks I know to speed up the import. Here are some of the setting:
    1 - set buffer to 500 Mb
    2 - pre-created the table and turned off logging
    3 - set indexes=N
    4 - set constraints=N
    5 - I have 10 online redo logs with 200 MB each
    6 - Even turned off logging at the database level with disablelogging = true
    It is still taking too long loading the table with the BLOB column. The BLOB field contains PDF files.
    For your info:
    Computer: Sun v490 with 16 CPUs, solaris 10
    memory: 10 Gigabytes
    SGA: 4 Gigabytes

    Legatti,
    I have feedback=10000. However by monitoring the import, I know that its loading average of 130 records per minute. Which is very slow considering that the table contains close to two millions records.
    Thanks for your reply.

  • MGP Tuning: MGP Processing taking too long

    Hi All,
    I have question here related to MGP Processing. MGP Processing is taking too long for us, close to 900 secs. Is there a way to tune and optimize this MGP Process. Right now we have only 3 users syncing and this kind of delay in Sync for users in testing Envt is not acceptable to the client. Is there a way to tune this MGP Process. I am aware of the Consperf process. Should I be running the Consperf for all the publication items to optimize their Sync process or should it be only for those publication items that are taking too long in the Compose/Apply process.
    Thanks in advance for all suggestions.

    Hi Rekounas,
    what would be your recommendation for some 70 snapshots and 50 users? And is there any recommendation for mobile server? We have the mobile server on dedicated machine, which is quite old piece of HW. I presume that it should have just some amount of RAM available for caching of MGP data and that it shouldn't be CPU-power consuming much - is that right? At the monent the compose phase of MGP takes some 25-30 seconds per user when there's some new data to process...

Maybe you are looking for

  • How to connect my iMac to a stereo system?

    Hey guys, i know this isnt the right place to post this but im guessing ill find an answer here. Okay, i wanna connect my Imac to a stereo i have. The stereo has a yellow, white and red port and a head phones port. Is there a way i could connect my m

  • Report yields no data when viewing from InfoView

    Post Author: Johannes CA Forum: Publishing I've just installed CRXi server and I'm now trying to publish a simple Crystal report.  First of all, this report accesses a date field that's a string format yyyymmdd.  I'd like the report to run for today,

  • Why is the temperature of my MBP so hot (73 degrees) right after startup?

    See stats for more info =) Hope someone can help me out. I have an external display, soundcard and hard drive connected at the moment. Dunno if that could cause the problem.

  • Datapump and table privileges

    I am doing an export and import with the DBMS_DATAPUMP api. I am doing a SCHEMA version. Do explicit table grants get included in the dump file. After I import the SCHEMA back into the database I have to regrant execute on DBMS_LOB and DBMS_SQL to my

  • Iphone 3 frozen even after reboot...help please!

    my iphone 3 was stuck on the apple symbol for ages so i rebooted it and it gets as far as the slide to unlock screen when it has just been turned on, but wont go any further.what do i do now?