Hi,
I have a performance problem. A java client is used to insert several hundred thousands of entities into an Oracle9i database. An entity is composed of data from several tables. During the insert checks are made. Because of the checks the inserts are very slow after 100k. I have found where the problem is and I modified the package but I don't know how to update the package "on-the-fly". I cannot interrupt the java client as it will have to start the process from the beginning. My present solution is to suspend the Oracle process, update the package and resume the process. On the previous versions of Oracle oradebug could be used to suspend and resume a certain process. In 9i if I try to set the orapid and suspend I get my session suspended and not the Oracle process which I need to be suspended. Do you have any idea? What I am looking for is to be able to update (replace) a package body while a connected user is using it.
Thank you very much,
Bobby