Very slow OracleDataReader.Read or HasRows ???

Hi,
I’m experiencing huge performance delays when calling Read on OracleDataReader …. It takes for ages ….. I waited for 2 minutes then stopped the execution in my .NET application…
If I run the same SQL statement in Toad for Oracle it returns in less than a second ….. Why ???
The only difference is that in .NET I call ExecuteReader to fetch rows while using parameters …. In Toad I just execute generated SQL statement as seen below.
I’m using System.Data.OracleClient.dll from .NET framework 2.0 …. Tried 3.5 , same result.
SQL:
SELECT TITLE,SUBTITLE,AUTHOR,ART_DATE,MEDIA_CODE,FULLTEXT,ID,STARTTIME,ON_PAGE,COORDINATES,COOR_TEXT,THUMBS_NR,CATEGORY,SHOW,CREATE_DATE,GENRE,USER_LAST,DURATION FROM MS_ARTICLE WHERE CREATE_DATE >= TO_DATE('10.12.2008 09:38:16','dd.MM.yyyy HH24:MI:SS') AND (MEDIA_COUNTRY = 'SLOVENIJA' AND INSTR(CHAR_14, ' METRONET',1,1)>0 )
Execution plan is:
Plan
SELECT STATEMENT ALL_ROWS Cost: 4 Bytes: 550 Cardinality: 1
     2 TABLE ACCESS BY INDEX ROWID TABLE PRESCLIP.MS_ARTICLE Cost: 4 Bytes: 550 Cardinality: 1
          1 INDEX RANGE SCAN INDEX PRESCLIP.MS_ARTICLE_CREATE_DATE_INDEX Cost: 3 Cardinality: 1
Any ideas why ?

Its tough to make a guess with the limited information available at this point.
Are you sure you're executing the exact same query in SQLNavigator? Same bind variables/types/etc?
To troubleshoot further, I'd enable SQLNet tracing (level 16) with Timestamps enabled, and see if you can pick out a 60 second gap in the timestamps. For example, here's an excerpt from a sqlnet trace.:
(1124) [28-JAN-2009 10:33:18:428] nttrd: entry
(1124) [28-JAN-2009 10:33:45:787] nttrd: socket 436 had bytes read=14
(1124) [28-JAN-2009 10:33:45:787] nttrd: exit
In the above trace, we can see we entered the oracle client network receive function (nttrd:entry) at 10:33:18:428, and it was 27 seconds before 14 bytes were read on the socket and the network call completed (nttrd: exit). It was waiting for info from the socket read for 27 seconds. In that case, that would generally point to a database side issue.
Matching client and server sqlnet traces should give you a more complete picture.
You may want to open a SR with Oracle support to get the traces looked at.
Hope it helps,
Greg

Similar Messages

  • 80gb Seagata SATA VERY slow reading (ST380013AS)

    Hello,
    before I will return my drive i'd like to know if someone had the same problem before:
    A few weeks ago I set up my brandnew system.
    I used two ST380013AS for RAID0 Configuration - everything was fine.
    But after a few days, XP got slower, a few days later, it got even slower...
    I reinstalled a few times with and without RAID0 and found out, that ONE of both disks i very, very slow when reading from it.
    AIDA32 Disk benchmark tells me a read performance of 1.5mb/s of this drive - normal is about 55Mb/s - write performance was still at 55mb/s
    It seems like it does many pauses during read accesses.
    I tried different cables, swapped the drive connectors, used the slow drive on the other sata controller (ich5 instead of promise)
    Still the same problem.
    SeaTools diagnostic software did not find any S.M.A.R.T. error, drive selftest ist 100% ok (but it's slow, even from this dos diskette - so it's NOT my Windows XP!)
    I wonder if this maybe is an incompatibility between the drive electronics and the mainboard/bus. But it's strange, that it got slower and slower...
    And the other drive (same model!) just works without any problems.
    Any idea what could be the cause for this?

    vango, you are right, we have the same setup. NEO fis2r board with two ST380013AS.
    I was happy with it when both drives were working - unfortunately I don't remember the performance of my RAID0 setup I used.
    Now I'm running a single drive and performance is still good ( I'm happy with 55mb/s linear read )
    What's a little bit strange is the fact that both drives run at UDMA5 - no matter which controller I use..
    But I remember seeing UDMA6 when using RAID0 with the latest Promise drivers from http://www.msi.com.tw - but I'm not sure.
    But the latest Promise drivers for non-raid mode is from january 2002 - so it's really outdated.
    For a single drive it shouln't make any noticable difference.
    And for AIDA32... it's really one of the best system tools I've ever seen.. it displays even temperature, voltages, memory timing, .... I love it
    The integrated database with all these values you cannot read out from the hardware and you had to look up yourself is very good! Even with vendor links!
    Well, I think I'll get an RMA number from Seagate and exchange the drive.
    Maybe I'll be running RAID1 afterwards as I'm sick of reinstalling XP with all the drivers, patches, and so on. (I can mirror the old system drive without losing data)

  • My Macbook Pro purchased Dec 2011 has suddenly become very slow after not using for 2 weeks (close to frozen). What is the problem and how to solve it?

    My Macbook Pro purchased Dec 2011 has suddenly become very slow after not using for 2 weeks (close to frozen). What is the problem and how to solve it?

    Need Help Ye,
    boot your MacBook Pro into Recovery mode by holding down a Command key and the R key as it starts up. Once the Mac OS X Utilities menu appears, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Is it still very slow?

  • Why Customers Online is very slow?

    I did insert data(party) about 1,500,000 using API
    The API is
    HZ_PARTY_V2PUB.create_person,
    hz_location_v2pub.create_location,
    hz_party_site_v2pub.create_party_site,
    HZ_EXTENSIBILITY_PUB.Process_Person_Record .
    It is work fine all about that in vision.
    Page moving is fast like 'person simple search'
    But It is too slow in fresh.
    version is R12.1.1.
    I working hard why very slow it is.
    I found out that It is work fine while concurrent request is running (Staging all data).
    But after concurrent request is complete, It is to be slow again.
    When I login my id, work fine, I can see responsibilities.
    But when I clicked about 'Customers Online User' or ''Customers Online Super User', It is very slow.
    It seems sleep about 1~3 minutes.
    After about 1~3 minutes I can see the page what I wanted.
    Why it is too slow?
    Advice me plz.
    Thanks for reading.

    Duplicate post.
    Why Customers Online is very slow?
    Re: Why Customers Online is very slow?

  • Weblogic server runnin very slow

    Hi
    My weblogic 11g server is running very slow
    The system configurations is
    Windows 2003 Os
    2.99 GB RAM
    Pentium 4 CPU
    2.99 GHs
    can u please advice me for suitable configuration for increasing the speed.
    or is there any other reason for slow process
    thanks in advance
    GiriBabu

    If you're running Webcenter Spaces, this will be very slownly with this configuration.
    I have the same configuration plus 2gb of swap. If I start space my machine running very slow too.

  • IPhone 5s is very slow without wifi

    I Just got a brand new iPhone 5s with a four gigabyte plan. I share it with one other user. Well even since the first day I got it if I leave out the house my iphone is very slow. It only works fast with wifi one. I don't have many apps on it. I don't have any song on it yet. I tries reseting network. I tried hard reset. Yes I do have LTE 4G.
    Is this a Verizon issue. I did notice that I only have two bars or circles at the top where I'm at right now. Maybe it's where I am? I'm not sure help. 

    I forgot to add it takes like 30 seconds to load one web page. Also apps like Instagram, kik, YouTube is very slow too.

  • Since upgrading to ios8, pages very slow to load, and can no longer read items in my reading list when offline. ?????

    SI since upgrading to ios8, Safari pages are very slow to load, Kindle crashes upon opening, and I can no longer read saved artices from my reading list when offline. Big disappointment. Is it possible to downgrade to previous ios?

    I actually managed to fix it! But unfortunately I don't know what I was that I did that helped.
    Anyways, this is kind of what I did.
    1. I tried to reset form bakup via iTunes, no change.
    2. I tried to reset as a new iPhone, problem still there and reading list also as bookmarks!? (several hundred)
    3. Noticed that I could delete a bookmark, once in a while, the other times I got the 'Bookmarks are being synced. Please edit the bookmarks once syncing has completed.' message.
    4. Because I figured that it was a memory problem, I thought it made sense to delete as many as possible, witch I did.
    5. Noticed that it was more likely that I coould delete a bookmark if I restarted Safari.
    6. Notice that it was even more likely that I could delete a bookmark if I turned the Safari sync with iCould off (with option detete information on iPhone) and then back on again.
    7. When I was about half way through deleting the bookmark list I suddenly discovered that all but one of the items in my reading list was 'waiting' and one was downloading. I kind of was 'unstuck' now.
    8. I started to delete items in my reading list, but every other time I got the 'Bookmarks are being synced. Please edit the bookmarks once syncing has completed.' message.
    9. It took a while to delete all bookmarks and items in the reading list.
    Hope you guys could use the info here to fix your problems too!

  • I am having a problem with my cs6 running very slow and when i save i am getting an error message that says, "This document is bigger than 2 gb (the file may not be read correctly by some TIFF viewers.) please help

    I am having a problem with my cs6 running very slow and when i save i am getting an error message that says, "This document is bigger than 2 gb (the file may not be read correctly by some TIFF viewers.) please help

    wen6275,
    It looks like you're actually using a camera or phone to take a photo of your monitor.
    That's not what is commonly known as a "screen shot". 
    It looks like you're on a Mac.  Hitting Command+Shift+3 places a capture of the contents of your entire monitor on your Desktop; hitting Command+Shift+4 will give you a cross-hairs cursor for you to select just the portion you want to capture.
    I'm mentioning this because I fear I'm not construing your original post correctly when you type "I am working with a large files [sic], currently it has 149 layers, all of which are high resolution photographs", so I'm wondering if there's some similar use of your own idiosyncratic nomenclature in your description of your troublesome file.
    Perhaps I'm just having a major senior moment myself, but I'm utterly unable to imagine such a file.  Would you mind elaborating?

  • In Adobe Reader (11.0) the typing is very slow when I insert sticky notes.

    I bought a new laptop and I just installed the latest version of Adobe Reader.
    When I insert sticky notes, typing is very slow. This doesn't happen with the
    other program. I've uninstalled and reinstalled. I still have the same problem.

    This phenomenon can happen with PDF files that have errors in them.  Adobe Reader or Acrobat may be able to fix these errors, but if you close the application, it will ask to save the corrected file.  If you save it once, that should no longer occur when you open it again.
    This is just one explanation, but it doesn't explain why that happens with every PDF you have.
    Test: does it also happen with a PDF that is not supposed to contain any errors: http://helpx.adobe.com/pdf/adobe_reader_reference.pdf ?

  • Adobe Reader 11.0.2 Very very slow

    Hi all,
    Since I have updated to Adobre reader 11 (11.0.2 or 11.0.3), I have some issues on some computers.
    i have 40 computers with the same configuration (Win 7 x64)
    For 20 of them, It is very slow to open a document (about 6-7 secondes to open Adobe reader)
    the the other 20, no issue (1 second max, to open Adobe)
    I have noticed that disabling "protected mode" permits to avoid the issue, but I dont want to disable this important security feature.
    Why some of the machines works well and the others do not work well ?
    Does that performance issue is a known issue by Adoebe ?
    Do you have any link to any Adobe release note dealing with that ?
    Do you have a way to fix that issue  without redusing security ?
    Thank you every body for your help

    Hi Pat,
    reader_sl.exe is not in the startup list.
    Disabling protected mode is a very high security break that i dont want.
    Any other idea ? Thank you

  • Time Machine not backing up.  Very slow, essentially hanging.  I have 10.7.5 Mac OS X Lion (11G63).  I have put in all updates.  I tried to put my folders into "private" in the Spotlight (b/c I read that might be the problem).  Still not working.

    Time Machine not backing up.  Very slow, essentially hanging.  I have 10.7.5 Mac OS X Lion (11G63).  I have put in all updates.  I tried to put my folders into "private" in the Spotlight (b/c I read that might be the problem).  Still not working.
    Thanks in advance for any help! 

    For all things Time Machine see Pondini's excellent information here...
    http://pondini.org/OSX/Home.html
    Start at Troubleshooting.

  • Adobe Reader 11.0.37 - very slow printing

    Hello, i installed version 11.0.37 on windows server 2003  ( SP2 ) and my print performance is very slow ( only pdf files ) - previous a had Adobe Reader 9 and everything works fine. I use Citrix. Users are connected directly to the xenapp servers , and print performance is very slow ( takes 2 or more minuts until printing starts )

    Hi, yesterday i installed update 11.0.5....it did not help any other ideas ?

  • G5 Dual - DVD Reader has gone very very slow after Leopard

    After 1 Migrate install and 1 clean install, I notice that reinstalling apps is taking 4/5 times as long as they should it's as if my DVD Reader has gone very very slow. I thought at first it was the migration that had caused FCPS2 to reinstall slow.
    (Sony DVD RW AW-G170A 4 months old) on G5 Dual 2's)
    FCPS2 wanted 19-hrs to install, I waited 6 hrs and then gave up. Luckily or unluckily as the case may be I used the time install Leo on my other Macs.
    In the end I have installed Apps over the Firewire network connected to my other G5 Dual with the stock DVD drive, they are installing fast now.

    Some more info about my setup:
    *Simultaneous Dual band AEBS:*
    Radio Mode: 802.11n only (5 GHz) - 802.11b/g
    Radio Channel Selection: Manual - 161 (5GHz), 6(2.4GHz)
    *Airport Express:*
    Wireless mode: Extend a wireless network
    Allow wireless clients checked under the name of the network (same as for AEBS).
    Both are WPA/WPA2 Personal security. And both the routers were upgraded to 7.4.2 firmware this morning with the hope that it will help.
    *N Devices (both working fine):*
    Apple TV 40GB
    2009 Model Mac Mini upgraded to Snow Leopard - working perfectly.
    *G Devices:*
    Thinkpad running WinXP
    Dell Laptop running WinXP
    Acer Netbook running WinXP
    iPod Touch
    iPhone 3G
    Linksys webcam
    _All of the above are working fine_.
    +2008 model Mac mini -+ upgrade to Snow Leopard shows extremely slow wifi connection that it is unusable. It takes 20min to load apple homepage. When I boot from the clone of my Leopard lying on my external drive, it works perfectly.
    I compared the settings between all the tabs of Network-->Airport-->Advanced and they are identical between Snow Leopard and Leopard mode except that SL doesn't have the "Apple Talk" tab.
    Appreciate any help to debug this.

  • Firewire drive read/write very slow

    I have a Western Digital firewire 400 drive which is writing very slowly. 200 mb file took about 4 minutes to copy. I figure it must be a drive issue, but wondered if there is the chance it's some system thing. I used Disk Utility to check and repair it, but to no avail. The data is still there, it's just very slow to write to it. Copying off it is no problem though (which is good!)
    Does anyone know if this can be addressed or is it just a bad drive?

    Three years seems pretty bad to me. I don't expect drive to fail that quickly. What do you mean by "those WD drives do that"? Do you mean that WD drives are not so good, or those cheaper end ones? I was going to replace it with a WD studio drive, which is formatted for Mac and has FW 800 and a five year warranty as opposed to one year, which suggests to me that it's a better quality item, but at least if it isn't, it has a long warranty.

  • Reading pdf files is very slow on my nokia 5800 mobile phone

    Reading pdf files is very slow on my nokia 5800 mobile phone. I have Adobe Reader LE 2.5 and when i open any pdf file, it runs very slow and the scrolling is very slow in spite of opening pdf files which contain text only and in black color. I have tried also wrap text option and the problem persists. Is there anyway to reduce the quality of the pdf displayed on my mobile?? and What i have to do to make it run smooth and fast to make reading on my mobile possible???
    Thanks in advance

    I had the same problem and I culd not find the solution. I think it is a nokia issue, as I read it in several webs

Maybe you are looking for

  • How do I use the location bar to search for phrases that do not contain spaces?

    When I type phrases that contain spaces into the search bar, it brings up a google search as specified by my about:config under keyword.URL However, when I type anything that *does not* contain a space (e.g. potatoes), firefox tries to connect to htt

  • Error in running a URL for Web Module Project with a JSP

    Hi Experts, I created a Web Module Project with name "WebModuleProject". I created a jsp file naming "test_jsp" inside it Then i created a Web Archive for it which resulted in a WebModuleProject.war file. I then created an Enterprise Module Project w

  • Iphoto import delete

    Hi everyone,      So i was recently trying to import the photos from my family's recent vacation to iphoto. there where 3 cameras, so it made 3 event that i was going to merge. well after importing i would always select delete from camera thinking th

  • Crosstab - Comparing value with other fields

    Post Author: Micho CA Forum: General Hi , I'm using CRXI Standard (eclipse plugin) and I have some trouble to customize my crosstab. Here is a simple example of what I'd like to doStructure of my resultset:ColumnsPARTNUMBERSECTOR_NAMEQUANTITYORDER_LA

  • Is JavaFX 1.3 FXD Specification obsolete?

    The FXD specification published here ( [http://java.sun.com/javafx/1.3/docs/fxdspec/|http://java.sun.com/javafx/1.3/docs/fxdspec/] ) states "FXD documents must have a single root element, and this root element must always be FXD. The FXD element can