Results from V$DB_OBJECT_CACHE - the next move?

Hi.
I have run this query onour production db to show which objects we dont have cached in the shared pool.
select owner, name, type, sharable_mem, executions
from V$DB_OBJECT_CACHE
where sharable_mem > 10000
and type in ('PACKAGE', 'PACKAGE BODY', 'PROCEDURE', 'FUNCTION', 'TRIGGER')
and kept = 'NO'
order by sharable_mem desc
there are a considerable number of packages that are not cached (sharred memory of 130893 and executions of 1001559) and which should be cached.
There is this statement to cache them:
EXEC SYS.DBMS_SHARED_POOL.KEEP ('object name');
Before I get the go ahead to do this, our DBA wants to know what impact this will have on the db.
Will I have to increase the shared pool size to accomodate the objects I pin there, or will it dynamically grow?
Note: I have verified the size of our shared pool and its
384M, and its set to dynamically grow.
The issue I suppose is if I add several objects, we need to be sure the shared pool doesnt grow too much - how much is too much? Should I calculate the extra memory needed for each package I add to the shared pool and discuss that with our DBA?
Thanks.
Oracle 9.2. AIX UNIX
Message was edited by:
Dan A

Don, I am still reading the link you sent. I ran the query you posted and that seems to produce a list of all the packages that we have, and wheather they are stored or not.
I guess the golden question is, as you put it , why should they be cached? No, we dont have standard as I know.
I will continue to read your link on the "recommended" pinned packages.
Actually your link hits the nail on the head when it states:
The choice of whether to "pin" a procedure in memory is a function of the size of the object and the frequency that it is used. Very large procedures that are called frequently might benefit from pinning, but you might never notice any difference because the frequent calls to the procedure have kept it loaded into memory. Therefore, since the object never pages-out, the pinning has no effect.
In an ideal world, the shared_pool parameter of the init.ora should be large enough to accept every package, stored procedure and trigger that may be invoked by the applications. Reality, however, dictates that the shared pool cannot grow indefinitely, and wise choices must be made regarding which objects are fenced
Those "wise choices" remain to be made!
Thanks a lot.
Checking out Metalink, note 1012047.6, explains how to oin the package, adn when we should do it. But if doenst mention any other impact that this could have on the db performance. I need some of you experienced guys out there to give me this advice please!
Perhaps one idea might be to use this query to see the size of the library cache within the shared pool:
select name, bytes/1024/1024 "MB"
from v$sgastat
where pool = 'shared pool'
order by bytes desc;
and do this in test: add the packages that I want to add in Production and see how the size is affected.
Message was edited by:
Dan A

Similar Messages

  • Chess.app runs OK on my MacBookPro under OS 10.6.8. Under the same OS on my Mac Pro Chess.app will not show the hint for the next move.

    Chess.app runs OK on my MacBookPro under OS 10.6.8. Under the same OS on my Mac Pro Chess.app will not show the hint for the next move. The detail on the desktop MacPro is 
    Model Name:    Mac Pro
      Model Identifier:    MacPro1,1
      Processor Name:    Dual-Core Intel Xeon
      Processor Speed:    2.66 GHz
      Number Of Processors:    2
      Total Number Of Cores:    4
      L2 Cache (per processor):    4 MB
      Memory:    1 GB
      Bus Speed:    1.33 GHz
      Boot ROM Version:    MP11.005C.B08
      SMC Version (system):    1.7f10
      Serial Number (system):    G87212BJUPZ
      Hardware UUID:    00000000-0000-1000-8000-0017F20A3C06

    Hello
    did the keaybord shortcut work ?
    For info chess app come from system install
    HTH
    Pierre

  • Is there a way to prevent iTunes from automatically starting the next playlist file on the iPad?

    Is there a way to prevent iTunes from automatically starting the next playlist file on the iPad?

    When you connect the device open iTunes and select it from the sidebar. Click on the Summary tab in the main window. Uncheck the option to automatically connect to iTunes. You will find it in the collection of options near the lower part of the window.

  • Apple tv  "unauthorized"  it was a rental from itunes and the previous movie played no problem.  From ipad on mirror.

    it was a rental from itunes and the previous movie played no problem.  From ipad on mirror.

    Was an internet connection available?
    I'm not sure I would ever play a rented movie by mirroring from an iPad as mirroring is lossy and reduces quality.
    It may actually not work via mirroring.
    AC

  • When I have two audio clips next to eachother, how do i 'dissolve' them so its a smooth transition from one to the next?

    I have a few clips besides eachother.. levels are up and down, but i want to do an 'audio dissolve' per se, or fade from one audio clip into the other.. to make it smooth..  how do i do this? thanks

    One might think that you could simply drop a transition effect on to two connected audio clips to fade from one to the next. In fact, that's what the menu seems to imply:
    But you can not. No transition effects can be attached to Connected Clips. The menu lies!
    There are however several ways to do accomplish the transition.
    You can overlap them and drag the fade gadgets like this:
    Another way is to transform the audio clips to a secondary Storyline (command-g). This will allow you to use transitions.

  • How can I prevent the Videos in iOS 8 from automatically playing the next episode of a TV Show?

    I noticed that, after updating my iOS device from iOS 7 to 8, that when it's finished playing a TV Show episode in the Videos app, it begins playing the next one. I like to fall asleep, listening to a single episode knowing that it'll stop and eventually let my iPad fall asleep, but with this change in iOS 8, it will play through the rest of season before doing so.

    Thanks.
    I noticed you bolded "Apple-branded apps" from the first sentence of section 2 (c).
    What is the definition of "Apple-branded" in this context?
    For example, "Apple Watch" is now a preinstalled app, and would seem to fit the definition of "Apple-branded", but I can't uninstall it.
    Ingo2711 wrote:
    Not all apps can be removed, for example Safari, iWatch, Weather,... they all come with the iOS software. Only some apps made by Apple that are available in the AppStore can be removed again, if preinstalled on your iPhone 6, for example Pages, Garageband and some others.
    You can remove those and install them later again by downloading them again for free.
    (c)To the extent that Apple has preinstalled Apple-branded apps from the App Store on your iOS Device at the time of purchase (“Preinstalled Apps”),

  • How can I make a row of cells containing 3-digit decimals, who's values resulted from calculations within the spreadsheet, appear as durations of minutes and seconds?

    Row 6 in this spreadsheet is the result of Row 2/Row 3 as evidenced by the formula listed while Cell Y6 selected. How can I make the values in this row appear as durations of minutes and seconds rather than 3-digit decimals? For example, rather than appearing as 9.84 I would like the value of Cell Y6 to appear as 9:50 or 9min 50sec. (obviously .84x60seconds 50 seconds). I tried changing the cell formats from "number" to "duration," but no change is made. Using the "duration" format does however work if I am manually entering the decimal value into the cell rather than allowing it to result from another caluclation within the spreadsheet. Is there a solution to this within Numbers '09? You can see why I would want the "pace" displayed in minutes and seconds. Thanks in advance!
    Ryan

    Hi Ryan,
    You wrote:
    "The problem is that my "Distance" is a row of automatically generated values resulting from ((Row1/60)*Row 6). Changing the format of Row 1 to minutes causes row two to be expressed as a duration, which obviously it shouldn't because it is a distance. The spreadsheet has to be designed so that all I have to manually input on each entry are Row 1 Values (Time) and Row 6 Values (Average Pace). The rest of the cells must be automatically poulated as a result of formulas."
    I'm assuming that where you say "Row 1" in this you mean "Row 2", which is labeled "Time" in the example in the OP.
    In the original post, you presented a formula from cell Y6. Replacing the Header labels in that formula's cell reference with the Addresses of the referenced cells, the formula was:
    Y6: =Y2/Y3
    In this post, you are saying that Y6 contains entered data: "...all I have to manually input on each entry are Row 1 Values (Time) and Row 6 Values (Average Pace).
    Which is correct?
    Regards,
    Barry

  • When I try to install from App Store, the timer moves and then nothing happens...should I just try again tomorrow?

    When I try to install Mavericks from the App Store, the timer moves and then nothing happens. When I first attempted to download Mavericks onto my 2009 15" macpro the program started to download and then seemingly froze up- my partners started after mine and then finished on her 2010 13" macpro... I have gone back several times to the store, restarted my system and am getting nothing... Perhaps Ill try again tomorrow?

    If you have an iPod with iOS 3.1.3 then it is due to an Apple problem.

  • If I put the contents of my iTunes library on an external HD to free up space, how do I stop losing it from my iPad the next time it syncs?

    if i were to transfer the contents of my itunes library to an external hard drive how do I not lose it from my i pad the next time it syncs ?

    as long as you change iTunes preferences to point the new location, you'll be fine.

  • TS1398 In "Set Up" I try to select our secured WIFi router from the list of available networks.  However, it will not allow me to select it. This then prevents me from going to the next step. What do I do?

    In "Set Up" I have tried to select our secured WiFi router from the available list shown.  It is listed.  However, when I try to select it, it will not check off or remain blue when I lift my touch.  This then will not allow me to go on to the next step.  What do I do to connect to a secure WiFi router? I do know the WEP Key number but there is no place to type then in.
    Alice from Hart

    The trial can only be loaded 1 time as far as I know. You could try http://labs.adobe.com/downloads/acrobatcleaner.html, remove any left over parts of the Acrobat folder, and reboot. Then try an install again, but my guess is you will have to purchase Acrobat at this point.

  • HT2905 When i delete an unwanted song from my library, the next time i switch pc on, the song is back in my library, it must be in the cloud so how do i remove it from the cloud.

    How can i delete an unwanted song from itunes cloud, each time i delete it from my library, it comes back again the next time i switch on.

    Hi harryhal!
    You may want to make sure that your preference for showing iTunes in the Cloud purchases is turned off:
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    Make sure that you have "Show iTunes in the Cloud Purchases" enabled in your iTunes preferences by going to iTunes > Preferences in the Store tab and clicking OK.
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • My playlists will neither shuffle nor go from one to the next.  Instead it repeats the same song over

    My playsists will neither shuffle nor go from one song to the next.  Instead it replays the song selected.  Can this be fixed?  I have already rebooted the phone and it didn't change.

    In the Music app, after you select a playlist ans start playing a ong, note that on either side of the progress bar are arrow-like symbols. These control shuffle and repeat modes. Click on the one that has the arrows arranged in an oval. If it is blue, it's on; white means off.

  • Stopping tab from moving to the next focus component

    I have a single TextInput field in my component and I want to
    stop the tab key from advancing the focus when I have an error in
    the field. I have tried using setFocus() and that seems to do it
    although I lose the caret in the text input field. Also when I tab
    I notice that even though I am telling the component that the next
    focus is the TextInput field it still goes to the Internet Explorer
    address bar. Any ideas?

    Append the system's line separator usingjava.lang.System.getProperty( "line.separator" );Then the added line will be placed as you've wanted. Code will be written like below:yourTextArea.append( System.getProperty( "line.separator" ) );
    yourTextArea.append( yourStringToAppend );Hope it helps.

  • How can I stop my lock-in results from oscillating. The low pass filter is creating artificial noise

    I am using the lock in amplifier kit and sort of sending some of the parameters manually. I choose manually the low pass filter.
    Now I find strange behavior depending on the filter I choose. 
    The lock in results oscillates in time, the higher the dB roll off the longer it seems to take to stabilize. Also the frequency of the oscillations becomes lower. This I don't find too weird, the problem is that it just won't stop. 
    If I use a small time constant and there is no real change in my signal I can easily follow the shape of the the oscillations. 
    If I use a larte time constant it seems there is an average over the oscillation and then it looks as if it was noise. 
    All the time my signal has not changed one bit. 
    This is very anoying since it produces about 20-300microV of noise. (peak to peak amplitude of the oscillations) 
    So far I've gotten the best results with the IIR (5dig) with 40dB roll off and order 1
    Does anyone have an idea of what to do?

    Hi BlankaFlux,
    could you maybe provide us with a more specific example? What kinds of filters have you tried?
    For information on advanced digital filter use, please see the following pages:
    - Working with LabVIEW Filtering VIs and the LabVIEW Digital Filter Design Toolkit VIs
    - Digital Filter
    Maybe you could look into trying the NI LabVIEW Digital Filter Design Toolkit
    Happy holidays!
    Peter
    Peter A.
    Field Sales Engineer, NI Germany

  • Is there a setting that prevents you from moving into the next "set?"

    A couple times I have mistakenly hit my "next patch" button one too many and ended up in the next set. This is a problem because the backing track that was playing suddenly stops because I am in the next set, understandably.
    Is there a setting or mapping that I can use so I can't enter the next set using the "next patch" button and only use the "next set" button.
    Any ideas out there???
    Thanks!!!!

    Forget the physical controller button for a moment, that's a red herring.
    I have a single button on the screen that for SOME PATCHES ONLY, has the action "Current Program Number" associated with it. In the "Map Parameter" area, there are two sliders for which you set values for "Button On" and Button Off". Those get set to the same value, which is the value of the patch to which you want to go next.
    So suppose you have patch 1 and in that batch, the aforementioned button has its values set to 5, then if you press that button WHEN YOU ARE IN PATCH 1, then you will switch to patch 5. Now, further suppose that in patch 5, that same button has its values set for patch 12. Then pressing that button WHEN YOU ARE IN PATCH 5, will take you to patch 12.
    Now, if you go into learn mode and associate that screen button with a physical controller button, then you can do exactly the same thing by pressing that physical button. The patch to which you will go will depend on which patch is currently active. If the last patch in that chain doesn't have any values associated with the button, then pressing that button (via your controller) will do nothing at all.
    I suppose that if you're concerned with hitting that controller button by mistake, then you might actually want to have two buttons, one that takes you to the next patch in your chain, the other to the previous.

Maybe you are looking for

  • How can I remove seemingly "non-deletable" calendars on my iPhone 4S?

    How do I delete multiple calendars from my iPhone that were left in the wake of switching to iCloud (from MobileMe) then back out-since I'm not up to 10.7 on my Mac yet?

  • TRANSFORMER_EXCEPTION

    Hi Experts, In SXMB_MONI messages are failed due to the error: It seems to be XSLT mapping error. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Request Message Mapping   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"

  • Shortcuts netbeans 6.1

    Does anyone know the shortcuts in netbeans 6.1 for include a directive '<%@ page import="..." %>' in a jsp? Thanks.

  • Using single scene from iMovie/iDVD

    Posted before, but let me try again. I created a movie in iMovie, broken down into chapters/scenes. The last scene was a slideshow, with effects and music. I exported it to iDVD, and burned it to disc, then archived the project. Now I wish to use the

  • Deleting declined events

    I'm terribly frustrated!!!  My boss sent an invitation (in Outlook).. I declined (hehheee) and it STILL appears on my calendar! It's slightly shaded as if to let me know ive declined the invite, but now it's there and I cannot delete the event at all