Tunning Libary cache in oracle 9i

Hey guys !
I need to clarify about the tuning technology related of library cache ! This is one of confusion which is always seems a big stuck for me .. Please help me through some instructions regarding the same ..
Thanks for any help ...

If you could be more specific in your questions, you might get accurate answers.
Based on what you have posted, this is what is available in Oracle documentation.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/memory.htm#33036
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/sqlviews.htm#18345

Similar Messages

  • Profile caching in Oracle EBS

    Hi All,
    I have some questions regarding profile caching in Oracle EBS.
    We have exposed some pl/sql APIs through Web Services hosted on Oracle iAS servers.
    In those APIs we are fetching value of a profile using fnd_profile.value API which uses a cached value.
    The issue is when we are changing profile value from EBS, and when we execute web services, it still fetches the old cached value of profile .
    We are updating profile value through fnd_profile.save API on EBS which updates the cache also. Is it happening due to client profile cache on iAS servers connection pool. Please advise.
    How can this be rectified ?
    Thanks,
    Harsh

    Please see:
    Setting Profile Options
    http://docs.oracle.com/cd/E18727_01/doc.121/e12894/T202991T202994.htm#fndpompv
    Thanks,
    Hussein

  • Unix buffer cache vs oracle database buffer cache

    1. What difference between operating system buffer cache and oracle buffer cache?
    2. In what case, oracle is using oracle buffer cache? in what case, oracle doesn't use buffer cache instead of using OS buffer cache.
    I am confused about this concept.
    Appreciate any help.
    S.

    ski123 wrote:
    1. What difference between operating system buffer cache and oracle buffer cache?
    2. In what case, oracle is using oracle buffer cache? in what case, oracle doesn't use buffer cache instead of using OS buffer cache.
    I am confused about this concept.
    Appreciate any help.
    S.I am not sure that where is the confusion. Oracle's buffer cache would be an inevitable since whatever would be accessed in the oracle database , would have to go through the buffer cache. Though this can be bypassed as well but that's only for a specific purpose. If you won't be using the buffer cache, how else the data would be given to the end user? It has to go through the buffer cache since the data is retrieved not just for one time access but for the future access as well. And the buffer cache stores that data for the future requests also.
    The o/s cache is , well, for the o/s. So once the buffer leaves from the oracle ecosystem, it would be there. What exactly you want to compare between two and why here?
    Aman....

  • Purge Cache with Oracle BI Event tables don#t work

    Hi,
    i want to purge the bi server cache an oracle bi event table.
    i created an table like:
    create table BISE_UPDATE_EVENTS
    UPDATE_TYPE INTEGER default 1 not null,
    UPDATE_TIME DATE default SYSDATE not null,
    DB_NAME VARCHAR2(40 BYTE),
    CATALOG_NAME VARCHAR2(40 BYTE),
    SCHEMA_NAME VARCHAR2(40 BYTE),
    TABLE_NAME VARCHAR2(40 BYTE) not null,
    OTHER VARCHAR2(80 BYTE)
    and defied it in the Administration tool as an event table
    i insert data into it:
    INSERT INTO BISE_update_events
    (db_name, catalog_name, schema_name, table_name
    VALUES (NULL, NULL, 'PSLID_DT', 'DI_LI_MANDANT'
    COMMIT
    But purging the cache don't work.
    I got error messages in NQServer.log:
    2010-02-19 11:49:56
    [55004] The prepare operation failed while polling from table BISE_UPDATE_EVENTS.
    2010-02-19 11:49:56
    [nQSError: 22006] Repository metadata: missing column object: ID=5111903:5046337.
    2010-02-19 11:49:56
    [55005] The cache polling delete statement failed for table BISE_UPDATE_EVENTS.
    Got somebody help?
    Regards Christian

    From the Manual :-
    SchemaName
    The name of the schema where the physical table that was updated resides.
    Populate the SchemaName column only if the event table does not reside in the same database as the physical tables being updated. Otherwise, set it to the null value.
    TableName
    The name of the physical table that was updated. The name has to match the name defined for the table in the Physical layer of the Administration Tool.
    Values cannot be null.
    Can you check once to see if you really need to put the schemaname and also if the tablename defined in the RPD is the same as put in the insert statement. Finally, the user used in the connection pool should have delete rights on your polling table.
    hope this helps

  • Timesten Database caching multiple oracle instances

    Hi All,
    I need to cache two oracle users which are running on different IP. Can Timesten support this ?
    How do i cache another datastore , if one user is already cache in timesten .

    This means One timesten can cache one single oracle database. ?
    CJ>>    Correct. One TimesTen database can cache data from one Oracle database. Note that a TimesTen instance (installation) supports multiple TimesTen databases.
    Is there any other way to shrink permsize ?
    CJ>>    There is no other way to shrink PermSize. And you can only shrink it if the currently configured size is larger than you really need.
    How can i deploy timesten on RAC?
    CJ>>   The same way as you would for a single instance database. A RAC database is just a single database. TimesTen fully supports RAC.
    Is there any similar feature available like RAC ?
    CJ>>   TimesTen  provides 'Cache Grid' where you can have multiple TimesTen caches which are caching the same Oracle database work together to act as a single distributed cache.

  • Lost I Tunes libary after factor reset

    Due some minor/major problems after non use for some months,the I Tunes libary was lost / hidden  somewhere? I have looked up many many websites regarding this but nothing works,I can not find any screens showing anything. even my Ipod.I have connected the Ipod to my laptop but no screens appear to ask me import the tunes.I had to do a factory reset to get things working properly after the laptop was not used for a long time.I keep printing paper but the more I print the more I get a little confused.I would say the I Tunes libary was working alright just before the new year and also the ipod.Can anyone help.it may be a simple answer or something more complicated!Thanks.

    If your media is not in your iTunes library or your computer or on the iPod it is gone except maybe:
    No content shows up in iTunes after updating
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Query result caching on oracle 9 and 10 vs indexing

    I am trying to improve performance on oracle 9i and 10g.
    We use some queries that take up to 30 minutes to execute.
    I heard that there are some products to cache query results.
    Would this have any advantage over using indexes or materialized views?
    Does anyone know any products that I can use to cache the results of this queries on disk?
    Personally I think that by using the query result caching I would reduce the cpu time needed to process the query.
    Is this true?

    Your message post pushes all the wrong buttons starting with the fact that 9i and 10g are marketing labels not version numbers.
    You don't tune queries by spending money and throwing resources at them. You tune them by identifying the problem queries, running explain plans, visualizing their output using DBMS_XPLAN, and addressing the root cause.
    If you want help post full version numbers, the SQL statements, and the DBMS_XPLAN outputs.

  • How to tune a table in oracle

    hi
    can anyone please help me in tunning a particular table in oracle which has millions of Record
    kindly help me for the procedure to tune the table...
    thanks
    Regards
    Misin

    What's the Oracle version?
    Does this table have LOB column ?
    Make sure it's on locally managed tablespace.
    Collect stats on the table and indexes if there is massive updates on the table.
    Actually it's not about tuning the particular table but tuning the queries that your application use to access the table.
    That in turn raise the question what's the nature of your application, is it DDS or OLTP application?
    Do you experience any performance issue related to this table at all?

  • Standalone webcache or Web cache from Oracle Apps Server 10.1.2.0.2?

    Hi
    I am installing web cache on two servers in web tier and J2EE server (with OHS) on another two servers in apps tier. Should I use standalone webcache or install from Oracle Apps Server package? If I choose Oracle Apps Server package, I have to disable Home, HTTP components. But it is DCM managed. Any suggestions?
    And should I deploy my OHS servers on web cache servers in the web tier? In future we want to expand J2EE installation, we will deploy Portal with SSO, OID etc.
    Regards
    Shen Jie

    Shen Jie,
    Please review the Enterprise Deployment to see what are the best architectures.
    Hope this helps.
    Deepak

  • Caché vs Oracle vs RDBMS - Please add your 2 cents!

    Hi All,
    I have recently “discovered” the Caché DBMS and realised just how little information there is out there. Apart from a few forums and a few vendor websites (mostly InterSystems) I haven’t been able to find much documentation or FAQ’s or user guides/manuals about the MUMPS (and Caché) database. HOWEVER(!) I have found two articles (funnily enough published by the Caché vendor InterSystems) about how much faster Caché is compared to Oracle. So the reason I’m posting here to (hopefully) start a discussion and get some input from Oracle users out there who have user Caché.
    There are many claims by Caché users about how ultra-fast it is, how easy it to write application code (since the DBMS is object oriented), how the databases run with next to no intervention by DBA's, etc, etc. So if, as they claim, it's such a fantastic product how come 99% of the time I draw a blank when I ask other people in the field about Caché? Absolutely no one in my organisation knows how to use the Caché DB that we use. The end users access the Application...and that's it! And if the Caché technology is genuinely fast and efficient shouldn't the big 3 (Oracle, MS, IBM) include Caché like technology in their products or at least introduce competing?
    Don't get me wrong. This is not an attempt to say one DBMS is better than the other. I just want to see how many have heard of/used Caché and what the general consensus is about Caché. And what do you think about OO-DBMS, is it the future? There's a link below that says how OO-DBMS' are the best options for large-scare Internet systems (citing Google's BigTable and Amazon's SimpleDB), do you agree?
    Some links:
    http://www.computerworld.com/s/article/101591/Looking_Beyond_the_Big_Three
    http://labsoftnews.typepad.com/lab_soft_news/2010/05/persistence-of-the-mumps-programming-language-in-healthcare.html
    http://labsoftnews.typepad.com/lab_soft_news/2010/10/more-on-mumps.html
    http://www.faqs.org/faqs/m-technology-faq/part1/
    http://www.cs.uni.edu/~okane/source/ISR/isr.html#ex01
    http://www.cachewiki.org/index.php/About
    http://bytes.com/topic/oracle/answers/65655-comments-intersystems-cache-database-platform
    http://dbaspot.com/forums/object-database-technologies/196842-help-problems-intersystems-cache.html
    http://www.intersystems.com/cache/whitepapers/pdf/BestKeptSecret.pdf
    http://www.outoftheslipstream.com/node/124
    http://www.dbms2.com/2010/01/15/intersystems-cache-highlights/#more-1400
    Edited by: feersum_endjinn on 15-Apr-2011 07:28
    Edited by: feersum_endjinn on 15-Apr-2011 07:31

    Oh, you mean [url http://isabel.la/?q=node/24]DSM-11? ;)
    I think if you look around you will find Oracle is used very heavily in the health care field. While there is nothing wrong with software written for the ages, surely more should be, trying to keep stuff written that long ago creeping along is just way too expensive, it has too many implicit assumptions about how systems should be designed and the relative costs of the various trade-offs. Of course, some of the [url http://web.signonsandiego.com/news/2011/feb/20/wireless-device-would-give-doctors-access-real-tim/]newest stuff is being designed haphazardly, which has a great deal of risk. Add in modern legislative issues and you have a real mess.
    Claims of 4GL or object-oriented development being faster are misleading. Two things wind up happening: compromises are made as technology develops, and maintenance becomes increasingly difficult because it is too easy to change things. In addition, design philosophies spring up that have strange ideas about how to deconstruct a large system into small component parts. As the others noted, we periodically see this new paradigm baloney, and it goes nowhere.
    The speed of various paradigms can be better than a pure relational approach - see [url http://kevinclosson.wordpress.com/kevin-closson-index/exadata-posts/]Exadata, for one - but they inevitably need a very specific approach to very specific problems. It gets to the point where vendors require very specific hardware and software requirements to make it work - see [url http://kerryosborne.oracle-guy.com/2010/08/running-oracle-exadata-v2-on-dell-hardware/]Exadata, for one.
    Large scale systems like google are BS for actual applications. What is google? It is an advertising company. Look at it's SEC filings, it says that in so many words. The data it presents does not have to be accurate or consistent, and it is not. It doesn't take much effort at all to find searches that don't work, or give different results. All those other google apps you hear so much about have not proven themselves to be successful, and most are failures in a business sense. Follow the money.
    Amazon is a bit better example, if you happen to be an Amazon size company. Note that the actual business runs on Oracle, and was able to grow as it did by using Oracle. All that "eventually transactionally consistent" stuff has to end up somewhere. As for simpledb, what real use is being able to change your data model on the fly? You need to fix your modeling skills!
    Larry Ellison is a very bright guy, and as technologies prove themselves they get brought in and others get brought in before they prove themselves. Some of them fail and are quietly ignored, some are simply too far ahead of their time. Everyone wants to be the next google, but most fail.

  • Function result Cache in oracle 11G

    Hi,
    i am reading the following article and trying to reproduce same set of statements to learn about function result cache.
    http://www.oracle.com/technology/oramag/oracle/07-sep/o57asktom.html
    Details about my output:
    SQL> create or replace
    function not_cached
    ( p_owner in varchar2 )
    return number
    as
    l_cnt number;
    begin
    select count(*)
    into l_cnt
    from t
    where owner = p_owner;
    sys.dbms_lock.sleep(1);
    return l_cnt;
    end;
    Function created.
    Elapsed: 00:00:00.13
    SQL> create or replace
    function cached
    ( p_owner in varchar2 )
    return number
    result_cache
    relies_on(T)
    as
    l_cnt number;
    begin
    select count(*)
    into l_cnt
    from t
    where owner = p_owner;
    dbms_lock.sleep(1);
    return l_cnt;
    end;
    Function created.
    Elapsed: 00:00:00.08
    SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.06
    SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.01
    SQL> SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> set serveroutput on
    SQL> exec dbms_output.put_line( not_cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.02
    SQL> SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( cached( 'SCOTT' ) );
    0
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.01
    I am supposed to get the results quickly for "cached" call. However, i still dont see any change in the response time. May i know what i am missing here?
    Thank you
    Giridhar

    Try to play with
    RESULT_CACHE_MAX_SIZE
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/initparams206.htm#REFRN10272
    RESULT_CACHE_MAX_RESULT
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/initparams205.htm#REFRN10298

  • Cannot start Web Cache in Oracle 10g App Server

    Hi,
    Our Application runs on Oracle10g App Server,
    When it tried to start WebCache using the command
    opmnctl startproc ias-component=WebCache process-type=WebCache
    it shows the error...
    opmn id=oracle10g:6200
    no enabled components for this request
    When i tried to enable WebCache using Enable/Disable Component in Oracle 10g Enterprise manager - I can't see WebCache component it to enabe or disable it.
    When i tried opmnctl status., it shows
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    HTTP_Server | HTTP_Server | 7276 | Alive
    LogLoader | logloaderd | N/A | Down
    dcm-daemon | dcm-daemon | N/A | Down
    OC4J | home | 7684 | Alive
    OC4J | rhs | N/A | Down
    OC4J | instaremit | 5880 | Alive
    OC4J | insta_test_apr_02 | 7100 | Alive
    WebCache is not running, also as the WebCache is not listed in Oracle 10g Enterprise manager, i can' enable or disable it.
    Plz Help me over this.,
    Regards.,
    Deepak.C

    Hi.,
    Thanks again !!!
    Yes, My Oracle HTTP Server is listening on port 80.
    I am not clear, may i know why should the ports be changed for the request to go through Web Cache ???
    Can i assign port 80 for Web Cache and 7778 for HTTP Server ?
    Also In Oracle Enterprise Manager, Web Cache is not available...
    home, HTTP Server, management alll these are there...
    Also for HTTP Server, it's not showing any metric info, 'Not Yet Available' is shown even though the HTTP Server is running, how can i get metric info about Oracle HTTP Server, i have also used dmstool -t ohs_server, its not working
    It's showing... FLEXMON ERROR : detected invalid table name ohs_server
    dmstool -l -t also does'nt lists ohs_server
    Hellp me over this.....
    Deepak.C

  • Cache in Oracle 10g

    Hi,
    I must read many rows with my database and keep all rows in cache. Is that posible in Oracle 10g?? I must do that because I must accelerate database. Until now I used cache GigaSpaces..

    Hi,
    There are few points to consider before implementing this idea.
    1. What is type of database you are using? Is it OLTP or DSS or mixed?
    2. Think of a scenario if you cache blocks in buffer, and any of then gets durty. In Oracle 10g. Parallel read will do Direct path read and before this it have to do checkpoint for the segment !!!!. So you may end up in issues.
    3. 10g CBO is intelligent to optimize path using are your blocks in there in memory or it has to read the disk and then estimate the cost. But this requires some undocumented paraters to be set.
    "_optimizer_cache_stats" is the parameter for this.
    Inviting Experts to share their openions on these points.
    Dilipkumar Patel.

  • Result Cache in oracle 11g release 2.0.2.0

    All,
    Few months back I was trying Result Cache feature of 11g release 2.0.1.0. That time oracle mentioned that they have 3 modes to use this feature by setting result_cache_mode paramter to AUTO, FORCE or MANUAL. With AUTO mode (result_cache_mode=AUTO) you can identify queries that may benefit from result cache. I would like to know whcih views or function I should see where it captures this information.
    In 11.2.0.1.0 documentation it was referencing some views (I totally don't remember those views names) and said those will be available in 11.2.0.2.0.
    Is anyone know about this?
    Thanks in advance.

    user2486753 wrote:
    Though oracle doc doesn't say about AUTO it is still accepts that value and caches the result of the SQL query if you add /*+ result cache */ hint to the SQL.
    I know that they did mentioned in 112010 some where that it will help users to find which SQL's are good candidates for caching by running the application for a while. I just couldn't fine it.If we are adding AUTO and still passing the hint, its the same behavior as like MANUAL. I am not sure that I have seen the value anywhere and neither its there in the docs too.
    HTH
    Aman....

  • How to tune the performance of Oracle SQL/XML query?

    Hi all,
    I am running Oracle 9i and like to run the following Oracle SQL/XML query. It takes about 3+ hour and still not finish. If I get rid all the XML stuffs it only take minutes to run. Does anybody know how to what's the reason of this slow and how to tune it?
    SELECT XMLElement("CUSTOMER",
    XMLForest(C_CUSTKEY "C_CUSTKEY", C_NAME "C_NAME", C_ADDRESS "C_ADDRESS", C_PHONE "C_PHONE", C_MKTSEGMENT "C_MKTSEGMENT", C_COMMENT "C_COMMENT"),
    (SELECT XMLAgg(XMLElement("ORDERS",
    XMLForest(O_ORDERKEY "O_ORDERKEY", O_CUSTKEY "O_CUSTKEY", O_ORDERSTATUS "O_ORDERSTATUS", O_ORDERPRIORITY "O_ORDERPRIORITY", O_CLERK "O_CLERK", O_COMMENT "O_COMMENT"),
    (SELECT XMLAgg(XMLElement("LINEITEM",
    XMLForest(L_ORDERKEY "L_ORDERKEY", L_RETURNFLAG "L_RETURNFLAG", L_LINESTATUS "L_LINESTATUS", L_SHIPINSTRUCT "L_SHIPINSTRUCT", L_SHIPMODE "L_SHIPMODE", L_COMMENT "L_COMMENT")
    FROM LINEITEM
    WHERE LINEITEM.L_ORDERKEY = ORDERS.O_ORDERKEY)
    FROM ORDERS
    WHERE ORDERS.O_CUSTKEY = CUSTOMER.C_CUSTKEY)
    FROM CUSTOMER ;
    Thanks very much in advance for your time,
    Jinghao Liu

    ajallen wrote:
    Why not something more like
    SELECT *
    FROM fact1 l,
    FULL OUTER JOIN fact1 d
    ON l.company = d.company
    AND l.transactiontypeid = 1
    AND d.transactiontypeid = 2;
    Because this is not an equivalent of the original query.
    drop table t1 cascade constraints purge;
    drop table t2 cascade constraints purge;
    create table t1 as select rownum t1_id from dual connect by level <= 5;
    create table t2 as select rownum+2 t2_id from dual connect by level <= 5;
    select * from (select * from t1 where t1_id > 2) t1 full outer join t2 on (t1_id = t2_id);
    select * from t1 full outer join t2 on (t1_id = t2_id and t1_id > 2);
         T1_ID      T2_ID
             3          3
             4          4
             5          5
                        6
                        7
         T1_ID      T2_ID
             1
             2
             3          3
             4          4
             5          5
                        6
                        7

Maybe you are looking for

  • How do I use my isight camera live?

    I have a 27 inch Imac. How do I use my Isight camera as a web cam? I have flashplayer 10, but it still won't work. Help?

  • Final total cannot appear when the last line item reached the page end

    Hi All, My report included 2 pages. Problem is the final total cannot appear when the last line item reached the page end. (page 2) final total will appear on the middle of last page (page 3) when i comment (type    = 'BOTTOM'). Below is the program.

  • Can anyone tell  the use of variant transaction in real time?

    i have done programs using variants .. i would like to know the use of variants in real time..also about variant transaction parameter transaction..

  • Sys_extract_utc, sysdate and cast to timestamp

    I have a question about sys_extract_utc. According to this document: http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions167.htm SYS_EXTRACT_UTC function entry is a datetime_with_timezone. so... running this in my system: 1) select TO_CHAR

  • Client editable content and slide shows

    I have used CushyCMS and Slide.com in the past to allow clients to edit their sites.  I have learned that slide.com is going to drop the service.  Is cushyCMS still the best option for client content editing or is there something new?  What is replac