SetCustomDatum and setObject performance

I'm using the Object-Relational features of Oracle 8i. I've been experiencing a performance problem with setCustomDatum() or setObject() to set a user defined object in an OraclePreparedStatement to insert the object into the database.
The performance of setCustomDatum (or setObject) ranges from 10 milli-seconds to 2.2 seconds depending on the particular user defined object type being used in the insert.
I'm using Oracle 8.1.6 on NT and I've experienced the same problem with both the thin JDBC 8.1.6.0.1 driver and the OCI 8.1.6.0.1 driver. I'm using JDK 1.2.2-001.
Any help/hints would be gratefully appreciated.
Thanks,
Tom Marjoram

I can't believe that I'm the first person in this discussion group to use a Java Object that implements the CustomDatum interface in a prepared JDBC statement to insert that Object into the database.
Does anyone know why setCustomDatum or setObject might take such a long time when doing this. We have seen timings of up to 10 seconds for some complex objects. Does anyone have any insights into what might be going on here or how we might work around the problem ?
Has anyone else taken this approach to inserting Objects into the Object-Relational database and not had this problem ?
Again any help would be appreciated !
null

Similar Messages

  • PC and Network Performance

    Hello:
    The City of Detroit is planning to upgrade to 11.03 or 11i. We are looking for network and PC performance minimums/maximums to support as a minimum 11i and any known future upgrades coming but not released. Is there a publication/white paper that would provide information, not only on the above, but would be the expected performance benchmarks for AP, AR, PO, GL, Projects & Grant HRMS, OTA, and FA? At the moment we are on 10.7 and interface with EMPAC. Users are spread over the City in numerous locations. We must assume that the user will have other non-Oracle apps open such as Office and GroupWise.
    Thanks,
    J
    Gerald R J Heuer
    313-224-2109
    Beeper: 313-275-6714
    F:313-224-9342
    [email protected]
    1232 Coleman A Young Municipal Center
    2 Woodward Ave
    Detroit MI 48226

    The information is available in Appsnet under the 'Technology' Tab and you would need to look at some of the White Papers - including one with the name 'Nothing but Net' and the Network Performance Presentation.
    null

  • My solution for: Slow Installs and poor performance

    So up until today, most of anyting on XP or even vista 64 ultimate was taking a very long time to install or copy from one part of the drive to another. Startup would grow longer and game performance was dying and only once ever did reinstalling the OS do anything. No matter what I did, nothing would fix the problem.
    I ran multiple utilities (disk utility, disk warrior, tech tool deluxe, etc) but none said that there was a hardware problem. But this issue I was having (and I know some of you do) was definitely related to the computer. From my experience, I determined that there was no way this mac was perfect.
    So I scheduled a service and repair at my apple store (under warranty). When it was done a few days later, sure enough, I was told that even though the utilities we users can use on our end to diagnose problems didn't find any problems, the hard drive did not pass apple's detailed inspection and was replaced.
    In conclusion, I say that if you are having this problem, run disk utility and if you have the extra protection plan, download the Tech Tool Deluxe that apple provides on the support site. Disk utility may find some permission and disk issues but if Tech Tool doesnt find anything even on the surface scan, take it in to the apple store to have a Genius look at it. If it's not under warranty, it's up to you whether or not you want to spend that money. Overall, my computer both on Leopard and XP now runs just as it should.
    Hope that helps.

    did not work for me

  • Safari hangs and poor performance in MBPR (Mid 2012)

    Safari hangs and poor performance in MBPR (Mid 2012)? OS X 10.10.2 is up to date

    Please answer as many of the following questions as you can. You may already have answered some of them. In that case, there's no need to repeat the answers.
    Back up all data before making any changes.
    Have you restarted your router and your broadband device (if they're separate) since you first noticed the problem? If not, do that now and see whether there's any change.
    If your browser is Safari, then from the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If the Downloads button (with the icon of a downward-pointing arrow) is showing in the toolbar, click it and then click Clear in the box that appears. The download history will be removed. Any change?
    If you're running OS X 10.9 or later, select the Advanced tab in the Preferences window and uncheck the box marked
              Stop plug-ins to save power
    Any change?
    Quit and relaunch the browser. Any change?
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Are any other web browsers installed, and are they the same? What about other Internet applications, such as iTunes and the App Store?
    If other browsers and Internet applications are also affected, follow these instructions and test. Any change?
    If Parental Controls is active for any user, please turn it off and test. Any change?
    If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement?
    Follow the instructions in this support article. Any change?
    Open the iCloud preference pane and uncheck the box marked Photos, if it's checked. Any change?
    Are there any other devices on the same network that can browse the Web, and are they affected?
    If you can test Safari on another network, is it the same there?
    If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

  • HR infotype log in PCL4 and overall performance

    Hi there,
    There has been a few threads about PCL4 performance with regards to reading, but I have a slightly different question:
    We are working on an export program for HR masterdata and are considering using logging in PCL4 to be able to export only changed fields in the infotypes. To achieve this we need to add quite alot of extra fields and infotypes to the configuration in the IMG.
    Does anyone have any experience about how additional fields and infotypes affect runtime and database performance of the system? How optimized is the system with regards to writing to this cluster?
    It will obviously cause more data to be logged, and the database will grow slightly faster, but does it decrease responsiveness of PA30/40 for the end users? Is it possible to archive old data from this cluster? I'm guessing that it won't be a big problem, but any feedback is greatly appreciated.
    Best regards,
    Lars G. Gudbrandsen

    Hi Lars,
    Probably you would get a better response in the HCM section as opposed to ABAP.
    Maybe you can use change pointers, and badis rather, to acheive what you want but I am not 100% sure the requirement.
    Additional fields and infotypes don't impact the system negatively in my opinion. It wouldn't affect PA30, unless the specific infotype is selected and then provided if it has been correctly created in PM01 it should be fine, also depending how many fields you are talking about of course. PA40 would only be impacted for those transacitons for which the infotype is included.
    As for archiving, I am not sure, but once again i think HCM forum is your best bet.

  • FTP Adapter, B2b and SOA performance Test

    Hi All,
    We have a requirement to processes Large XML files ranging from 1 MB to 200 MB. Our Flow is FTP Adapter picks the XML's Repeatable Nodes. BPEL Transforms and Loops thru each XML node and calls B2B Adapter in Each Loop. We are doing Advanced EDI batching to aggregate all the nodes in one XML to one EDI. Files upto 7 MB are working fine with FTP fileraise property= 1 and polling frequency=300s. Files with 14MB are failing with JTA transaction Time Out (Time Out Set=500s) and Server running in PROD mode. We are using SOA Suite 11.1.1.7 and HIPAA 834 Transactions. Is there a Payload size Limitation For FTP Adapter or SOA Suite? Do we need to Follow a different approach to achieve our functionality? Do we need to set any Performance parameters? Please share your thoughts.
    Thanks In Advance!!!

    Pl do not post duplicates - FTP Adapter, B2b and SOA performance Test

  • How to update this query and avoid performance issue?

    Hi, guys:
    I wonder how to update the following query to make it weekend day aware. My boss want the query to consider business days only. Below is just a portion of the query:
    select count(distinct cmv.invoicekey ) total ,'3' as type, 'VALID CALL DATE' as Category
    FROM cbwp_mv2 cmv
    where cmv.colresponse=1
    And Trunc(cmv.Invdate)  Between (Trunc(Sysdate)-1)-39 And (Trunc(Sysdate)-1)-37
    And Trunc(cmv.Whendate) Between cmv.Invdate+37 And cmv.Invdate+39the CBWP_MV2 is a materialized view to tune query. This query is written for a data warehouse application, the CBWP_MV2 will be updated every day evening. My boss wants the condition in the query to consider only business days, for example, if (Trunc(Sysdate)-1)-39 falls in weekend, I need to move the range begins from next coming business day, if (Trunc(Sysdate)-1)-37 falls in weekend, I need to move the range ends from next coming business day. but I should always keep the range within 3 business days. If there is overlap on weekend, always push to later business days.
    Question: how to implement it and avoid performance issue? I am afraid that if I use a function, it greatly reduce the performance. This view already contains more than 100K rows.
    thank you in advance!
    Sam
    Edited by: lxiscas on Dec 18, 2012 7:55 AM
    Edited by: lxiscas on Dec 18, 2012 7:56 AM

    You are already using a function, since you're using TRUNC on invdate and whendate.
    If you have indexes on those columns, then they will not be used because of the TRUNC.
    Consider omitting the TRUNC or testing with Function Based Indexes.
    Regarding business days:
    If you search this forum, you'll find lots of examples.
    Here's another 'golden oldie': http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:185012348071
    Regarding performance:
    Steps to take are explained from the links you find here: {message:id=9360003}
    Read them, they are more than worth it for now and future questions.

  • How to check the usage of ram and cpu Performance for the particular application like sqlserver ,ms word

    how to check the usage of ram and cpu  Performance for the particular application like sqlserver ,ms word
    ranki

    Hi,
    You can use Performance Monitor and add the required counters.
    Check the below Technet article on Performance Monitor.
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    Below are the steps to monitor the process in Performance Monitor.
    - Go to the Performance Monitor. 
    - Right-click on the graph and select "Add Counters".
    - In the "Available counters" list, open the "Process" section by clicking on the down arrow next to it. Select "% Processor Time" (and any other counter you want).
    - In the "Instances of selected object" list, select the process you want to track. Then click on "Add >>" button. Click on OK.
    Regards,
    Jack
    www.jijitechnologies.com

  • Design Patterns, OO Design, and J2ME performance

    Hello- I am a J2ME newbie. I am a design patterny/OO kind of guy using J2SE. I'm trying to create a facade for the business logic on a project I'm working on which will work on both J2ME and J2SE. I have come up with an acceptable design, but I am afraid that the bytecode may end up being way too large for J2ME. For example, I used the command pattern for some functionality, which results in many small Command classes, which is nice for extensibility and functional encapsulation, but creates extra bytecode. Another example is I like to throw specific business exceptions, however, those also require a separate class for each exception. Another example is I like to use TypeSafe enumerations, again, new, unnecessary classes.
    I am aware of some workarounds (create a generic business exception, just put info into the message, don't use the command pattern, use bytes for non-typesafe constants), but I find myself resisting due to my hardcore OO/best practices tendencies. I guess J2ME is a whole different programming paradigm. How are you guys dealing with these issues? The most important issues with J2ME programming are small footprint and high performance, right? I guess I could write more procedural-ish code, but I am interested in any compromises that the OO guys here have come up with. Also, what size is an acceptable library/sdk in J2ME?
    thanks,
    Abraham

    I'm not an OO guy, but I can definitely say that you'll will have to find some comprmises in your designs (the generic business exeption is a very good example).
    Since you are making business apps, you do get some leeway on two issues:
    * As opposed to games, where every cycle counts, for a business app maintainability and scalability are you usually more important than performance, so OO techniques will often be a better choice than a slightly faster implementation.
    * You probably have more control over the devices you will be targetting. The most common limitation for MIDlet size these days is 64KB, so a library that more than 20-30KB probably won't be any good on these phones. But if you know your apps will be run on higher end phones you can make it a lot bigger, since they can often have MIDlets that are up to several MB in size.
    shmoove

  • Numa Organ and Digital Performer

    I just got a Studiologic Numa Organ, and I am very pleased with it.
    My Sequencer is Digital Performer 8,1 on Snow Leopard
    My Audio to Midi Setup sees the Numa ONLY if I connect it directly through the USB port to The Mac
    Audio to Midi Setup will also see my MOTU 128 Express interface also when connected through the USB port however I am unable to connect the Keyboard to the Interface as everything is grayout
    If I connect the Numa directly to the USB interface it doesn't appear in Audio to Midi Setup and Digital Performer doesnt Remap the Instruments
    The Numa is set as "Local on / MIDI on"
    While rcording I can see the various notes in the DP track, nowever when I play back the Numa doesn't make any sounds
    Any suggetions?
    PS
    The MOTU USSSB interface is upgraded to the lateset version

    If you're using Apple Loops, they will conform to the project tempo/key.
    If you have a vocal track you wish to autotune, use Logic's "Pitch Correction" tool. Make sure to place it in the first available insert in your channel strip.
    Cheers.

  • How to improve database and application performance

    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatia

    bhatia wrote:
    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatiathere is no simple answer. There is no DATABASE_FAST=TRUE initialization parameter. There are a myriad of reasons why an application is performing poorly. It could be that the application (code and data relationships) is poorly designed. It could be that individual SQL statements are poorly written. It could be that you don't have enough cpu/memory/disk bandwidth/network bandwidth.
    You need to determine the root cause of poor performance and address it. If you application is poorly designed, you can tune the database until the cows come home and it won't make any difference. If you are trying to run 100k updates per second against a database hosted on hardware that only meets minimal requirements to install Oracle ... well, hopefully you get the picture.
    First, go to tahiti.oracle.com. Drill down to your selected Oracle product and version. There you will find the complete doc library. Find the Performance Tuning Guide
    Second, go to amazon.com and browse titles by Tom Kyte and Cary Milsap. I particularly recommend "Effective Oracle by Design" and "Optimizing Oracle Performance", though I see a lot of new titles that look promising (I think I'll be doing some buying!)

  • Is OS X Lion compatible with Final Cut Pro 6.0.6 and Digital Performer 6.02

    I'm currently running OS X 10.6.8 and my Final Cut Pro 6.0.6 and Digiital Performer 6.02 work fine. 
    I want to upgrade to OS X Lion to take advantage of iCloud but I do not want to have to upgrade the FCP or DP programs.
    Are my current versions compatible with OS X Lion?
    Thanks,
    Brett

    See my tip:
    https://discussions.apple.com/docs/DOC-2465

  • What happened to PDF document 22040 – "PIX/ASA: Monitor and Troubleshoot Performance Issues"?

    Hi, does anyone knows what was happened to the following PDF notes in Cisco? The PDF file is only contains 1 page compared to the original notes in html format which is about a few pages.
    If there is alternative link for this document, please let me know. Thanks.
    Document ID: 22040
    PIX/ASA: Monitor and Troubleshoot Performance Issues
    http://www.cisco.com/image/gif/paws/22040/pixperformance.pdf <PDF Notes, but 1 page only?>
    http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a008009491c.shtml  < HTML Notes>

    Hi experts / marcin
    can anyone of you let me know about my question related to vpn ?
    Jayesh

  • Daily and monthly performance view

    Hi,
    I have problem with the built in performance view of SCVMM 2012 R2 U4.
    The environment consist of 5 hyper-v hosts in a cluster configuration.
    Problem:
    Four of the five hosts does not show network and storage performance counters.
    One host show the storage and network performance counters.
    This is only in SCVMM GUI. From the powershell I can see the performance counters and history of all the hosts.
    The aggregated value of e.g. used memory is not correct in the GUI.
    The performance counters of the hosts are working correctly. SCVMM have access to the servers as well and can read all the counters since it's working from the command line. This has to do something with this SQL database. I need to reset the collected performance
    data or rebuild the performance tables and stored procedures some how.
    This is driving me crazy. Any help is appreciated!

    Hi Polaris,
    Instead of hard coding the HRS as 8 in PCR please try to read the hours from Info type 0007. Sample PCR is as below.
    where EG-1 is intern
    Z105-Time type
    For permanent employee complete calculation will be based on the IT0008.
    Please explain with an example if you still have any queries.
    Hope this helps:)
    Regards
    Rakesh KM

  • GPU/CPU Temps and Graphics Performance Questions

    I am also experiencing some similar oddities with my 15in UMBP. As background on my setup I am running 10.5.7 (the problem began before the update) and I work in an air-conditioned office with a cooling pad for my frequently "toasty" MBP. I have noticed that my temps are significantly higher while running on the NVIDIA 9600M GT vs. the 9400M, and also I use iStat to monitor my system.
    Here's the problems. With only Mail, iChat, Safari 4, and iTunes running (87-93% idle) I frequently see temps hit 150-155 F for the GPU 145-150 F for the CPU. While running on the 9400 with the same applications (87-92% idle) I see temps from 90-95 F for both GPU and CPU. When I had first gotten my MBP I used it mostly with Aperture 2 and I thought it was strange that I couldn't tell the difference in performance between the 9600 and the 9400. Later I tried to use it from time to time in Win XP (bootcamp) for gaming, but it would get so hot that i could hardly touch the keyboard and the graphics performance wasn't nearly what i thought it should be. In fact I was only able to run games slightly better than on my company provided Dell Inspiron D620 (old POS). On the Mac side I tried to test out the performance of my GPU by setting the graphics in X-plane just to the point that with the 9600M GT enabled the program wouldn't tell me that I had too many graphics options turned on. After getting that dialed in I switched over to try it with the 9400 and the performance was nearly identical, and maybe even a little better... I'm not a genius when it comes to computers by any means. I don't know very much about what kind of performance I should be seeing from these two cards, but I would think that the 9600 would greatly out perform the 9400.
    Any feedback or advice would be greatly appreciated

    I used istat pro to get the temperatures and fan speeds. You can download it free here:
    http://www.apple.com/downloads/dashboard/status/istatpro.html
    I turned it on a few hours ago and the temperature of one of the cores reached 70 degrees C and the fan speeds all went up to around 3000 rpm. I'm just going to leave it off for now and take it in to get serviced. Only problem is I have to make an appointment and who knows how long it will take to get it in. Hope it works out for you.
    Kyle

Maybe you are looking for

  • G4 mac mini via dvi to hdmi problems

    I am trying to get my g4mac mini to work via a dvi to hdmi cable to a new sony lcd screen kld-46x2000. I can connect ok via the vga/pc input but the max resolution the lcd will support with the pc input is 1360x768. It is supposed to be one of the ne

  • No sound for MTV Videos

    I have the latest version of flash player and the latest version of the flash player plugin I am using Windows 7 Mozilla firefox 3.6.6, Opera and IE 8 I have no sound only when I try to play videos on mtv.com. There is no sound. I restarted, uninstal

  • Version management in BOR object

    Hi Gurus, I have a custom BOR object and i am checking it from SWO1 transaction.But i am not able to do version management for the Z BOR object.Kindly provide the way to do the same. Thanks and Regards Sudipto Sinha

  • Can't install air app generated from Flex

    Hi, I have just installed the new Flex Builder 3 on my Windows Vista Home Premium. One of the first thins I did was to create a very simple air project (one centered button only). I inmediately exported it as an *.air file to my desktop to see it run

  • Freeze up and no restart

    While my daughter was uploading something (don't know what exactly) from her iPod, the app froze. She force quit the app and at that point the computer froze. When she restarted it, it started up normally but then right after the starting Mac OSX gra