Oracle oleDB generates lots of network traffic than Microsoft Oledb

Hi,
When calling the same stored proc. that returns a ref cursor, Oracle Oledb (1.34 MB) generates alot of network traffic than Microsoft Oledb (0.06 MB). The statistic is gathered using Windows 2000 Network Monitoring tools.
Calling the same stored proc. that returns a ref cursor
Oracle OleDB Microsoft Oledb
Byte Received: 1408026 (1.34 M) 71032 (0.06 M)
Byte Sent: 306468 (0.29M) 69914 ( 0.067M)
Frame: 1263 414
Network Utilization: 6%-14% 1%-3%
Anyone know why is this case?
Joe

When working with ADO and VB6, I looked at the database server with SQL Trace and found that each dynamic SQL statement was parsed twice per execution. REF CURSORs certainly require several network round-trips in order to retrieve schema information for the dataset to be created. This behaviour probably increases network load.
Unfortunately, I have not found any description of Oracle's OLEDB implementation. Hopefully, things will get better with the new, native OleDb data adapter.
/Armin
Previous post:
multiple parsing of SELECTs O/S : N/A POST: REPLY (W/QUOTE)
Author : Armin Type : N/A
Date : Apr 7, 2001 12:51 PT
System: OLEDB provider 8.1.7, server 8.1.7.
Our VB code dynamically assembles SELECT statements and fetches recordsets with ADO function Recordset::Open. SQL TRACE shows that those SELECTs are parsed twice per execution. SELECTs embedded in stored procedures are parsed only once during the SP's life time (but then the stored procedure call itself is parsed once per execution).
Parsing twice per execution consumes a lot of CPU. REF Cursors might reduce parsing but cause additional network roundtrips.
How could I reduce the parse count?

Similar Messages

  • GetURL generating "no network traffic"

    i don't have the code in front of me so can't quote from it
    i'm afraid, but as a general picture:
    we have a pop up browser window generated by the
    FCK editor within which 2
    iframes inside of which either <object> & <embed>
    tags or geoff sterns
    swfobject include
    (the result with either embed method is the same) and a swf. said
    swf then has this code:
    getURL( destination, "", "POST" );
    the problem is, i'm told by my java guys, this call is
    generating ZERO network traffic.
    any ideas why?

    never forget your window declaration. here we have before and
    after:
    getURL( destination, "", "POST" );
    getURL( destination, "_self", "POST" );
    the second one works. oddly, the first WAS working, firstly
    for years using a previous rich text editor and then even now with
    our latest rich text editor on our test environment, only not on
    our live environment. and the java guys are glad to see it working
    but still wonder quite what the problem is because as far as they
    can tell everything is similarly named on test as on live.
    i don't know, all i know is that using "_self" made a world
    of difference and i recommend it 100%. it's great!!! :)

  • Network Traffic Generator

    Hi all
    Could anyone suggest me a good Network Traffic Generator software (Free ofcourse or cheap ones) in windows platform? I am trying to setup a network where I can test and analyse the issues with VoIP packets under heavy traffic conditions. Please suggest!! I am struggling to find one. Thanks.

    Hi ADITYA
    Can you find the below?.
    1- For traffic generation Windows is pretty bad, especially UDP traffic  at any decent rates.
    2-I would recommend the IP SLA feature in IOS to simulate VoIP and the statistics it generates are very good.
    http://www.cisco.com/en/US/docs/ios/12_4t/12_4t4/htrtpvip.html
    3- You can also check the following also :
    https://www.netiq.com/products/unified-communications-and-voip-management/features/vivinet-assessor.html
    Thanks
    please rate all useful information

  • Generates more network traffic automatically

    Hi All,
    iMac computer generates more network traffic automatically. This creates problem in slow down of network and system slowness.
    Please let me know solution for this.

    How do you know this is happening?

  • Client/Server network traffic.

    I don't know if here is the right forum to ask it, but let's go on.
    Nowadays we a system on Forms 4.5/windows/Oracle 8.0
    We have some clients machines linked to the server by a Frame-Relay link and we use Windows 2000 Terminal Server to reduce the network traffic.
    Well, we are gonna update to Forms 6i/Oracle 8i.
    I would like to know if Forms Server can be a good option to Windows 2000 Terminal Server.
    If I haven't been clear with my question I'll can do it again. I'm new on Forms 6i and I've just installed it to test (It hasn't been working yet....)
    Thanks in advance
    Ronaldo.

    This could provoke quite a discussion.
    "If your client are on slow links you may, for example query 10,000 rows of data. "
    Generally, forms shouldn't be pulling back tens of thousands of rows from the database. Your user is unlikely to page through that much, so either you want a summary (which is best calculated on the database server and the summary results dragged across the network) or you are paging through records in the tens, not tens of thousands. (Look at the 'Number of recods buffered' property in your base table blocks. Bet it's one or two digits, not five!)
    "The information that is transmitted to the client is basically screen draw information - and this will be alot less than the 10,000 rows you were querying before. "
    As above. In client/server you shouldn't have been bringing stuff from the database down to the client that wasn't going to be on the screen anyway, especially if you had a slow network.
    Depending on how your application is written, it could well peform a lot worse on the web than in client server. Rather than having the client do a fair share of the work, it's now got to keep talking to the application server to get anything done.
    For example, because navigation triggers don't allow the use of restricted built-ins, rather than putting code in a 'post-text-item/when-validate-item' trigger on the relevant item, it gets put in a form level 'when-new-item-instance' trigger. It's a bit untidy in client/server but workable. Put it on the web, and every time the user tabs between fields, the form has to go off to the application server to fire the when-new-item-intance trigger to tell it what to do next.
    Another 'speed-bump' is if you have any synchronize bits (eg in a post-query trigger, or as part of a "I'm 10% complete" information messages in long running loops). These will also generate network traffic between the app server and form.
    While web server does have advantages, I wouldn't be selling it on it's performance improvements.

  • Unknown network traffic / router traffic monitoring

    So I got a new PC with windows 7 on it, and I installed this gadget that monitors network traffic, and it shows a lot of traffic that my local PC isn't showing, so I am thinking there is something running on the LAN that I can't see. I was looking to find a live, better program to monitor the actiontec router, for traffic. anyone know of anything that can maybe show me who is using all the bandwidth on my network?
    i have found software for Linksys, but nothing for the Actiontec.
    Thanks,
    Quasimodem
    Fios in Florida
    Solved!
    Go to Solution.

    Keep in mind that when looking at Wireshark (sniffer) software there are different types of traffic:
    Unicast
    Broadcast
    Multicast
    Unicast is traffic between two devices.  You will see the traffic between the PC with wireshark and another device on your local network such as a printer, another PC or the Router.  You should not see traffic between another PC and the Internet for example.  Using a phone as an example some calls you and the conversation is between you and the person on the other end of the phone.  This is unicast traffic.  Using defaults of the actiontec, IP address seen will be 192.168.1.1 for the router and 192.168.1.2-99 for devices on your network.  If you have the TV service, 192.168.1.100-1xx is used for the cable boxes.
    Broadcast traffic is traffic sent to all devices.  Its not directed toward a particular PC but rather usually looking for information.  In a sniffer trace you will see broadcast traffic. Going back to the phone example, someone makes an announcement on an overhead intercom system that is broadcast traffic.  Broadcast traffic will be seen as 192.168.255.255
    Multicast traffic is traffic from one device for many devices.  Usually used in video feeds.   Using the phone system as an example someone wishes to tell a group of people something so instead of calling each person up and telling them each person who wants the information joins a conference bridge.  Anyone is allowed to listen but only those that wish to get the information receive it.  Generally how multicast works.  Multicast traffic will be seen as IP address 224.x.x.x or something of the sorts where the address will be 2xx.x.x.x.  
    I hope this makes sense.  Probably more information than you needed but at least it will help you understand what wireshark is telling you.

  • Slow network traffic when replica1 is started

    Hi, I have a problem with a WLSS cluster. Each time I started the replica the network traffic turns so slow. I dont know how to explain that. Besides I make a Camtasia video that you could download from this URL.
    http://rapidshare.com/files/174413972/BEA_ping.wmv.html
    I hope you can told me whats going on.
    Thanks a lot
    Greetings

    I've also noticed that my airport express is blinking green, showing network traffic, when both my imac and ipad are turned off - even though I have the airport express set to be hidden, password protected and limited to certain airport IDs.
    The cable company sends continuous, almost non-stop garbage down the line. The tech guy at the cable company would say that the devices are "associating". That's why you see the green light flashing. You might want to turn off the "flash on activity" option and simply have it glow solid green...unless you like to watch the flashing, or you want to switch to DSL.
    Try turning off the anti-virus to see if that helps wireless perform better. Most anti-virus applications do more harm than good. Otherwise, look for wireless interference from another nearby wireless network, cordless phone, or even that new security system at the neighbors.

  • Advice on Network traffic reduction approaches

    Hi everyone:
    Somebody mentioned to me that there may be a way using PJCs to reduce the network traffic that Oracle Forms Web generate.
    Is this true?
    If yes, if available, can somebody point me to some documentation?
    Thanks,
    Thomas

    Hi Francois:
    For some reason locally it was determined that our application combined with a T1 line connection can only support up to around 40 users. Do you think there can be something in our app that may be resposible for that. If there was, do you have any suggestions/tips about where we can start looking.
    Thanks for all your help, by the way I still owe you a great lunch for all the help with the colorization solution you provided us earlier,
    Thomas

  • I need a clarification : Can I use EJBs instead of helper classes for better performance and less network traffic?

    My application was designed based on MVC Architecture. But I made some changes to HMV base on my requirements. Servlet invoke helper classes, helper class uses EJBs to communicate with the database. Jsps also uses EJBs to backtrack the results.
    I have two EJBs(Stateless), one Servlet, nearly 70 helperclasses, and nearly 800 jsps. Servlet acts as Controler and all database transactions done through EJBs only. Helper classes are having business logic. Based on the request relevant helper classed is invoked by the Servlet, and all database transactions are done through EJBs. Session scope is 'Page' only.
    Now I am planning to use EJBs(for business logic) instead on Helper Classes. But before going to do that I need some clarification regarding Network traffic and for better usage of Container resources.
    Please suggest me which method (is Helper classes or Using EJBs) is perferable
    1) to get better performance and.
    2) for less network traffic
    3) for better container resource utilization
    I thought if I use EJBs, then the network traffic will increase. Because every time it make a remote call to EJBs.
    Please give detailed explanation.
    thank you,
    sudheer

    <i>Please suggest me which method (is Helper classes or Using EJBs) is perferable :
    1) to get better performance</i>
    EJB's have quite a lot of overhead associated with them to support transactions and remoteability. A non-EJB helper class will almost always outperform an EJB. Often considerably. If you plan on making your 70 helper classes EJB's you should expect to see a dramatic decrease in maximum throughput.
    <i>2) for less network traffic</i>
    There should be no difference. Both architectures will probably make the exact same JDBC calls from the RDBMS's perspective. And since the EJB's and JSP's are co-located there won't be any other additional overhead there either. (You are co-locating your JSP's and EJB's, aren't you?)
    <i>3) for better container resource utilization</i>
    Again, the EJB version will consume a lot more container resources.

  • Share network traffic between 2 parallel wireless bridges - What kit?

    Dear All,
    I'm a technology professional, but mainly in electronic design rather than high end networking. Hence my request for your advice.
    I wish to specify some items of kit that I can ask a networking professional to fit and configure to solve my particular application.
    I would like to use (and already have in place) two parallel wireless bridges between 2 buildings. One is on 2.4GHz and the other is on 5GHz. In my simple testing so far (of each link in turn), they both work brilliantly. So far, these are in place just for test purposes, but soon I will be required to make the system "live".
    The reason I'm doing this is to split network traffic over both links (to possibly get enhanced bandwidth) but to mainly build in redundancy should one link fail.
    What kit is required to do this (apart from the 4 access points configured as bridges)?
    I imagine I may need a load balancing device(s) or possibly something more suitable for this task.
    I'd like the solution to be very transparent to the rest of the system, I'd like it to "look" like it's a simple wireless bridge (but really it's a highly robust dual bridge). I hope my waffle makes sense.
    Any thoughts?
    Best regards,
    L.O.

    You can certainly copy the addresses from one machine to the other - the contact files are held in user/Library/Application Support/AddressBook. Copy all files into the same respective location on the other machine (they will overwrite any existing contacts).
    If you want the address books kept in sync, take a look at SyncTogether or SeeCard Rendezvous.
    Matt

  • SMON generating lot of redo

    DB Version 10.2.0.4
    OS HP-UX
    Hello we are facing problem with wait event Redo Log space Wait
    when i checked for the session which are generating lot of Redo i found SMON at the top..
    Just couldn't understand what SMON would be doing so it is generating highest amount of Redo
    Please Advise ..
    Regards
    Vinayak

    I would use DBMS_LOGMNR package to see what kind of activity is performed. For details about this package see Oracle® Database PL/SQL Packages and Types Reference 10g Release 2 (10.2).
    Kind regards,
    Joze

  • Impact of NI-PSP on network traffic?

    Hi,
    We are planning a large-scale automation project and are looking to widely use Shared Variables.  What concerns should we have about the impact on network traffic?  Should the LabVIEW-based systems exist on their own subnet?  Are there any special network switch hardware that is recommended?  For instance, Rockwell Automation systems use UDP and recommend switches capable of IGMP Snooping.  Are any such network hardware features recommeded for a system based on LabVIEW Shared Variables?  Thank you.
    Chris White
    ThinkG Consulting LLC

    Chris,
    I am not aware of any recommended out of the ordinary network hardware for use with NI-PSP.  There have been issues on machines that have more than one network interface enabled, and this is not a supported configuration, as noted in the LabVIEW DSC Readme:
    "Network-published shared variables do not function properly if multiple network
    adapters are enabled on the same computer."
    NI-PSP is built on UDP and any firewalls that block certain UDP ports can be a problem.  How external network traffic affects NI-PSP and vice versa is a pretty arbitrary question that obviously depends on how much external traffic you have and how much NI-PSP traffic you have, which depends on the number of shared variables, the number of subscribers and publishers, and the update rates of these variables, as well as whether variables are bound to I/O servers.  UDP is a lossy protocol so extremely heavy traffic could cause some packets to be missed. 
    Hope this answers your questions!
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Weird - Activity Monitor Network Traffic vs iStat Traffic

    With no applications running on my MacBook Pro, the Network tab of the Activity monitor is showing 'Data received/sec" toggling every second or so between 1.38 KB/s and 2.75 KB/s.  It's showing the same numbers for 'Data sent/sec' as well.  I can't figure out what is causing this network traffic.  But if it's real, it's adding up to about 5 GB a month of bandwidth usage.  My cap is only 60 GB so it's significant.
    But when I use iStat or the Net Monitor app to monitor throughput, they show 0.0 traffic when the system is idle.  Also, since last night Activity Monitor shows 322 MB data received and 99 MB data sent.  While iStat shows 239 MB received and 16 MB sent.
    So which is correct?  Does Activity Monitor also include traffic that is internal to my network?  Or do I have a phantom bandwidth hog somewhere?
    Thanks for any insight to the weirdness.
    Jim

    The switches at home and at work generally corroborate the activity shown by tcpdump / atMonitor / MenuMeters, not the continuous data flow shown by Activity Monitor. The MacBook Air I'm sitting at right now shows similar discrepancies, with traffic totals in Activity Monitor about 40x higher than those shown with the other tools and a steady and inexplicable (and by other means invisible) 29-34 KB/sec of both sent & received traffic. tcpdump shows periods of network silence between 2-15 seconds in length (in between DNS lookups; netbios syncs; ntp queries; ipp messages; http, pop, and imap messages; etc. happening in bursts as one would expect).
    Changing Activity Monitor to refresh every half second shows the mystery traffic as a burst of 112 KB sent & received every two seconds--and no, that's not the same throughput as the 29-34 KB seen at 2-second refresh intervals. When I set refresh to every 5 seconds, the mystery throughput drops to 22 KB / sec. As the throughput varies depending on refresh interval, I wonder if I'm seeing internal loopback queries (or something of that sort) contributing to the totals. Is it possible that the mystery traffic is of AM's own creation, and only exists within the machine and is not actually sent on the network?
    Lest we digress further into general network troubleshooting techniques, let me restate the question, perhaps a bit more clearly: has anyone else seen this traffic-volume discrepancy between the Activity Monitor's Network tab and other network monitoring tools, and does anyone have an explanation for it?

  • Per User Network Traffic for 11i E-Business Suite

    Hi,
    Can anyone tell me the amount of Per User Network Traffic for 11i E-Business Suite
    Thanks
    Durai

    Hi,
    Oracle 11i E-Buss Suite client desktop will take 50KBPS only per user (WAN)
    regards,
    Thangapandian

  • Module problems? (Network traffic dies, some devices stop responding)

    I searched the forum and the web, but didn't see anything similar to this. I apologize if this has been answered before.
    My problem is that my network traffic randomly just stalls. This happens approximately once a day, at a random moment, during load or no load at all. I don't know anything else than reboot that fixes the issue.
    Logs contain the following lines, which are inserted at the time when networking dies:
    modprobe: FATAL: Module ip_tables not found.
    modprobe: FATAL: Module iptable_filter not found.
    modprobe: FATAL: Module ip_queue not found.
    nf_hook: Verdict = QUEUE.
    nf_hook: Verdict = QUEUE.
    nf_hook: Verdict = QUEUE.
    nf_hook: Verdict = QUEUE. ....
    Another thing is that after Arch has been up for few hours, I can't get my memory card reader working unless I remove and reload the module ehci_hcd. The reader always works straight after boot and after reloading ehci_hcd, but will stop working after some time. From log:
    ehci_hcd 0000:00:1d.7: port 4 reset error -110
    hub 5-0:1.0: hub_port_status failed (err = -32)
    hub 5-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
    These messages keep repeating.
    Could these two problems be related? And what to do with them?
    Last edited by peabrain (2008-04-28 21:36:59)

    I dont think these logs are related. One is for the USB subsystem, the other for networking. They are completely different subsystems.
    The networking issue is probably the most annoying so focus on that first.
    IP_TABLES and IP_QUEUE are modules relating to ip filtering and queueing. I have to ask the obvious - what are your trying to do with your system. These modules are usually used in firewalls, servers, h/w routers etc. If you dont need them, blacklist them in /etc/rc.conf. Blacklist is deprecated "officially" however , for me it works fine in Arch. Just add the ip_tables and ip_queue to the line with BLACKLIST=() on and uncomment it.
    Reboot.
    If that doesnt work then something is trying to use these modules and hanging your internet IP packets. Without knowing your system and software install, its diffucult to diagnose and because I dont use this functioanlity, I am no expert but I am aware that ISPs use quite large queues and this can be shifted to a linux box.
    nf_filter is the NET FILTER module , used to filter IP packets according to predefined criteria. Not sure why you need this, but I think there is some form of queuing in linux, there has to be given packet arrival in non-sync - has to be queued. If net-hook listed as a module, use "lsmod" as root. If its listed, blacklist it like the others.
    Other than that, try a later kernel from www.kernel.org, rebuild it but make sure net filtering and queuing options are turned off.
    I really dont know. Google !??
    Last edited by keratos (2008-04-29 12:26:45)

Maybe you are looking for

  • Error While Consuming the webservice in ABAP

    Hi,   I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xst

  • PL/SQL: ORA-00932: inconsistent datatypes: expected REF got CHAR

    SQL> desc o.rel_module; Name Null? Type ID NOT NULL NUMBER(6) TYPE NOT NULL CHAR(7) BUILDDATE NOT NULL NUMBER(4) DESIGNROOT NOT NULL NUMBER(6) SQL> desc rel_module Name Null? Type ID NOT NULL NUMBER(6) DESIGNROOT NOT NULL NUMBER(6) REL_COMPOSITEPARTS

  • Process (.exe) run from java

    Hi all,   I need to run a ".exe" from my .java file. I have developed a sample Swing GUI application that calls a ".exe" from my program. The application contains a dialog box. The dialog contains a text box and a button. When user will enter some nu

  • Block Material for all operations

    Hi gurus, I need block a material for all operations. In material master, field X-plant matl status is ok with all possible blocks that system offers. But, I can still do inventory, and other operations... How Can I block for all operations a materia

  • Missing DC

    Greetings, SDN members. I am struggling with an issue I can't overcome for a couple of hours now. I have a Java WebDynpro DC component, which makes use of libraries, such as com.sap.security.api.sda and others. Part of my code makes use of KM functio