When and how to create a package

I have a doubt about how Oracle loads a package.
Suppose I have a PACK1 package with N procedures inside. When I execute a statement such a PACK1 EXEC. PROC3(), Oracle loads all the package PACK1 N procedures in CMS? I ask for a simple reason. I usually create a package according to the fact that all the procedures inside this package are 'connected' among them somehow. A colleague of mine told me that he would like to put in a package even certain procedures more even though they are not all called among them, but because thay somehow deal with the same subject. Because I think that Oracle loads all the package in the SGA, according to me, it would be wise to put inside a package only procedures called among them.
Can you help me?
Thank you!

Mark1970 wrote:
I have a doubt about how Oracle loads a package.
Suppose I have a PACK1 package with N procedures inside. When I execute a statement such a PACK1 EXEC. PROC3(), Oracle loads all the package PACK1 N procedures in CMS?

Whenever any element of the package is referenced, the whole package is loaded into memory and (assuming it's not aged) remains in memory for future use.

I ask for a simple reason. I usually create a package according to the fact that all the procedures inside this package are 'connected' among them somehow. A colleague of mine told me that he would like to put in a package even certain procedures more even though they are not all called among them, but because thay somehow deal with the same subject. Because I think that Oracle loads all the package in the SGA, according to me, it would be wise to put inside a package only procedures called among them.

You are right. Also if other elements in the package are necessary overhead to call are very weak, because they are in the same memory area. This means that you can and should group related program units so that they can share data structures when necessary and call each other with a minimum load

Tags: Database

Similar Questions

  • What is the trigger in the profile of the AAU and how to create it?

    Hello

    I created metadata for the vacation request (employee name - type holiday...) and I created a rule containing these metadata. But when I create a profile for this rule I can not select the appropriate trigger, it seems that she in the next photo. And I do not know what is the trigger element and how to create one for my rule, and my profile.

    Thank youtrigger.PNG

    1. in ConfigMgr - InformationFields find which option list is used for xIdcProfile. Change the option list (either directly, or in ConfigMgr - view (s), if they come from a table) to add a new trigger to profile value.

    2. in ConfigMgr - profile add a new profile with the new value of the trigger

    This will create a new profile without rules. Assign no global rules for profiles of school boards - it might work, but it is somewhat confusing and very probably will have side effects. A global rule is a rule that is applied to all elements regardless their profiles (even for items without profile create via the standard checkin).

  • When and how the subsidiary ledger data are filled in the Table XLA_DISTRIBUTION_LINKS

    Hello gurus

    I worked on a subledger of accountants and I was able to get a fair idea of how data is transferred from XLA_DISTRIBUTION_LINKS to XLA_AE_LINES and XLA_AE_HEADERS. According to my understanding, "Create Accounting" course XLA_DISTRIBUTION_LINKS data will comes down to from JOUNRAL_LINE_TYPES rules and conditions to load in XLA_AE_LINES and XLA_AE_HEADERS. Then during the 'Transfer to GL', data XLA_AE_LINES and XLA_AE_HEADERS are transferred to the GL Tables. What I did not understand, is when and how the data is loaded in XLA_DISTRIBUTION_LINKS. What are the rules and conditions and during what stage data will be charged at XLA_DISTRIBUTION_LINKS table? Can someone please explain to me how the data is transferred from the subsidiary ledger of the panels to the Table of Distribution of the SLA?

    Thank you
    Sunny.

    Top Notes are good.
    But I just wanted to add a point of fertilizers.
    xla_distribution_links and xla_ae_lines will be filled at the same time.

    The two goes on JLTs and their conditions. One is detailed and the other is summarized / merged.
    xla_ae_lines aura balancing additional lines and xla_distirbution_links were going to win extra / loss lines, which end with zero amount.

    Also check the links for the installer of identifiers for distribution.
    http://docs.Oracle.com/CD/E18727_01/doc.121/e13420/T193592sdextchap.htm#sdextacattg
    http://docs.Oracle.com/CD/E18727_01/doc.121/e13420/T193592sdextchap.htm#sdextdisidg

    By
    VAMSi

  • When and why to create a layer of 'master' in CS6 for multilayer image?

    I would be recognizing a link or a brief explanation of "when and why" and "how to use" a main layer when you work with a multilayer image (psd or psb) file in CS6.

    I did a search on google and have not found anything useful.

    I've seen some tutorials that make use of a layer of 'master' but I don't understand the "when and why".

    Thank you, Chris Bernhardt

    Yes a composit layer peculiarities, a layer of good work.  When creatring in action, particularly if you give the shares to third parties to use the thing can go wrong if you just use Shift + Ctrl + Alt + E to create actions have no idea as to what the Photoshop course is when they start to play. Some targets will cause Shift + Ctrl + Alt + E does not work. The action also has no idea where in the stack of the current target is. If its best to use three steps to create your composir work layer in the actions. [[Shift + Ctrl + Alt + N Shift + Ctrl + Alt + E, Shift + Ctrl +] can be shorten to Shift + Ctrl + Alt + N + E, Shift + Ctrl +].

    Shift + Ctrl + Alt + N adds new enpth layer above the current target without a prompt and becones current target

    Shift + Ctrl + Alt + E stamps visible layers in the empty layer has been added

    [Shift + Ctrl +] MDE the layer that is stamped to the top of the stack.

    The a layer of good work to do a lot of things adds a mask layers can isolate areas of interest converted to a dynamic allows you to use smart filters on it and also have a filtering mask. Smert filtere adjustable re later.

    Change the Anthony mix mond, opacity, fill and blend so gray can help set the effect create you.

    Taking Christmas adjustment layer of sharpness over a few

    Create composites later high add revail mask all convert to smart object layer

    create a contour mask using a channel like a bright choice that resemble a Jordi and white version of the image using the filter edges to find on the channel of Tournay and add an adjustment of the levels intensift the edges and load as a selection of USINT invert.

    Target the smart object layer and use one of the Floreal sharpening on that. The selection of edge will be added as a mask with filter for the dynamic filter used for sharpening.

    Change of the smart object layer blending mode to luminosity so clors are not made only the intensity and then adjust the blend if sliders gary split the black and white sliders to protect images deepshadows ahd hightlights.  Paint with black in the layer to remove unwanted sharpening Ant.

    to change the sharpness adjustment layer

  • When and how to use - type parameter to 'search' parameter as other types.

    We have recently improved BI Publisher to 10.1.3.4. I saw the new type of parameter "search" in the setting section, when the report was created. What is the use of it? How to use it? like other type parameter text, Menu, Hidden, Date.
    I couldn't find any help or release notes on this!

    Thank you
    Ayaps

    Ayaps,

    It's like choosing MENU. For the two you need a LOV. But for the SEARCH, you will get a PopUp LOV with the choice of the search in the list (comparing to the SELECTION LIST, you get to the MENU Type). So SEARCH is more LOVs and MENU for short.

    Concerning
    Rainer

  • How to create browser packages and locale for Ubuntu/Debian

    Since Ubuntu Mozilla Daily app is more regularly so being updated (see https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa ), I want to build my own self-signed Firefox packages similar to those created by Ubuntu Mozilla daily; but I can't find anywhere how they are built.

    In fact I compile Firefox, so I need just the information necessary to build a deb with her package.

    Thank you

    Hello izietto,

    Please contact the Mozilla Support. Thank you for your question, but unfortunately it is out of the scope of what we are able to answer.

    I would suggest checking outStack Exchange and ask your question there.

    Please let us know if we can help with any other questions.

    See you soon,.
    Patrick

  • What is BBThumbs.dat and when and why it created in the emulator and how to disable its creation?

    Hello

    I download a bunch of binary files from the server to a directory under "file:///SDCard/myfolder/".

    I notice that in the emulator sometimes BBThumbs.dat is created in this folder.

    Is there a way to disable the creation of this file.

    I use JDE4.3.0.

    I would appreciate any idea on it.

    -MO.

    the blackberry creates a thumbnail of each image in the file and stores it in this file when you open a folder.
    When you open the folder again the thumbnail can be recovered (if the hash matches) in the dat file rather created, it's much faster.
    Windows did the same thing btw.

  • Why, when and how do I make my project

    HI, I have the first 13 items. I created a wedding video. I did everything what I do, except brands menu. Why, how and when I make the project? I never have to make before burning it or she invites me automatically. I know that the question has many parts, but there seems to be no good info out there which is understandable for a novice. Thank you!

    Render creates just a temporary preview for your timeline. This overview will be:

    (1) put less demand on the resources of your computer, so it will play more smoothly.

    (2) reduce the changes that the program will choke on the effects and the content.

    (3) you give a cleaner view of the video, in order to get a better idea of what will look like your finished product.

    Constantly I went as I work, and I have a powerful enough computer. It's just good service and a nice way of things moving smoothly.

  • How to create a package with the procedures?

    Referring by the net, I've written the following PCK file. I installed my Oracle database 11g in VirtualBox (Win XP). I can able to select tables using the query from the host (Windows 7)

    CREATE OR REPLACE PACKAGE APEX_SYS_PCK

    AS

    TYPE refcursortype IS REF cursor

    PROCEDURE GET_USER_DETAILS)

    D1 ON refcursortype,

    P_USER IN VARCHAR2,

    P_PASS IN VARCHAR2);

    END APEX_SYS_PCK;

    /

    CREATE OR REPLACE PACKAGE BODY APEX_SYS_PCK

    AS

    PROCEDURE GET_USER_DETAILS)

    D1 ON refcursortype,

    P_USER IN VARCHAR2,

    P_PASS IN VARCHAR2)

    IS BEGIN

    OPEN D1 FOR SELECT * FROM APEX. PEOPLE;

    END GET_USER_DETAILS;

    END APEX_SYS_PCK;

    /

    When I try to run the script, I get the following error. How to solve this problem? If there is an error in this package please correct!

    • Project: sqldev.temp:/IdeConnections%23vAPEX.jpr
    • F:\PACKAGES\APEX_SYS_PCK. SQL
    • Error: PL/SQL: analysis of completed Compilation unit
    • Error (1.14): PLS-00905: APEX oppose. APEX_SYS_PCK is not valid
    • Error (1.14): PLS-00304: impossible to compile 'APEX_SYS_PCK' body without its specification

    You are missing a semicolon after

    TYPE refcursortype IS REF cursor

    in the specifications of your package.

  • When and how can I download the upgrade CS6 promised by deal on Creative Suite Design Premium CS5.5?

    Hello

    I bought Adobe Creative Suite Design Premium CS5.5 Student Edition. The case that adobe had promised was a free upgrade to CS6 as soon as it became available to do, if I bought the package by a given date, I did and installed. My question is how (or when) I can access my free download of versions the software content in Creative Suite Design Premium CS5.5 CS6. My purchase was dependent on this free update promised is very important for me to know how and when what can I expect the download.

    Yours sincerely

    Edward Dillon

    I did some digging around and found an article that stipulates they will send you the upgrade to CS6 e-mail ten days after his expedition starting.

    But I couldn't find the upgrade email... until I tried my spam folder and there it was.

    PROBLEM SOLVED!  Am trying to download my upgrade.

  • When and how does the 40 M Reset counter free running?

    Hello friends of LabView,

    I use a cRio 9002 controller RT with a chassis of FPGA 9101 and programming for the target FPGA VI.

    Now, I would like to know the following:

    -What format is the free tick counter 40 MHz running? What maximum ist possible to count?

    -What happens if the maximum number is reached? It resets? How long does take?

    -Or it just starts beginning with 0 without any time to reset?

    Thank you

    Marco

    Hello Marco,.

    using the screws of synchronization for FPGA, you can set the size of the counter internal 8-bit, 16-bit or 32-bit. This size value also sets the maximum possible number, which is the maximum value that can be represented by this record.

    There is no setting for this internal counter and he needs no extra time, as noted in LV for 'Number of cycles' help: a free course counter rolls when the counter reaches the maximum value of the internal meter size specified in the configuration dialog box.

    I hope that answers your question.

    Best regards

    Blase

  • When and how can you synchronize browsers of two computers on the same account after the initial installation?

    I can't find any instructions on how to synchronize Firefox browsing data after the initial configuration is completed and the account is established. Everything that help guard reference section to be put in place, but not how to perform the synchronization operation after installation.

    Firefox syncs automatically, but you can force a synchronization by going to the Tools menu, and then click Synchronize now.

  • Great, when and how

    Hello

    Really cool stuff guys, Yes this opens up yet another business and makes it easier to manage our 24/7 economy.

    No more laptop that moves with you all the time for the strange case when there are problems with one of the servers.

    This raises another issue however.

    What platforms will be supported. I know that my next phone new (I get next week... can't wait ) a nokia 5800 xpressmusic works Symbian... it'll work?

    Or what will this only for windows mobile?

    Thank you!



    --

    Wil

    _____________________________________________________

    Visit the VMware developers wiki at http://www.VI-Toolkit.com

    vCenter Mobile Access is designed to be used from mobile phone browsers, so it should work on many devices.  We did some tests with Symbian (Nokia E71), iPhone, BlackBerry, Android and Windows Mobile and things seem to be pretty good on all of them.  We will be interested in your comments when the download is available in a few weeks.

  • Europe, Netherlands, amsterdam... when and how much fot a simple edition?

    Europe, Netherlands, amsterdam...

    1: how much does it cost to make a unique using DPS on Amsterdam edition, when I have a subscription to creative cloud.

    2: what date can I do a single edition outside europe?

    3: When can I make a simple edition for an android device?

    Cordially, Anne Vossen

    Member of creative cloud

    Hi Anne,.

    1. There is no additional charge for the creation of publications

    2. we do not have an exact date when DPS will be added to the creative cloud

    3. Please post this question on the DPS forum

    http://forums.Adobe.com/community/DPS

    Thank you

    -Dave

  • Europe, Netherlands, amsterdam... when and how much for simple editing

    Europe, Netherlands, amsterdam...

    1: how much does it cost to make a unique using DPS on Amsterdam edition, when I have a subscription to creative cloud.

    2: what date can I do a single edition outside europe?

    Cordially, Anne Vossen

    Member of creative cloud

    Hi Anne,.

    The unique Digital Publishing Suite Edition has not yet been added to creative cloud, but it's coming soon (not able to provide any type of exact date). I don't know of all fresh for the creation of a publication of simple editing, but you can post the question on the DPS forum for confirmation.

    http://forums.Adobe.com/community/DPS

    -Dave

Maybe you are looking for