Anonymous performer of Oracle PL/SQL in the Production environment leave a residue?

Hello

In my project, we have a large PL/SQL in Prod-Replica Envt to generate scripts. However, to reproduce Prod for this Prod-Replica lasts long and is causing a delay to respond to change requests.

We have READ ONLY access to Prod DB, but we cannot deploy the PL/SQL Package it. We plan to convert the PLSQL in an anonymous block PLSQL and running it in PROD DB to get real data. Alternatively, we can run it directly or via Java and then read the DBMS output later. as mentioned here-> the use of cursors and results in Oracle PL/SQL, Java/JDBC - Stack Overflow

, However, is not an expert in PL/SQL, I wanted to know, if it leaves residues in PROD outside the additional load a temporary server for read queries. We only select queries in this PL/SQL and so I donot believe we leave triggers or change the DB somehow.

Can you please let me know the possible consequences of it.

-Thanks & Regads

-Scott

There will be an impact on the server, the conversion of code unit of PL/SQL (procedures and functions) must be encapsulated in a single code PL/SQL anonymous block.

This anonymous PL/SQL code block needs to be parsed and compiled - burn a lot of CPU (that oppose the use of unit code already compiled PL/SQL).

This anonymous PL/SQL block is likely to be very large because it contains too many units of PL/SQL source code. This needs memory to the server as the whole code block will be stored in the shared pool (for analysis).

Another impact on performance would be wise to network. It requires more bandwidth to transfer this big block of code (created by the customer) to the Oracle server. This increases latency. And is not an evolutionary approach.

So no, there is no "residue" of the code inside the actual physical database code is never stored in the database. However, this approach and the code will affect negatively network and server resources.

You should consider the problem and determine if this solution you have in mind, justifies this impact.

Tags: Database

Similar Questions

  • Isolate the production environment servers in a test environment

    I would like to create a clone of my production SQL and Sharepoint server environment and isolate the servers from the rest of the environment. What I want to do is to create a new volume on my SAN and clone the two servers to it. After that, I want to always allow access to a consultant in order to access servers remotely while not allowing the rest of the production environment to see the servers. Is there an easy way to configure this?

    You can work with NAT.

    Add a virtual machine acting as a NAT and gateway in this "isolated" network

    Or, simpler, add a server or a client with a dual NIC, an isolated network and the other in the local network.

    André

  • Error 401 during the passage of the assessment of the production environment

    Hello

    We recently moved our application for assessment of the production environment by using the credentials provided by the Push of BB Services, only to find out that we receive an "HTTP 401 - PushServiceId/password status invalid in the authorization HTTP header" whenever we try to send a push notification.

    We do not have change our code (which works very well using assessment data) at all except for his replacement by credentials. We use the URL https://cpxxx.pushapi.na.blackberry.com/mss/PD_pushRequest to send our push notifications, where xxx is the CPID provided by BlackBerry, and we're certainly using the password for the initiator to push (instead of the password for the portal content provider).

    Needless to say that we are base64 encoding app id and the password in the header, and as I said if switch back us to the environment assessment (change credentials), everything works fine.

    This becomes a problem, I would appreciate help if someone was faced with a similar problem.

    That's all. He works with the new credentials.

    Thank you.

  • How to use the command import on the production environment?

    Hi gurus of the OFA.

    I want to know about the production environment OAF and development environment, the differences between them and how to use the command import on the production environment?



    Concerning

    Ajay Sharma
  • How to deploy my portal to the production environment

    Hi all

    I use the ASDK developed an access portal, my question is how to deploy my portal to the production environment? You must also install the ASDK in a production environment? Or just install the package of execution?

    Thank you
    Alan.H

    Hello Alan,.

    Is this an application ASDK 10 g or 11g? In both cases, the answer is really the same thing: do not install the ASDK in the production environment, but for 11g it's much easier to do.

    Kind regards
    Colin

  • Oracle dynamic SQL with the UNION operator

    Hello

    I have sql string contains two queries separated by the UNION operator. When I run by using DBMS_SQL, it becomes only the first SQL before the UNION operator.

    Can anyone correct how can I Sue UNION in DBMS_SQL?

    Thank you

    Sorry,

    I tested my code

                        BEGIN
                          FOR I IN (SELECT 1 A FROM DUAL UNION
                                  SELECT 2 A  FROM DUAL UNION
                                  SELECT 3 A  FROM DUAL) LOOP
                          DBMS_OUTPUT.PUT_LINE(I.A);
                         END LOOP;
                        END;
                        
    

    and copy this code and PASE to DBMS_SQL. PARSE (all other cases, "... and insert the INSERT STATEMENT but does not erase DBMS_OUTPUT.")

    Edited by: Quluzade Mr. Mahir on February 28, 2011 12:18

  • optimization of the performance of Oracle 9

    I read the paper on the optimization of performance for Oracle 9. Unfortunately, my production db is version 10. My question is: to what extent can I rely on this old book Oracle? TX

    Published by: Indra Budiantho, Sep 11, 2012 20:48

    Hello

    Oracle 10g has several new features for performance, such as dbms_xplan.display_cursor, then a book 10 g AWR/ASH etc is usually better in your case. However, some tuning books are forever for example (Milsap and Holt) and it does not really matter tht they speak of same 8i or 9i.

    Best regards
    Nikolai

  • Benchmark of Performance space Oracle to ESRI vs Oracle EE vanila

    Do we not have any indicators to improve performance, compare performance with Oracle EE database as the back-end, vs Oracle Spatial with ESRI ArcGIS of ESRI (especially during the edition of map).

    Just to add my $0.02, what has already been said...

    We use the SDO_GEOMETRY and the ST_GEOMETRY of ESRI here. Hands down, SDO_GEOMETRY is faster - returned from the database. No contest.

    HOWEVER - this is not what the user. What they perceive as database performance, it's the speed at which Arc attracts some data on their screen. That's where the problem lies. We found in many cases, their ST_GEOMETRY format (like their old format BINARY SDE) restores at least an order of magnitude or more quickly, even if it takes more time for the database to extract the data and send it back.

    Frankly, their SDO_GEOMETRY rendering support was always very bad, and it still shows. Screens of the application of GIS Java web start developed 10 years ago by using the old Java 2D makes shots even away from the CRA API anything in terms of rendering performance, even in 4 K. I'm talking of second vs 58 seconds for an index of comparison I did with 10.3. Sharp zooms smooth zoom blur clumsy vs. In this case, the database returns the data in less than 1/10 of a second. The rest of the time was stack all - and in the case of our application, which involves a medium level and client VS the arcmap client/server model. AND - which is also including time to math for POI lat - lon on the fly that extends to every latitude square grids.

    Again - the perception is reality to end users. In our experience, Oracle is faster with SDO_GEOMETRY. But their application code is almost always much faster with their native format - and this is the real bottleneck here.

    Bryan

  • Q-Oracle/Tuxedo system alongside the version 6.0 or higher

    Hi Little Todd-Oracle how things are?

    My work team have two questions related to the queues in Oracle Tuxedo.

    our team wondered if Oracle Tuxedo/q system to 12.1.1.1 version can interoperate with Oracle Tuxedo/q system to version 6.0. We are in doubt if a Tuxedo domain to 12.1.1.1 version have access or a way to use the queues deployed in another area Tuxedo to version 6.00 or higher. If so? How does it work?

    Other questions are what concerns the advantages and disadvantages to have a queue by queue space or the queue of more than one in a single space in the queue? the reason why we ask, we realized that our client development environment and production environment are made slightly different. In the development environment, there is a space in the queue and the queues are in there but in the production environment has created a space of the queue for each queue.

    Could you provide some ideas of theses and expertise for us?

    Thank you so much once again.

    We hope that you do well.

    Best regards.

    Hello

    I'm fine, thanks for asking!

    About the interoperability/q, I know exactly what you are trying to accomplish.  If it is really several areas, then it should not be a problem.  / Q use the servers TMQUEUE access to the queues/q.  These TMQUEUE servers are accessed through a service name that is the same as the name of queue/q.  He tpenqueue() and tpdequeue() API just call a service under the name of the queue under the covers.  If you can bear/q on several areas important name space of expectation as a service name in the configuration of the domain gateway.  We support connections between the different versions of Tuxedo, it "should" work, which means that the customer or you need to test this first.  Make sense?

    Regarding the queues by queue space, I think it is largely a question of scalability.  Each queue has one or more servers TMQUEUE who manages the space in the queue including all queues.  So if you have a single space with 5 cocks in it and a single server TMQUEUE queue, you can manage maximum simultaneous operations for queues 1/q.  You had defined the 5 lines each in a separate queue space, then each would have its own server TMQUEUE which means you could service 5/waiting queue of requests simultaneously.

    I hope that helps!

    -tl

  • Creating a database from backups of the production test

    Hello Experts,

    I'm a newbie with a lot new in Oracle. I got the backup inc0 (which includes even backup controlfile) (PROD) production base taken by RMAN and asked to create a new test database (TEST) by using the backup. Can someone please give me the steps on how to restore and create the new database?

    The 10.2.0.4 basic version
    I am aware of the concept of duplicated with RMAN database, but I was asked to do not connect to the target (PROD) database while duplicating. So, I need to create the test database using the prod database backup without being connected to the PROD database. Please guide me.

    Refer
    http://arjudba.blogspot.in/2008/05/restore-and-recover-database-to-new.html
    RMAN restore database from another backup of the different database name

    When you perform a restore using backup of the production database, the db_name would be same on the auxiliary database. Once you restore and recover the database in your test server, you can change the prod db_name to test by recreating the controlfile

  • Is there real problems leaving the production as a 'full of APEX development environment?

    Hello

    We have recently installed APEX (5) in our production and Test environments.  We have not all applications running in Production at the moment.  Looking through the documentation I've learned that you can configure an instance of the APEX "APEX full development environment" or a "APEX Runtime Environment" and you can switch between the two through scripting.

    It is recommended to set your runtime production environment.  However when you do this you will lose access to admin functions.  My questions are:

    (1) if we look / account ADMIN secure as well as all users in our application workspace, is so no REAL question simply letting PROD as development environment?

    (2) If you make your Production environment, a runtime environment, it seems that you can import only new applications via the SQL script.  What happens when you export out of your Test instance and it has an application ID that is already used in the Production environment?  When you import forward, it lets create you a new application ID instead of using the existing one.  I fear that the admins will accidentally overwrite an existing application if they import via the script.

    You can keep the Apex Builder in production. Indeed, it gives you a lot of additional options.

    Ask the administrator to disable all accounts developer of workspace in the production environment, however.

    Also, export the applications run only, not run & Build. It gives a little extra coverage.

    When you import forward, it lets create you a new application ID instead of using the existing one.

    It would be bad practice. You would create a nightmare of versioning IMHO. What happens if you get an error of production application ID 1231, page 21, which is the application ID 132, page 21 in development? How can you know which application is which?

  • How to replace a page in the production of development?

    Hello

    My development environment is Apex running locally on a Windows 7 box (Apex 4.2.2) and Oracle 11 g.  I want to export a single page of the development application and import it (replacing the same number of page) in the production application that resides on a server hosting on the 3rd party app (also version 4.2.2).  When you import into the production environment, I get the following message.

    "This page was exported from another application or application in the different workspace. Page cannot be installed in this application. »

    There must be a way to export/import a single page of a development in an environment of production environment.  What approach should be taken?

    Thank you

    Kim

    As long as the applications have the same app id, you should be able to export development and import production... However, this is NOT the recommended method for making migration...  Better make an app as apposed to pages...

    Thank you

    Tony Miller

    SmartDog Services

    Austin, TX

  • In regards to the product class Import

    Hello

    I just wanted to know can we import the class of product in the Production environment.

    I understand that even if we import, but we cannot map the Product Spec and will the deployment. Is this common undertanding...

    Thank you in advance

    Classes of products can be imported into DS (Design Studio) at design time and must be mapped to ProdSpec manually.
    When this mapping is performed in the design studio, productClassMapping.xml will be formed which will be used later in the mapping/validation of products upstream to the OSM product specifications.

    Yes, you need deployment when you try to add new classes of product in the OSM.

    Instead of add plug your orchestration/som cartridge prod, have a cartridge for maintaining product specifications and classes of products where you can view these from your orchestration/som cartridges. So that your deployment requires only changes in the classes/technology of the product.

    Guys, correct me if anything wrong above.

    Srinivas-

  • How to get on the production system for webcenter sites

    Hello

    I installed the webcenter and them deployed on weblogic sites. AVISports and FirstSiteII sample sites also were set up, now how can I go on the delivery/production url?

    IF we need to install the top gadgets then how can proceed us?

    Thank you
    Rajiv Jain

    For the installation of Gadgets, you can follow:
    https://docs.Oracle.com/CD/E29495_01/doc.1111gadgets_11gr1_installation_guide.pdf

    Please make sure that you install gadgets in different computers (not yet separate server on the same machine), pointing to the installed cs. It is not documented, but we had this info by SR Oracle.

    For the production url, I am also awaiting a response:
    URL of the real site in the production server?

    Thank you
    Aalami

  • Transfer of App a workspace to others in the hosted environment.

    Hello

    I have two work space namely dev_application and prod_application in hosted environment.

    It's the first time that I have will transfer an application from development to production ( Note: I'm not a software engineer.) I am a GIS who works with excel and try my hand to convert excel database work at the Summit which proved to be a great great great success*).


    Can someone guide me to transfer my application to development of the production environment.

    My request: -.
    1. application
    2. a jquery filed in image direcory
    3. the table, sequences, indexes, functions associated with.


    Note: My application is in the HOSTED ENVIRONMENT

    A link to a good tutorial or step by step assistance will be highly appreciated.



    Kind regards
    Shijesh

    Create DDL scripts to configure each environment database in the way that suits you (create tables, indexes, packages, etc.). Use the Oracle database as export datapump utilities to export data from a database and import in another. JavaScript, you must specify your needs with precision in words where it is stored. Even with the images and css.

    If you create an application packaged for installation in many databases, you can create an installation script that goes along with the application. See the User Guide and the page objects supporting in Report Designer when you select an application. There are a lot of instructions throughout.

    Scott

Maybe you are looking for

  • Microsoft has a tool for rar files

    Microsoft has a tool to extract a rar file or a site approved by microsoft, where I can get the tool

  • The ZTE mf622 dongle works with Windows XP, and are there any software updates for this?

    Original title: I gave myself a dongle from ZTE MF622. The zte mf622 dongle works with windows xp, and are there updates software for it, as in this moment, it comes up saying dial * 99 #, when I try and connect to the internet?

  • Windows will not load the locally stored profile

    Windows displays a message saying that windows cannot load the locally stored profile. possible causes of this error include insufficient security rights or a local profile damaged if the problem persists contact your proveedor of network... and the

  • Internet Security 2010 (Anti virus)

    I have this free trial thing in my comp. n it keeps do pop ups constantly! I can't locate to remove from my system? I downloaded a new anti virus AVG. So I am I protected but can not get rid of this other? Can anyone help?

  • My PSC 2410xi photosmart will not print!

    I have a printer HP psc photosmart 2410xi recently received an updated driver to coincide with my recent upgrade to Windows 7 32 bit. I used the Scan doctor who found no errors, I even followed the steps described in the "Windows 7 update does not in