Is there a reliable method for detecting that a query is too large?

I am writing some code (that uses OCI) to properly detect when a query string is too long for OCI and/or the Oracle database server. I can't find any specific error code information in the docs, so I just started firing off large queries to see what would happen.
The queries I am sending are >2MB in size, up to 16MB. If the queries are above ~10MB, I get the error "ORA-03113 'End-of-file on communications channel'" after a fairly short amount of time (i.e. not enough for a timeout to expire). If the queries are below ~10MB, but above ~2.5MB, it either just sits there and does not do anything (for more than 15 hours). So watching for ORA-03113 when executing large queries does not seem like a very reliable method for detecting the queries that are too large.
Does anyone know of a reliable way of detecting that a query is too large for the OCI client and/or the Oracle database server?
I am using version 10.2.0.1 for both the OCI client and the Oracle database server, but I'm getting similar errors for combinations of 10.2.0.1 and 9.2.0.7 for both the OCI client and the Oracle database server.
These large queries need to be handled properly (i.e. distinguished from some generic failure) because the server handles requests from users, which could be programs that generate SQL queries (and have constructed huge ones in the past).
Thanks for any information!

The ORA-03113 means that the Oracle server process has died trying to satisfy your request. In almost all cases it is strictly correct to call that a bug, and we shouldn't easily forgive the server process when it happens. But in the case of multimegabyte statements my anger and disapointment turns to sympathy, for in my heart I can't bring myself to blame it. Can you?

Similar Messages

  • Is there any native method for converting String value to Hungarian notat..

    Hello. there.
    This might be very simple question. but I'm just curious about this.
    I am wondering if Java API offer the any native method for converting uppercased string value to lowercase which obey the Hungarian notation.
    What I'm going to do is using Reflection for excuting RFC function on SAP. I was found it is very similar to JDBC Programming.
    Please refer to blow codes.
    //mTable
    JCoTable mTable = function.getTableParameterList().getTable(rtnTblNm);
        for (int i = 0; i < mTable.getNumRows(); i++) {
         mTable.setRow(i);
         HashMap tmpData = new HashMap ();
              for (int j=0; j < mTable.getNumColumns(); j++) {
                     // I want to set key String [userNo] instead of  [USER_NO] here.
              tmpData.put(mTable.getMetaData().getName(j).toLowerCase(), mTable.getString(j));
              result.add(tmpData);
    } Basically, The idea was from ibatis framework [com.ibatis.common.beans.classInfo] dropcase();
    Any idea would be very helpful for me. Thank you.
    Edited by: hosung.seo on Aug 30, 2009 10:42 PM
    Edited by: hosung.seo on Aug 30, 2009 10:50 PM

    ejp wrote:
    Hungarian notation is a representation of logical/arithmetic expressions in postfix form. Not what you're talking about.
    So your title is very confusing to the people here who know what it means, which is probably all of them, because people read threads based on their title.From now on, I will pay more attention when I post an question.
    If the titile as " +Is there any native method for converting String value to camelcase?"+ would be easier to what i'm pointing at.
    As I mentioned in above sorce code, converting [USER_NO] to [userNo] isn't relevant Hungarian notation. yes, it was ambiguous. Agree! :)
    But some answer wasn't fit to converting case or recognizing "underscore" delimiter. I was expecting toCamelCase() such as blew. Thanks.
        public static String toCamelCase(String name) {
            String lowerName = name.toLowerCase();
            String[] pieces = lowerName.split("_");
            if (pieces.length == 1) {
                return lowerName;
            StringBuffer result = new StringBuffer(pieces[0]);
            for (int i = 1; i < pieces.length; i++) {
                result.append(Character.toUpperCase(pieces.charAt(0)));
    result.append(pieces[i].substring(1));
    return result.toString();

  • Is there a quick method for turning a 13 page Ai file into 13 separate Ai files

    Is there a quick method for turning a 13 page Ai file into 13 separate Ai files? I need to resave or RIP them as normalized PDF files, and I need to start with single-page ai files.
    Thanks.

    As Erica says, it's in the Illustrator Options window which opens after checking Save.. Check the top of what I showed

  • Outlook for mac 2011 sent mail file too large error message

    The synchronization of outlook with gmail is slowing down because there is a stuck message that appears to be too large.
    Have tried to run a script i found out about to delete and it didnt work. I also went to Offline mode and sent myself an email so i could see the outbox and there is nothing there.
    Suggestions appreciate.

    Normanfrompalmyra,
    Gmail does not have an outbox per se. While you are composing or writing an e-mail, it is automatically saved in the Drafts folder. After you hit send, a copy of the e-mail is saved in the Sent folder. So, you can look in both those folders.
    If you are in Outlook, click on the Home tab, then look at the left side of the Outlook window. You should see a column on the left with each of the different e-mail accounts that you have set up in Outlook. At the top of this column are the four general folders: Inbox, Drafts, Sent Items, Deleted Items. Below that are folders for each e-mail account, under which you see the folder structure you created for each e-mail account. If you know which e-mail is causing the problem, look under Drafts, Sent Items, then Deleted Items for that e-mail.
    Good luck,
    Arbor Friend

  • Is there any alternative method for GET_FRONTEND_FIELDCATALOG in CL_GUI_ALV

    Hi all,
    Please let me know if there is any alternative method for GET_FRONTEND_FIELDCATALOG (CL_GUI_ALV_GRID class) in the class CL_SALV* family. I need to capture the field catalog(Or list of fields) of the current output list.
    I have saved many layouts on my ALV output with different combinations of fields, When I select one layout and click on the custom button it should process only the fields displayed on ALV.Please let me know how do I get the fields displayed on ALV using CL_SALV_* family classes.
    Thanks,
    Prathap

    Hi,
    Check this link...[Setting up Layout|http://help-abap.blogspot.com/2008/09/salv-model-4-setting-up-layout.html]

  • Outlook for Mac 2011 - Google mail file too large.  How do I delete it in google?

    When sending an email througjh Outlook, I attached a file that was too large (90 MB) and it hung up my Send/Outbox process.  I learned how to delete the file from the Outbox but I still keep getting a constant message from google of a file too large (like every few seconds).  How can I purge that email from my google account and end this message? 

    Normanfrompalmyra,
    Gmail does not have an outbox per se. While you are composing or writing an e-mail, it is automatically saved in the Drafts folder. After you hit send, a copy of the e-mail is saved in the Sent folder. So, you can look in both those folders.
    If you are in Outlook, click on the Home tab, then look at the left side of the Outlook window. You should see a column on the left with each of the different e-mail accounts that you have set up in Outlook. At the top of this column are the four general folders: Inbox, Drafts, Sent Items, Deleted Items. Below that are folders for each e-mail account, under which you see the folder structure you created for each e-mail account. If you know which e-mail is causing the problem, look under Drafts, Sent Items, then Deleted Items for that e-mail.
    Good luck,
    Arbor Friend

  • Good method for detecting walls in a map

    Good morning,
    I'm spending a lot of time trying to convert a simple map into a set of segments in order to perform a Scan Matching with diferent robot poses for localization. I see there's a huge number of tools in Labview regarding Computer Vision and Pattern Matching but, until now, I can't find anything that satisfies my needs.
    I tryed Edge Detection.vi but it returns not only the segment of wall but a complete line from side to side of the ROI as you can try in the example I attached. In addition, Edge detection doesn't work well with diagonal walls. 
    I could use Contour Detection.vi but it turns out that is computationally expensive according to perfermance profile plus it detects contours as points but I need lines because my map is composed of simple straight lines.
    Finally I tried IMAQ Rake 3 but I don't know very well how it works and there's no examples of use in the examples folder.
    Labview is an amazing programa with a lot of already made complex nodes, There must be a way to simulate what a robot equipped with a Laser Range Finder or LIDAR would see if running in a very simple 2D room.
    Thanks in advance.
    Attachments:
    EdgeDetection.vi ‏50 KB
    room.png ‏4 KB

    hi 
    it's very popular and useful function which i am working on .
    have you find any solution yet?

  • Is there a jabber client for iPad that will connect to Apple's iChat/jabber server?

    I've just purchased a third gen iPad and I'd like to be able to use the VPN connection in conjunction with an iChat client to communicate with my office's internal iChat/jabber server. However, none of the apps I've tried are able to successfully connect? I've tried Monal, IM+, IMO, munduIM OSE and Talkonaut. No joy.
    I use Messages (beta) on the desktop, but there's no way to setup anything other than an Apple ID in Messages on the iPad. I'd love to keep it unified.
    Any thoughts or suggestions? I've heard that Beejive is the way to go, but (call me a cheapskate) I don't want to pay for another app just to find out it won't do what I want!

    You almost certainly have a misconfigured router/firewall for jabber. I can confirm that OS X Lion Server works with the iPad and iPhone IM apps imo and BeeJiveIM.
    To track down your problem, which almost certainly is simply a port getting blocked or not forwarded at some point between your router and server, I'd suggest getting an nmap executable (e.g., get Xcode via app store, then macports, then sudo port install nmap) and download the old feature-rich Airport Utility 5.6 from Apple. First try this:
    $ nmap -p 5222 localhost
    $ nmap -p 5222 server_ip_on_LAN
    $ nmap -p 5222 server_ip_on_INTERNET
    This port should be open for each probe. When I first set up my server, Messages beta added a port forwarding entry on my Airport router, but this had a duplicate entry with another port forward, so I had to use Airport Utility 5.6 to track down and delete the superfluous port forward entry. I also had to use Server Admin to open all the iChat ports.
    One thing I was hoping for is an iOS app that supports video/voice over jabber, but all the apps I see are strictly IM. Can anyone recommend an app for this?

  • Is there an add on for FF that allows download of tunes from Grooveshark?

    Is there some FF add on that allows you to download music from grooveshark website? I know there are several similar add ons for youtube website.
    == This happened ==
    Not sure how often
    == not a problem, just a query

    Try [https://addons.mozilla.org/en-us/firefox/addon/grooveshredder/ Groove Shredder]

  • My photoshop 10 has stopped working  is there a telephone number for support that I can call to find out how to fix the problem???

    My photo shop 10 program has stopped working.  Is there a telephone number that I can call for support to find out how to fix the problem???Jenny

    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://forums.adobe.com/docs/DOC-2325
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Is there an iPad app for photos that allows you to see them organized by labeling as 1, 2, 3 etc or a, b, c etc in the order you wish instead of by date taken? Thanks.

    Is there an iPad app suitable for iPad mini that allows you to order your photos by 1,2,3, etc or a, b, b, in the title rather than ordering by date taken? This would keep them in a sequence you want instead of displaying randomly. Thanks.

    1, you can't at the moment, though with iOS 5 in the Autumn, from http://www.apple.com/ios/ios5/features.html#photos :
    Even organize your photos in albums — right on your device
    2, by removing it from you synced from and re-syncing. Only photos taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad (either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view)
    3, the location of the photos that you synced to the iPad should be listed on the iPad's Photos tab when connected to your computer's iTunes.
    4, you can copy the photos from your iPad to your computer : http://support.apple.com/kb/HT4083 . You should also be able to delete them from the iPad as part of the transfer process to your computer, and it's then your choice whether to add them to your sync photo list so as to copy them back to the iPad. Copying them to your computer would allow you to organise them into folders and therefore be able to sync them back into separate albums.
    5, I don't use Dropbox either. There are some third-party browser apps in the iTunes App Store that allow you to download pages so that you can view them when offline e.g. Atomic Web (the whole page is saved within Atomic Web, it doesn't place a photo into the Photos app)
    6, deleting content should help. If you remove an app from your iPad then you also remove the content that it's got on the iPad - so if you then decide to reinstall it back onto the iPad then you will need to manually add back any content that you want in it. None of the Apple built-in apps (including Photos) can be removed from the iPad

  • Is there a newer stb for fios that have hdmi? i have qip-2500 p3

    I bought a lcd tv and came to find out that my regular verizon box qip-25 p3 doesn't have hdmi out. Is there a newer standard box with hdmi?
    thanks

    renan wrote:
    I bought a lcd tv and came to find out that my regular verizon box qip-25 p3 doesn't have hdmi out. Is there a newer standard box with hdmi?
    thanks
    You would need to update to an HD STB or HD DVR. With your new flat screen TV it would provide a much better picture on the HD channels. What most do not realize is, you can have an HD STB on an SD TV, and receive the HD channels that are not otherwise visable with the QIP-2500 SD STB. I would pay the $5 more a month and get the HD box. All the STBs and DVRs went up in cost by $2, so the HD STB is $11.99. Every bundle includes HD channels, but they are not available with the older SD boxes.
    Save the $20 shipping cost if you have a Verizon FiOS store near you. You can ship the old box back at any UPS. But be sure to get a receipt with tracking information. It is better to return the STB at a store so you get paperwork that has the serial number on it. Also once you turn in the QIP-2500, you can not order another. They are being phased out.
    List of available FiOS stores.
    http://www22.verizon.com/Support/Residential/tv/fiostv/General+Support/Account+Issues/QuestionsOne/8...

  • Is there an add-in for FF that will direct files based on the type? i.e. put graphic files in a folder called graphics, program files in a folder called exe etc?

    I would like FF to be able to sort my downloads into categories, to put program files into a folder called exe, to put graphic files into a folder called pics ,etc. Can this be done?

    The Firefox download manager isn't set up to do that, but I understand there are a few external download managers that offer a feature like that.

  • Is There A Preferred Method for Backing Up Source Video?

    Having put together my first movies (using both iMovie 06 and 08), I am staring at several gigs of video clips on my hard drive that I would like to archive off. But I don't quite know what to do to be sure that I am storing the original source clips (in case I want to re-edit at some later date).
    I see that the clips are stored on the drive in iMovie packages; should I just copy these off to remote media? How compatible are these packages with other programs? Are the packages readable under other operating systems? Should I back up the clip files only?
    TIA,
    David

    As I noted in my original post, I used both 06 and 08, due to a complicated set of circumstances that I won't go into here. Winston seems to be saying that I should copy the source files directly off the camera to DVD, which supports my original question. I will have to figure out how to do this. I presume I will plug the camera into the computer, and then use Finder to burn the files directly to DVD.
    So far, I have made copies (both to DVD and network drive) of the 08 events, 06 projects, iDVD project file, the iDVD archive, and the iDVD img. All of which is why I was asking the question in the first place.
    Thanks all for the help,
    David

  • Is there an add on for Firefox that is similar to HP Web Printing?

    There are no details. The questions says it all.

    This one should work with Firefox 4 - Bookmark Favicon Changer - https://addons.mozilla.org/firefox/addon/bookmark-favicon-changer/

Maybe you are looking for

  • AR Aging Trend

    Hi, We have AR Aging Trend report deployed and running. There is a requirement from the user that when the aging report is run for a particular date in the past the receivables value should remain the same. Example, lets say the user is running the r

  • HELP with update to download assistant

    I'm trying to download CS6, but I can't do that unless I download an updated version of the download assistant application (1.0.3 to 1.2.4). When I click "download now" the blue bar runs across as if it's finished, but then nothing happens. What do I

  • RAM voltage readings with DMM vs. Software on X58 Pro-E

    I almost fell over with shock when HWmonitor and Speedfan both reported my RAM voltage spiking over 3volts when running Prime95. When idling the voltage readings fall to about 0.6v and jump around during use. I set my RAM voltage in BIOS to 1.5v but

  • Imac takes 3 minutes to start up

    Hi, Exactly 2 days ago, my Imac 21.5-inch started to take 3 minutes to boot/start up. I bought it in Summer of 2011 and  its been fast when booting up, it would takes less than 30 seconds to boot up, up till 2 days ago. I  do not know what has happen

  • VPN CHAP authentication is extremely slow

    When a client connects to VPN server, its connection usually time-outs. Investigating the logs show that CHAP authentication takes almost 2 minutes to complete. No wonder that the clients time-out. Does anybody have any idea why this happens? The log