Shared PL/SQL Area of the Library Cache

When Oracle allocates a Shared PL/SQL Area, do the SQL statements in the block get broken out into a separate Shared SQL area?

They should be in v$db_object_cache.
See: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1083.htm#sthref3589
Message was edited by:
Pierre Forstmann

Similar Messages

  • Concurrent sessions accessing parsed sql from the library cache

    Hi there,
    I am having five concurrent session firing exactly same SQL statement inside a stored procedure.
    Stored Procedure
    PROC1(a int)
    begin
    select <C1>,<C2> into <V1>,<V2> from <T1>, <T2> where <JOIN between both table> and T1.<C3>=a;
    end;
    All those five sessions are calling the procedure PROC1 which subsequently executes the sql statement.
    Execution time of sql statement is 2 seconds.
    I ma wondering whether all other sessions will wait for the currently executing session to release the latch on parsed sql(getting stored in the library cache)? (In this case last session will wait for 8 seconds) Or would they execute in parallel with their own copy of parsed sql?
    Please help!!!
    TIA,
    Nishant

    Would it be like that the first session will hard parse the SQL statement and all other concurrent sessions will have a "softer" soft parse and take a copy of query plan and execute the statement without waiting for each otherYes, I think this is the way it works according to official Oracle documentation
    (and why there is a shared pool).:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/sqlplsql.htm#i2196
    But I don't know if you can find detailed documentation about all latching steps for hard parse and soft part steps.

  • A  project on iMovie 09 that  Freezes(only the project)  the viwer window blocked in gray ... .. After editing that  took me a year I'm stuck . All my finished projects that are in the Library infected with the same symptoms and it happens only after I w

    a  project on iMovie 09 that  Freezes(only the project)  the viwer window blocked in gray ... .. After editing that  took me a year I'm stuck .
    All my finished projects that are in the Library infected with the same symptoms and it happens only after I went into the problematic project.  
    I tried to open a new project and everything works
    ...I also tried throwing Recent Files, in the past It solved the problem ,not this time ...
    the problem is that this project will take me a long, long time to rebuild
    imovie 09
    Model Name:          iMac 
      Model Identifier:          iMac10,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          3.06 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          3 MB
      Memory:          4 GB
      Bus Speed:          1.07 GHz

    This recently happened to me.  I am a novice, but it seemed like that project got corrupted some how.
    I deleted it.
    Went to time machine and picked it up again when I knew it was working ok.
    I lost a few hours of work, but not the entire project.
    Once I had the project back from time machine, it worked fine (but like I said, I lost a little bit of work).

  • I just loaded some July pictures into my PC iCloud photos upload folder, but I do not see them with my iPad. Are they not shared because they are past the 30 day window, or is there a different issue?

    I just loaded some July pictures into my PC iCloud photos upload folder, but I do not see them with my iPad. Are they not shared because they are past the 30 day window, or is there a different issue?

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • For how long the library Cache latch is hold.

    Hi ,
    For how long the library Cache latch is hold.
    Is it hold , till the new sql is placed in the library cache
    or
    Till it got parsed
    or
    Till it got executed?
    Thanks
    Naveen.

    Hi ,
    For how long the library Cache latch is hold.
    Is it hold , till the new sql is placed in the library cache
    or
    Till it got parsed
    or
    Till it got executed?
    Thanks
    Naveen.

  • I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users.  Why are they in the libary and not in the itunes music folder. Win 7 OS

    I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users.  Why are they in the libary and not in the itunes music folder. Win 7 OS.  When I look in the library under the get info screen it says they are in the folder itunes music, under the c: drive but when I actually go to that folder to look for them they are not there....HELP!

    Hello RumDog,
    I think this article will help you find the media in your library.
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Discovering and changing the iTunes Media folder location
    Note: You would usually only change the iTunes Media folder location to share music between accounts on the same computer. See this article for specific steps on how to accomplish this. Also, see this article if you want to know how to move your music to a new computer.
    Mac OS X: Click the iTunes menu and choose Preferences.
    Windows: Click the Edit menu and choose Preferences.
    Click the Advanced pane. iTunes displays the location of your iTunes Media folder.
    You can then:
    Note where your media folder is, such as for backing up your media.
    Use the Reset button to reset it's location to the default (which is the iTunes folder).
    Click the Change button to select a folder for a new location. Once you change this location:
    If you make a new or alternate iTunes library, the new location will be used by that library.
    Existing files will not be moved unless you choose File > Library > Organize library and choose the option to "Consolidate files."
    From: Where are my iTunes files located?
              http://support.apple.com/kb/ht1391
    Cheers,
    Sterling

  • My iPhone has my daughter's music but those same songs do not show up on the computer in the list of songs on my iPhone. They are in the library though

    My iPhone has my daughter's music but those same songs do not show up on the computer in the list of songs on my iPhone. They are in the library though

    Wondering if you haven't been bitten by the new "feature" of iOS 5, as was my son. turingtest2 explained it very well in reply to my own query about "missing" songs in playlists.
    Here's that thread...
    https://discussions.apple.com/message/16903613#16903613

  • When syncing my iTunes to my iPad from the laptop, I get a list of missing songs; they are in the library, but not in the music folder on my HD. In particular, I uploaded 3 CDs at the same time, all are in my library - but two are missing from the folder.

    When syncing my iTunes to my iPad from the laptop, I get a list of missing songs; they are in the library, but not in the music folder on my HD. In particular, I uploaded 3 CDs at the same time, all are in my library, and all synced to the iPad - but the music from two of them are missing from the music folder. Questions are (a) where might they have gone? and (b) is there a way of "reverse loading" them back to my hard drive from the iPad? Thanks in advance!

    Hi dones49,
    It sounds like your issue here is that iTunes can not find the files for some of the songs you have brought into it. This happens occasionally even if the songs have not been moved from the location that iTunes places them on import or purchase. When you try to use the song, iTunes prompts you to find the file, as you have seen.
    To find the file, use the information in this article to navigate through the iTunes media folders -
    Locate and organize your iTunes files
    If you are still unable to locate the files, you may need to download them from the iTunes store again, or rip them from your CDs. See this article for assistance with downloading your past purchases -
    Download past purchases
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I have purchased a TV show series. I show that from the purchased screen it has downloaded. However it is not in my library. How do I watch this episode? Several of the episodes are in the library but a few did not make it there. Help please!

    I have purchased a TV show series. I show that from the purchased screen it has downloaded. However it is not in my library. How do I watch this episode? Several of the episodes are in the library but a few did not make it there. Help please!

    Sometimes things have inconsistent labeling.  Check your Recently Added playlist.

  • I can't play my videos. The videos are in the library but when click "play" don't move

    I can't play my videos,they are in the library and click "play" don't run, frezze out

    Try another sync. You can even deselect music for th first sync and then reselect it for a further sync.

  • How can I know which photos are in the library was used in each album I have created before.

    How can I know which photos are in the library was used in each album I have created before?
    I have many photos in the library folder of iPhoto, but actually I don't know which photos were used in my album.
    Is there any method to find this?
    Thanks.

    Album or Book?
    If Album you can find the ones not already used:
    File -> New Smart Album
    Album -> is not -> Any
    Regards
    TD

  • Our computer crashed that we mainly used iTunes on for upgrades, new purchases, etc.  We've downloaded iTunes onto my laptop but none of my apps are in the library.  We've made this laptop an authorized computer, but it's still not working.  Why is this?

    Our computer crashed that we mainly used iTunes on for upgrades, new purchases, etc.  We've downloaded iTunes onto my laptop but none of my apps are in the library.  We've made this laptop an authorized computer, but it's still not working.  Why is this?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • What is the difference between the library cache pin and the library ...?

    What is the difference between the library cache pin and the library cache lock ?
    What is the relation between them?

    Jonathan Lewis has a nice summary of these two items:
    {message:id=2079008}

  • Intermedia performance as respect to the library cache

    I have been trying to tune intermedia indexing on its creation (oracle 8.1.7). My developers try to index some data. There are only 30K rows for 2 tables. Table 1) 2 columns
    1 varchar2(50) and 1 char(1)
    table 2) 2 columns
    1 varchar2(50) and 1 blob
    Average Row size for table 1 (918 bytes)
    and table 2 (614 bytes)
    When loading the 30k rows it takes approx 7.5 hours on a box that has 4 risc cpus, 8 gb ram, and the db files are raw. My breakdown for SGA (1gb shared pool, 256 megs buffer cache, 120 megs large pool, 960 megs java pool,128 megs sort area size and my db_block_buffers is set to 32 meg).
    During intermedia indexing I noticed that the system is performing well except for library cache misses (94%). I have tried increasing both the shared_pool and session_cached_cursors to 100. Niether option helped. My dictionary hit ratio is around 97% very good. No IO contention. The index creation is local so the network is not an issue. The box is also dedicated to oracle database only no other applications. My user base is consists of 1 developer for now. Any ideas would greatly be appreciated.

    There is a Performance FAQ at: http://technet.oracle.com/products/text/x/FAQs/imt_Perf_Faq.html
    A new version will be updated next week.
    null

  • Dsc shared variable property are saved to library?

    Hi,
    I would like to be sure to know if the shared variable properties like "alarm level" and "description" are saved to the library directly?
    If not, where? database?
    Also can we not add table to the dsc ms sql express database? (the one for alarms and events)
    Thanks
    Patrick
    Message Edited by paubine on 09-04-2009 08:23 AM

    The properties of the shared variables like alarm and description do get saved to the library. As for your second questions about a table in ms sql, can you tell me more about this? Are you using the LabVIEW DSC VIs to do this, if so provide a screen shot or your code or a good description. Tell me exactly what is going wrong, what behavior you expect and what you are seeing.
    Thanks,
    Anna K.
    National Instruments

Maybe you are looking for

  • 10g RAC with linux 3 AS+ocfs

    Hi: Is anyone install 10g RAC on linux 3AS with ocfs successfully? I am having problem with CRS installation where installer ask to run root.sh. My first node finished root.sh without any problem but not second node it give me "Failure at final check

  • How do i insert into table through forms

    Hi I have developed a custom form based on custom table. the only way to insert data into database table is through form. there are two tables: one table is to store all contract details & second table is to maintain history forthis. one condition(co

  • Problems getting Reader (9.4 and up) to interact with WSDL, rights-enabled or not

    Somehow I must be doing something wrong - My form works just fine in Designer, Preview, Acrobat Pro, etc as expected. When I open the form in Reader, I am not gett ing my data back. I have rights-enabled the form, still no go. Am I mis sing something

  • Re: Exception when deploying wars

    this message is in continuation of the message described with the above subject on Tue Feb 19 14:11:25 PST 2002. the error I'm getting is similar to the error described. however my application works well with Weblogic 6.0 (sp2) but gives the error wh

  • Putting picture into Apex?

    how do i add an image to a page in apex? i uploaded an image to my database, but i cant get it to show up on the page. what do i do?