Flush SGA

Hi All,
Is there any way to flush the entire SGA (not just Shared Pool) without bouncing the DB?
Any suggestions / advice will be appreciated.
Thanks in advanced.
Bhupinder

Hi,
Thanks for your reply.
Actually I am facing ora-04030 error on my database and I have tried flushing sga, but the only solution I found to the problem is bouncing the DB itself.
My server has 8GB RAM and only one DB is running with SGA 3.5 GB, "ulimit -m" shows unlimited on the server.
Please advice.
Bhupinder

Similar Messages

  • Auditing: Flushing SGA to ensure SQL statement is not cached

    Currently I'm experimenting with Oracle auditing and have noticed that when I audit an object, like a table (AUDIT SELECT ON MY_TABLE), the select on the table is audited only once per session. I.e. When a user connects, and does:
    SQL> select * from my_table;
    SQL> ..
    SQL> ..
    SQL> select * from my_table;
    SQL> ..
    SQL> ..
    .. only the first select statement is audited. I have to reconnect each time for the statement to be audited.
    Is this how auditing works? I was thinking that it could be that the statement is held in memory and when a user does another subsequent select statement, the statement is cached and thus not audited. Could this be the case? I flushed the SGA and I still got the same results above...
    I'd like to hear your opinions about this.

    Raj has provided the solution but I would like to point out that auditing selects by access can generate an alful lot of audit records very quickly. The sys.aud$ table and its index may grow very, very large and fill the system tablespace if you are not careful. Also the updates to sys.aud$ are logged so you will also be generating a lot of extra redo if you make this type of auditing widespread.
    IMHO -- Mark D Powell --

  • What is best use of 1400 gb SGA (2 rac nodes 768gb each)

    currently using 11.2.0.3.0 on unix sun sever with 2 RAC nodes each 8 UltraSPARC-T1 cpus (came out in 2005) four threads each so oracle sees 32 CPUS very slow(1.2 gb).  Database is 4TB in size on regular SAN (10k speed).
    8gb SGA.
    New boss wants to update system to the max to get best performance possible  Money is a concern of course but budget is pretty high,  Our use case is 12-16 users at same time, running reports some small others very large (return single row or 10000s or rows).  reports take 5 sec to 5 minutes, Our job is get the fastest system possible,  We have total of 8 licenses available so we can have 16 cores.  We are also getting a 6tb all flash SSD array for database.  we can get any CPU we want but we cant use parallel query server due to all kinds of issues we have experienced (too many slaves, RAC interconnect saturation etc, whack-a-mole).  sparc has too many threads and without PS oracle runs query in single thread. 
    we have speced out the following system for each RAC node
    HP ProLiant DL380p Gen8 8 SFF server
    2 Intel Xeon E5-2637v2 3.5GHz/4-core cpus
    768 gb ram
    2 HP 300GB 6G SAS 15K drives for database software
    this will give us total of 4 Xeon E5-2637v2 cpus 16 cores total (,5 factor for 8 licenses) and 1536 ram (leaving ~1400 for sga).  this will guarantee an available core for each user.  we intend to create very very large keep pool around 300 gb for each node that will hold all our dimension tables.  this we hope will reduce reads from the SSD to just data from fact tables.,
    Are we doing a massive overkill here?  the budget for this was way less than what our boss expected.  will that big an sga be wasted will say a 256gb be fine.  or will oracle take advantage of it and be able to keep most blocks in there.
    will an sga that big cause oracle problems due to overhead of handling that much ram?

    Current System:
    ===========
    a. Version : 11.2.0.3
    b. Unix Sun
    c. CPU - 8 cpus with 4 threads => 32 logical cpus or cores
    d. database 4TB
    e. SAN - 10k speed disk drives
    f. 8gb SGA
    g. 1.2 gb ??
    h. Users --> 12-16 concurrent and run reports varying size
    i. reports elasped time 5 sec to 5 mins
    j. cpu license -->8
    Target System
    ===========
    a. Version: 11.2.0.3
    b. HP ProLiant DL380p Gen8 8 SFF server
    c. RAM --> 768 GB
    d. 2 HP 300GB 6G SAS 15K drives for database software
    e. large keep pool -->90 gb to  hold all dimension tables. 
    f.  SSD to just data from fact tables
    g. SGA -->256gb
    Reassessment of the performance issues of current system appears to be required.Good performance tuning expert is required to look into tuning issues of current application by analyzing awr performance metrics . If 8GB SGA is not enough,then reason behind so is that queries running in the system are not having good access path to select lesser data to avoid flushing out of recent buffers from different tables involved in the query. Until those issues are identified , wherever you go, performance issue wont be going away as table size increase in future , problem will reappear.Even if the queries are running with more FULL Scan , then re-platforming to Exadata might be right decision as Exadata has smart scan , cell offloading feature which works faster and might be right direction for best performance and best investment for future.Compression (compress for OLTP) could be one of the other feature to exploit to improve further efficiency while reading the lesser block in lesser read time.
    Investment in infrastructure will solve a few issue in short term but long term issue will again arise.
    Investment in identifying the performance issues of current system would be best investment in current scenario.

  • SGA Size for 8.1.7.4 32 bit? , some Interview Questions

    Hi buddies,
    I got some interview questions, might be simple for geeks in DBA. I am in need of answers. Could anyone help me.
    Thanks,
    Raaj
    1) Does windows NT support direct I/O?
    Answer: Choose one of the answers that apply
    A: No, only AIO
    B: Yes, depending on hardware.
    C: Yes.
    D: No.
    2) Can you take a coldbackup from solaris and use it on windows NT?
    Answer: Choose one of the answers that apply
    A: Yes.
    B: Yes if RMAN backup performed from NT server.
    C: Yes, after running RMAN convert.
    D: No.
    3) All of the following will alter the number of checkpoints that occur in one hour on the database, except one. Which is it?
    Answer: Choose one of the answers that apply
    A: Decreasing tablespace size
    B: Decreasing size of redo log members
    C: Setting LOG_CHECKPOINT_INTERVAL greater than the size of the redo log file
    D: Setting LOG_CHECKPOINT_TIMEOUT to zero
    4) The DBA is attempting to back up the Oracle database control file. After
    issuing the ALTER DATABASE BACKUP CONTROLFILE TO TRACE command, where can the DBA find the backup control file creation materials Oracle created for him or her ?
    Answer: Choose one of the answers that apply
    A: USER_DUMP_DEST
    B: LOG_ARCHIVE_DEST
    C: CORE_DUMP_DEST
    D: BACKGROUND_DUMP_DEST
    5) What is the most important action a DBA must perform after changing the database from NOARCHIVELOG TO ARCHIVELOG?
    Answer: Choose one of the answers that apply
    A: Shutdown normal and restart the database
    B: Perform a full logical database backup
    C: Perform a full offline database backup
    D: Manually switch the log files
    6) Which of the following choices lists an ALTER USER option that can be executed by the user herself or himself?
    Answer: Choose one of the answers that apply
    A: DEFAULT TABLESPACE
    B: IDENTIFIED BY
    C: TEMPORARY TABLESPACE
    D: PROFILE
    7) You need to view the initialization parameter settings for your Oracle
    database. Which of the following choices does not identify a method
    you can use to obtain values set for your initialization parameters?
    Answer: Choose one of the answers that apply
    A: Issue SELECT * FROM DBA_PARAMETERS; from SQL*Plus
    B: Issue SELECT * FROM V$PARAMETER; from SQL*Plus
    C: Issue SHOW PARAMETERS from Server Manager
    D: Use OEM Instance Manager
    8) As a result of a media failure, the current online redo log group is corrupted, the database crashes, as the current online group is inaccessible. Which type of incomplete recovery are you most likely to perform ?
    Answer: Choose one of the answers that apply
    A: Change-based
    B: Time-based
    C: Recovery using a backup control file
    D: Cancel-based
    9) User SNOW executes the following statement: SELECT * FROM EMP. This
    statement executes successfully, and SNOW can see the output. Table
    EMP is owned by user REED. What object would be required in order for
    this scenario to happen ?
    Answer: Choose one of the answers that apply
    A: User SNOW would need the role to view table EMP.
    B: User SNOW would need the privileges to view table EMP.
    C: User SNOW would need a synonym for table EMP.
    D: User SNOW would need the password for table EMP.
    10) Which one of the following statements is true?
    Answer: Choose one of the answers that apply
    A: The request queue is common, and the response queue is different for all the dispatchers.
    B: The request queue and response queue are different for all the dispatchers.
    C: The request queue is different, and response queue is common for all the dispatchers.
    D: The request queue and response queue are common for all the dispatchers.
    11) What is the largest SGA size for 8.1.7.4 32 bit?
    Answer: Choose one of the answers that apply
    A: approximately 2GB
    B: approximately 3.5GB
    C: approximately 4GB
    D: approximately 8GB
    E: approximately 16GB
    12) The DBA is about to perform some administrative tasks. Specifying the
    OPTIMAL parameter has which of the following appropriate uses?
    Answer: Choose one of the answers that apply
    A: Limiting concurrent users
    B: Limiting concurrent transactions
    C: Limiting growth of rollback segments
    D: Limiting growth of tables
    13) If the DBA wants to find information about how often transactions are
    wrapping transaction information between multiple rollback segment
    extents, where would the DBA look to find that information?
    Answer: Choose one of the answers that apply
    A: DBA_ROLLBACK_SEGS
    B: V$ROLLSTAT
    C: V$ROLLNAME
    D: DBA_SEGMENTS
    14) You have 30 rollback segments in your database, for which
    TRANSACTIONS_PER_ ROLLBACK_SEGMENT is set to 49 and
    TRANSACTIONS is set to 1000. During periods of heavy usage, about how many rollback segments will be actively used by Oracle?
    Answer: Choose one of the answers that apply
    A: 50
    B: 60
    C: 20
    D: 30
    15) The DBA has a table created with the following statement:
    CREATE TABLE EMPL
    (EMPID NUMBER(10),
    LASTNAME VARCHAR2(40),
    RESUME LONG RAW);
    The DBA attempts to issue the following statement:
    ALTER TABLE EMPL
    ADD ( PERF_APPRAISE LONG);
    What happens?
    Answer: Choose one of the answers that apply
    A: The statement succeeds.
    B: The statement succeeds, but column is added as VARCHAR2.
    C: The statement fails.
    D: The statement adds a disabled constraint.
    16) The primary key of the EMP table has three columns, EMPID, LASTNAME,
    and FIRSTNAME. You issue the following SELECT statement:
    SELECT * FROM EMP WHERE LASTNAME = 'HARRIS' AND FIRSTNAME = 'BILLI'
    AND EMPID = '5069493';
    Where would you look to see if this query will use the index associated
    with the primary key?
    Answer: Choose one of the answers that apply
    A: DBA_IND_COLUMNS
    B: DBA_TAB_COLUMNS
    C: DBA_INDEXES
    D: DBA_CLU_COLUMNS
    17) You are configuring your index to be stored in a tablespace. Which of the
    following storage parameters are not appropriate for indexes?
    Answer: Choose one of the answers that apply
    A: OPTIMAL
    B: INITIAL
    C: PCTINCREASE
    D: NEXT
    18) You need to set up auditing in an order entry and product shipment
    application so that when the ORDER_STATUS column in the ORDERS
    table changes to ‘SHIPPED’, a record is placed in a special table associated
    with a part of the application that gives sales representatives a daily list
    of customers to call on a follow-up to make sure the customer is satisfied
    with the order. Which of the following choices represents the best way
    to perform this auditing?
    Answer: Choose one of the answers that apply
    A: Statement auditing
    B: Object auditing
    C: Audit by access
    D: Value-based auditing
    19) Information in the buffer cache is saved back to disk in each of the
    following situations except one. In which situation does this not occur?
    Answer: Choose one of the answers that apply
    A: When a time-out occurs
    B: When a log switch occurs
    C: When the shared pool is flushed
    D: When a checkpoint occurs
    20) In order to allow remote administration of users and tablespaces on an Oracle database, which of the following types of files must exist in the database?
    Answer: Choose one of the answers that apply
    A: Password file
    B: Initialization file
    C: Datafile
    D: Control file
    E: Nothing, SYSDBA privileges are not required for these actions.
    21) You are planning the storage requirements for your database. Which of the following is an effect of maintaining a high PCTFREE for a table?
    Answer: Choose one of the answers that apply
    A: Oracle will manage filling data blocks with new records more actively.
    B: Oracle will manage filling data blocks with new records less actively.
    C: Oracle will leave more space free in data blocks for existing records.
    D: Oracle will leave less space free in data blocks for existing records.
    22) You manage database access privileges with roles where possible.
    You have granted the SELECT_MY_TABLE role to another role, called
    EMP_DEVELOPER. To view information about other roles that may be
    granted to EMP_DEVELOPER, which of the following dictionary views
    are appropriate?
    Answer: Choose one of the answers that apply
    A: DBA_ROLE_PRIVS
    B: DBA_TAB_PRIVS
    C: USER_SYS_PRIVS
    D: ROLE_ROLE_PRIVS
    23) In order to set your SQL*Plus session so that your NLS_DATE_FORMAT
    information is altered in a specific way every time you log into Oracle,
    what method would be used?
    Answer: Choose one of the answers that apply
    A: Setting preferences in the appropriate menu option
    B: Creating an appropriate LOGIN.SQL file
    C: Issuing the ALTER USER statement
    D: Issuing the ALTER TABLE statement
    24) You create a sequence with the following statement:
    CREATE SEQUENCE MY_SEQ
    START WITH 394
    INCREMENT BY 12
    NOMINVALUE
    NOMAXVALUE
    NOCACHE
    NOCYCLE;
    Two users have already issued SQL statements to obtain NEXTVAL, and
    four more have issued SQL statements to obtain CURRVAL. If you issue a
    SQL statement to obtain the NEXTVAL, what will Oracle return?
    Answer: Choose one of the answers that apply
    A: 406
    B: 418
    C: 430
    D: 442

    1.-
    2.c
    3.a
    4.a
    5.c
    6.b
    7.a
    8.d
    9.b
    10.a -
    11.a
    12.c
    13.b
    14.d
    15.c
    16.a -
    17.a
    18.d
    19.c
    20.a
    21. -
    22.d
    23.b
    24.?
    hope it helps u.
    Thanks
    Kuljeet

  • 10G NEW FEATURE-HOW TO FLUSH THE BUFFER CACHE

    제품 : ORACLE SERVER
    작성날짜 : 2004-05-25
    10G NEW FEATURE-HOW TO FLUSH THE BUFFER CACHE
    ===============================================
    PURPOSE
    이 자료는 Oracle 10g new feature 로 manual 하게
    buffer cache 를 flush 할 수 있는 기능에 대하여 알아보도록 한다.
    Explanation
    Oracle 10g 에서 new feature 로 소개된 내용으로 SGA 내 buffer cache 의
    모든 data 를 command 수행으로 clear 할 수 있다.
    이 작업을 위해서는 "alter system" privileges 가 있어야 한다.
    Buffer cache flush 를 위한 command 는 다음과 같다.
    주의) 이 작업은 database performance 에 영향을 줄 수 있으므로 주의하여 사용하여야 한다.
    SQL > alter system flush buffer_cache;
    Example
    x$bh 를 query 하여 buffer cache 내 존재하는 정보를 확인한다.
    x$bh view 는 buffer cache headers 정보를 확인할 수 있는 view 이다.
    우선 test 로 table 을 생성하고 insert 를 수행하고
    x$bh 에서 barfil column(Relative file number of block) 과 file# 를 조회한다.
    1) Test table 생성
    SQL> Create table Test_buffer (a number)
    2 tablespace USERS;
    Table created.
    2) Test table 에 insert
    SQL> begin
    2 for i in 1..1000
    3 loop
    4 insert into test_buffer values (i);
    5 end loop;
    6 commit;
    7 end;
    8 /
    PL/SQL procedure successfully completed.
    3) Object_id 확인
    SQL> select OBJECT_id from dba_objects
    2 where object_name='TEST_BUFFER';
    OBJECT_ID
    42817
    4) x$bh 에서 buffer cache 내에 올라와 있는 DBARFIL(file number of block) 를 조회한다.
    SQL> select ts#,file#,dbarfil,dbablk,class,state,mode_held,obj
    2 from x$bh where obj= 42817;
    TS# FILE# DBARFIL DBABLK CLASS STATE MODE_HELD J
    9 23 23 1297 8 1 0 7
    9 23 23 1298 9 1 0 7
    9 23 23 1299 4 1 0 7
    9 23 23 1300 1 1 0 7
    9 23 23 1301 1 1 0 7
    9 23 23 1302 1 1 0 7
    9 23 23 1303 1 1 0 7
    9 23 23 1304 1 1 0 7
    8 rows selected.
    5) 다음과 같이 buffer cache 를 flush 하고 위 query 를 재수행한다.
    SQL > alter system flush buffer_cache ;
    SQL> select ts#,file#,dbarfil,dbablk,class,state,mode_held,obj
    2 from x$bh where obj= 42817;
    6) x$bh 에서 state column 이 0 인지 확인한다.
    0 은 free buffer 를 의미한다. flush 이후에 state 가 0 인지 확인함으로써
    flushing 이 command 를 통해 manual 하게 수행되었음을 확인할 수 있다.
    Reference Documents
    <NOTE. 251326.1>

    I am also having the same issue. Can this be addressed or does BEA provide 'almost'
    working code for the bargin price of $80k/cpu?
    "Prashanth " <[email protected]> wrote:
    >
    Hi ALL,
    I am using wl:cache tag for caching purpose. My reqmnt is such that I
    have to
    flush the cache based on user activity.
    I have tried all the combinations, but could not achieve the desired
    result.
    Can somebody guide me on how can we flush the cache??
    TIA, Prashanth Bhat.

  • How to find aged out sql_id of shared pool / after flushed shared pool in oracle 10g/11g

    i have one sql_id that was not in v$sql / v$sqltext
    when i flushed the shared pool now where can i find old sql_id

    Shared Pool is part of the SGA in Main Memory. So once you flush it the information is gone. You cant get it back.

  • Cannot allocate new log&Private strand flush not complete

    There are two Oracle10g(10.2.0.5) Database running on SUN M5000(SPARC64 VII 2.53 GHz Quad-Core Processors*4/32GB Memory).
    The first Oracle10g DB is running with 8GB SGA and 1GB PGA, the second Oracle10g DB is runing with 7GB SGA and 2GB PGA.
    We encountered a issue on the second Oracle DB. When we manually switch the online redo logs with an alter system command as below.
    SQL> alter system switch logfile;
    The Alert log will display the following messages:
    Thread 1 cannot allocate new log, sequence xxx
    Private strand flush not complete .
    All other Oracle10g DB will not occur "Private strand flush not complete" messages except for the second Oracle10g DB. I want to know the detail reason.
    I also saw two Doc ID:[ID 372557.1] and [ID 435887.1] from Oracle Metalink. But I am not satisfacted with what they wrote.
    My last target to resolve the issue.
    Anyone help me ?
    I am kylix.
    [email protected]

    hi
    Hemant
    iam very new to this field,since 20 days i am having one big problem in my databases,i have 2 database in my windows server environment ,recently i have upgrade my both the database from 10g to 11g.Why i upgrade means in 10g iam getting error ora-07445 access violation,in my alertlog file (when iam going to take full database backup through export getting this error in logfile and export stops with error) so i thought to apply the patch,but with discussion with my manager and team, we all thought this is the time to upgrade so we changed to 11g
    then 11g upgrade is 100% successfully completed, to verify the export on 11g ,i thought to take logical backup of my 2 database's
    C:\Users\Administrator>exp system/password@tnsname file=full_05_1_2013.dmp log=05_1_2013.log full=y
    Export: Release 11.2.0.1.0 - Production on Sat Jan 19 09:18:06 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    server uses AR8MSWIN1256 character set (possible charset conversion)
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions,
    what happening here is it just coming to this point and stopping here for hours............more than 10 hours (I have to kiill this session manually).I tried with single user its working but when i take full backup of database export , then it not working,,, i have cross check every possibilities by giving full privilages,space check,and many other but no solution, i was unable to take full backup ,(but i can take single user backup)
    i have even applied bundle patch (Oracle® Database Server Version 11.2.0.1 Patch 16) 100% sucessfully but the error continious)))))))))))))))))))))))))))))))))))
    NOTE:___one more twist here is , when i bounce the database then i can take full database backup with out error and warnings for 6 to 7 times then again at 8th time its again stopping at above point.......................................................(when i need full logical backup again i need to bounce the db)
    what for its stopping here, why it is not going forward,,, its issue with both the database's same,
    NOTE:ERROR IN MY ALERTLOG FILE AND TRACEFILE IS
    trace file d:\app\admin\diag\rdbms\memfa\memfa\trace\memfa_j000_7844.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows NT Version V6.0 Service Pack 2
    CPU : 16 - type 8664, 16 Physical Cores
    Process Affinity : 0x0x0000000000000000
    Memory (Avail/Total): Ph:1148M/16379M, Ph+PgF:17118M/32914M
    Instance name: abha210
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Windows thread id: 7844, image: ORACLE.EXE (J000)
    *** 2013-01-17 12:00:00.124
    *** SESSION ID:(196.16104) 2013-01-17 12:00:00.124
    *** CLIENT ID:() 2013-01-17 12:00:00.124
    *** SERVICE NAME:(SYS$USERS) 2013-01-17 12:00:00.124
    *** MODULE NAME:(DBMS_SCHEDULER) 2013-01-17 12:00:00.124
    *** ACTION NAME:(PURGE_LOG) 2013-01-17 12:00:00.124
    purge queue_table SYS.SCHEDULER_FILEWATCHER_QT
    purge queue_table SYS.SCHEDULER$_EVENT_QTAB
    alertlogfile___________________________
    Thread 1 cannot allocate new log, sequence 123
    Private strand flush not complete
    Current log# 4 seq# 122 mem# 0: D:\APP\ADMIN\ORADATA\memfa\REDO04.LOG
    Thread 1 advanced to log sequence 123 (LGWR switch)
    Current log# 5 seq# 123 mem# 0: D:\APP\ADMIN\ORADATA\memfa\REDO05.LOG
    already i have change my redo log to 50 to 500 each(3) and increase retention time too
    i have tried for more than 50 time by running full database export command ,but its not working ,sometimes 24 hours till at that point only(if i bounce the both the database's then,full database export completes in 9 min(successfully without error and without warnings
    these are veru new databases size nearly 8gb each
    please assist/help me in solving this issue,

  • Oracle SGA benefits of using indexes

    Goo day people,
    We have been having performance issues and then the SGA was not sized coprrectely.
    The size of the SGA was 720mb so we then pushed it to 4 gig which I blv is enough.
    We then did a run of the tuning advisory on the top sql queries that were top one,
    the advisor then pointed on that we need to use indexes on those queries .
    We then advised the developers that they need to use indexes as it will improve
    performance .. This morning the ADDM pointed out that we need to up the sga
    to 5 Gig and I dont see this a solution to the problem.
    I need to find a note on what benefits does using indexes have on the SGA and the overall perfomance
    so that I can show the business that increasing the SGA wont solve the problem.
    See screen shot below
    erformance Finding Details:
         Database Time (minutes)          33.8
         Period Start Time          10-Aug-2010 10:00:11 o'clock SAST
         Period Duration (minutes)          60.2
         Task Owner          SYS
         Task Name          ADDM:1511773678_1_28498
         Average Active Sessions          0.6
         Finding          The SGA was inadequately sized, causing additional I/O or hard parses.
         Impact (minutes)          14.4
         Impact (%)          [64] [86] 42.8
    Recommendations
    Show All Details | Hide All Details
    Details     Category     Benefit (%) [Sorted in descending order]
    [Select to hide information] Hide
         DB Configuration     [64] [86] 42.8
    Action     Increase the size of the SGA by setting the parameter "sga_target" to 5120 M.
    Thanks
    Sibusiso
    Edited by: 787473 on 10-Aug-2010 02:35

    We have been having performance issues and then the SGA was not sized coprrectely.
    The size of the SGA was 720mb so we then pushed it to 4 gig which I blv is enough.
    We then did a run of the tuning advisory on the top sql queries that were top one,
    the advisor then pointed on that we need to use indexes on those queries .
    We then advised the developers that they need to use indexes as it will improve
    performance .. Yes. As those queries must be missing indexes that would prove to be beneficial. So need to take it query by query and created the required indexes.
    This morning the ADDM pointed out that we need to up the sga
    to 5 Gig and I dont see this a solution to the problem.
    I need to find a note on what benefits does using indexes have on the SGA and the overall perfomance
    so that I can show the business that increasing the SGA wont solve the problem.
    See screen shot below
    erformance Finding Details:
         Database Time (minutes)          33.8
         Period Start Time          10-Aug-2010 10:00:11 o'clock SAST
         Period Duration (minutes)          60.2
         Task Owner          SYS
         Task Name          ADDM:1511773678_1_28498
         Average Active Sessions          0.6
         Finding          The SGA was inadequately sized, causing additional I/O or hard parses.
         Impact (minutes)          14.4
         Impact (%)          [64] [86] 42.8
    Recommendations
    Show All Details | Hide All Details
    Details     Category     Benefit (%) [Sorted in descending order]
    [Select to hide information] Hide
         DB Configuration     [64] [86] 42.8
    Action     Increase the size of the SGA by setting the parameter "sga_target" to 5120 M.One of the biggest impact of indexes (if they fit in the scenario) is in reducing the IO (by avoiding full table scans). Reduced IO means faster system. Absence of indexes would mean that you read lots of data into the memory [buffer cache] and data would flush out quickly too (to make space for the new data), resulting in more IO. So having indexes in place means you only read as much amount of data as required and frequently accessed data stays in the memory.
    Kinda incomplete answer...Lets wait for other experts' comments :)
    Edited by: amardeep.sidhu on Aug 10, 2010 3:23 PM

  • How do I reducethe size of sga?

    how do I reduce the size of sga so as to relief my heavily used server?

    set echo off
    set feedback off
    set linesize 110
    COLUMN a  HEADING ' '
    COLUMN est_mb        FOR          99,999  HEADING 'Shared Pool|Size (MB)'
    COLUMN multiplier    FOR            9.99  HEADING ' | |Multilpier'
    COLUMN LC_MB         FOR           9,999  HEADING 'Lib. Cache|(MB)'
    COLUMN LC_OBJ        FOR         999,999  HEADING 'Lib. Cache|Objects'
    COLUMN LC_TS         FOR     999,999,999  HEADING 'Parse Time|Saved (Sec)'
    COLUMN LC_TSF        FOR          999.99  HEADING 'Parse Time|Saved Factor'
    COLUMN LC_OH         FOR     999,999,999  HEADING 'Lib. Obj.|Hits Change'
    COLUMN sys_id        NOPRINT           new_value system_id
    COLUMN sys_startup   NOPRINT           new_value startup_date
    TTITLE Left    'DB :' system_id                      -
           Center 'Shared Pool Tuning Estimates'  Skip 1 -
           Left    'Up Since: ' startup_date             -
            Center '~~~~~~~~~~~~~~~~~~~~~~~~~~~~' Skip 2
    select d.name                            AS sys_id,
           TO_CHAR(i.startup_time,'dd Mon yyyy hh24:mi') as sys_startup,
           p.SHARED_POOL_SIZE_FOR_ESTIMATE   AS est_MB,
           p.SHARED_POOL_SIZE_FACTOR         AS multiplier,
           p.ESTD_LC_SIZE                    AS LC_MB,
           p.ESTD_LC_MEMORY_OBJECTS          AS LC_OBJ,
           p.ESTD_LC_TIME_SAVED - base.ts              AS LC_TS,
           p.ESTD_LC_TIME_SAVED_FACTOR       AS LC_TSF,
           p.ESTD_LC_MEMORY_OBJECT_HITS - base.oh     AS LC_OH
      from V$SHARED_POOL_ADVICE p,
           v$database           d,
           v$instance           i,
           (SELECT ESTD_LC_TIME_SAVED         as ts,
                   ESTD_LC_MEMORY_OBJECT_HITS as oh
              FROM V$SHARED_POOL_ADVICE
             WHERE SHARED_POOL_SIZE_FACTOR = 1)  base;
    set echo off
    set feedback off
    set heading off
    TTITLE Center 'Shared Pool Reserved' Skip 1 -
           Center '~~~~~~~~~~~~~~~~~~~~' Skip 2
    select 'shared_pool_reserved_size init.ora paramater                     : '||to_char(value,'999,999,999')
      from v$parameter where name = 'shared_pool_reserved_size'
    union all
    select 'Freespace on reserved list                                       : '||to_char(FREE_SPACE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Avg. size of free memory                                         : ' || to_char(AVG_FREE_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Num. of free places on reserd list                               : '|| to_char(FREE_COUNT,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Largest piece of free memory on reserved list                    : ' || to_char(MAX_FREE_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Total used memory on reserved list                               : ' ||to_char(USED_SPACE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Average size of used memory on reserved list                     : '||to_char(AVG_USED_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Number of used pieces of memory on reserved list                 : '|| to_char(USED_COUNT,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Largest piece of used memory on reserved lsit                    : ' || to_char(MAX_USED_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Number of times reserved list searched for free memory           : '|| to_char(REQUESTS,'999,999,999')
      from v$shared_pool_reserved
    union all
    select '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  '
      from dual
    union all
    select 'Number of times could reserved list has to start flushing LRU    : ' || to_char(REQUEST_MISSES,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Size of last memory request miss                                 : ' || to_char(LAST_MISS_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Size of the largest memory request miss                          : ' ||to_char(MAX_MISS_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Number of times no memory found (ORA-04031)                      : '||to_char(REQUEST_FAILURES,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Size of the last no memory found (ORA-04031)                     : '|| to_char(LAST_FAILURE_SIZE,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Minimum size of request that causes an ORA-04031 W/O flushing LRU: '|| to_char(ABORTED_REQUEST_THRESHOLD,'999,999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Number of requests that signaled ORA-04031 without flushing LRU  : '|| to_char(ABORTED_REQUESTS,'999,999,999')
      from v$shared_pool_reserved
    union all
    select 'Size of last request that signaled ORA-04031                     : '|| to_char(LAST_ABORTED_SIZE,'999,999,999')
      from v$shared_pool_reserved;
    TTITLE off
    set feedback on
    set heading on
    set underline off
    set feedback off
    COLUMN TEXT          FOR a96        HEADING ''
    SELECT     'V$SHARED_POOL_ADVICE displays information about estimated parse time savings in the shared pool for different sizes.'         ||
    CHR(10) || '.'        ||
    CHR(10) || 'SHARED POOL SIZE  : Shared pool size for the estimate (in MB).'        ||
    CHR(10) || 'MULTIPLIER        : Size factor with respect to the current shared'   ||
    CHR(10) || '                    pool size.  1.00 = current shared pool size.'      ||
    CHR(10) || 'LIB. CACHE (MB)   : Est. memory in use by the library cache (in MB)'  ||
    CHR(10) || 'LIB. CACHE OBJECTS: Est. number of library cache memory objects in'   ||
    CHR(10) || '                    the shared pool of the specified size.'            ||
    CHR(10) || 'PARSE TIME SAVED  : Est. elapsed parse time saved (in seconds), owing'||
    CHR(10) || '                    to library cache memory objects being found in a' ||
    CHR(10) || '                    shared pool of the specified size. This is the '  ||
    CHR(10) || '                    time that would have been spent in reloading the' ||
    CHR(10) || '                    required objects in the shared pool had they been'||
    CHR(10) || '                    aged out due to insufficient amount of available' ||
    CHR(10) || '                    free memory.'                                     ||
    CHR(10) || 'PARSE TIME SAVED FACTOR: Estimated parse time saved factor with respect' ||
    CHR(10) || '                         to the current shared pool size.'            ||
    CHR(10) || 'LIB. OBJ. HITS    : Est. number of times a library cache memory object' ||
    CHR(10) || '                    was found in a shared pool of the specified size.'
    as text
    FROM dual;
    set underline '-'
    TTITLE off
    set feedback onThis will show you the state of shared pool and help you decide on the proper size.

  • How much data canbe cache in SGA

    Hai everybody,
    my company using Oracle 11g 11.2.0.1.0 - Production database, my os is RHEL 5.5 ,my server's physical memory is 30.9 GB ( cat /proc/meminfo ) ie the SGA size [ (30.9*40/100)=12.5 GB ] so i use 12.5GB SGA size for one instance, we need to cache some data for our application performance how much data can cache in SGA based on 12.5 GB or how to calculate how much data can cache in SGA without any performance degradation.
    Regards Benk

    Aman has it right. WHY?
    the keep pool, alter table cache, etc - I would not be doing ANY of these without a good reason.
    Often times, people think that forcing a table to stay in the cache is a good idea. It rarely is. If you want things in the cache, use them. If they are used, they will naturally have their blocks cached. If you don't use them, they can get flushed out. But if you don't use them, why do you want them using memory that could better be used by other things?
    My advice: don't try to second-guess Oracle's memory management and caching strategy. If you think you have a reason to, post it here and we can help you (or debunk your reason). Based on the fact that you've apparently calculated the SGA using that silly, meaningless "rule" that says give it 40% of your total RAM, I'd guess that you are looking around for a magic bullet, and you don't actually have a problem to solve.
    John

  • Where low SGA for bi-direction stream

    Hi Experts,
    I got alert message from database -- saleeast
    Propagation Schedule for (STRMADMIN.STREAMS_CAPTURE, "STRMADMIN"."STREAMS_APPLY"@salewest.net) encountered following error:
    ORA-23603: STREAMS enqueue aborted due to low SGA.
    we are using bi-direction stream. this message means that apply process abort due saleeast low SGA? or salewest low SGA?
    or other?
    Thanks,
    JIm

    i think that is salewest DB has low SGA.
    Also I need to increase SGA_target or SGASize? Actually, saleeast 1.8 G SGAsize as 500M. salewest2.5G and_SGA_size as 500M
    I got this info from both DB,
    No experts help me?
    Thanks,
    Jim
    alert info as
    GATHER_STATS_JOB encountered errors. Check the trace file.
    Wed Dec 24 22:10:09 2008
    Errors in file d:\oracle\product\10.2.0\admin\sale\bdump\saleea_j002_3984.trc:
    ORA-00054: resource busy and acquire with NOWAIT specified
    ---------------------saleeas system info in trac
    ----- End of Call Stack Trace -----
    ==============================
    Memory Utilization of Subpool 1
    ================================
    Allocation Name Size
    "free memory " 179540548
    "miscellaneous " 0
    "Undo Meta Data " 144
    "so_knlsga " 0
    "dpslut_kfdsg " 256
    "File Space Usage " 11336
    "trace buffer " 4161536
    "trace_knlasg " 500
    "dsktab_kfgsg " 46840
    "hot latch diagnostics " 80
    "Wait event pointers " 168
    "SEQ S.O. " 34840
    "evaluation con " 0
    "ENQUEUE STATS " 8400
    "dev2node map " 2048
    "dgtab_kfmdsg " 8964
    "sql area " 3924088
    "UNDO INFO HASH " 5888
    "UNDO STAT INFO " 59904
    "event classes " 128
    "txncallback " 58740
    "VIRTUAL CIRCUITS " 614600
    "transaction " 500940
    "branch " 96804
    "sessions " 1622744
    "dlo fib struct " 8020
    "subheap " 53700
    "row cache " 3755444
    "KCB where statistics arra" 25824
    "KCB buffer wait statistic" 3352
    "KCB incremental ckpt entr" 472
    "invalid low rba queue " 1280
    "table definiti " 3884
    "temporary tabl " 0
    "KGSKI scheduler heap 2 de" 128
    "resumable " 3272
    "KESTB existence bitvec se" 64
    "type object de " 312104
    "enqueue_hash " 16920
    "branch so " 248
    "KSXR pending messages que" 842636
    "KSXR pending consumption " 16132
    "KQF optimizer stats table" 2408
    "KTI SGA freeable small po" 0
    "trigger inform " 2660
    "trigger defini " 5308
    "trigger source " 0
    "transaction co " 0
    "KTCN: Row Change Segmente" 30660
    "KTCN: Obj Invalidation Se" 2508
    "rule set " 0
    "KTCN: Hash Table Segmente" 2632
    "kolfsgi: KOLF's SGA initi" 4
    "kolbsgi: KOLB's SGA initi" 4
    "kmgsb circular statistics" 108800
    "kgl lock hash table state" 47188
    "kglsim size of pinned mem" 16048
    "kglsim count of pinned he" 8024
    "kzctxgjsi ksuseclid memor" 1265604
    "kzctxgjci ksuseclid memo" 0
    "kewr MMON Remote Flush Re" 23552
    "kea advisor definition ca" 480
    "kelr system metrics table" 276
    "CCursor " 7733980
    "ksr message pool free que" 18808800
    "ksb ci process list (each" 348
    "ksunfy: is parent statist" 3000
    "ksunfy: nodes of hierarch" 320
    "ksunfy: system-global sta" 3000
    "ksuloi: long op statistic" 144000
    "ksuloi: long op free list" 64
    "ksuloi: long op used list" 64
    "ksuloi: child latches for" 832
    "ksuloi: garbage collectio" 32
    "ksuxds ksuseclid memory " 0
    "ksbtnfy: infrequent actio" 1776
    "ksfd shared pool recovery" 24
    "kpummst global in the SGA" 996
    "ASM file " 17684
    "kwqmncal: allocate buffer" 4088
    "qmn tasks " 4128
    "call " 268744
    "threshold ale " 8200
    "dictionary cache " 0
    "dispatcher queue " 176
    "1:kngisga " 16044
    "KEWS statistic metadata " 10904
    "kelr other metrics table " 36
    "knlu_txn_insert_btree-10 " 105108
    "knlu_txn_init_btree:init " 28
    "groups_kfgbsg " 4096
    "KSXR pending reply queue " 91092
    "ksfv subheap descriptor " 104
    "DISPATCHERS INFO " 2824
    "dispatcher rate " 1312
    "kglsim alloc latch area " 1768
    "TRANSACTION NAME " 0
    "kgsk subheap descriptor " 80
    "PCursor " 5053164
    "fdhsh_kffsg " 8196
    "fdrec_kffsg " 12
    "work area tab " 271216
    "kglsim main lru count " 75520
    "kglsim free heap list " 204
    "kebm run-once actions " 16
    "plwpil:wa " 4252
    "grplut_kfgsg " 256
    "AW SGA " 24
    "grptab_kfgsg " 3720
    "KEWS sesstat seg tbl " 4
    "kspd run-time context " 12
    "enqueue resources " 185932
    "processes " 1200
    "Wait History " 107200
    "kzekm heap descriptor " 164
    "kglsim hash table bkts " 2097152
    "KSXR global channels " 588
    "KSXR receive buffers " 1034000
    "kelt translation table " 312
    "kcbl seq io throughput " 16000
    "kebm slave descriptors " 988
    "KCB Table Scan Bitmap " 256
    "KCB Table Scan Buffer " 4194816
    "trace buf hdr xtend " 239288
    "incr ckpt write count arr" 168
    "instance cnxn information" 12060
    "knalfSubscribe2Sga:1 " 1800
    "trace events array " 68000
    "PLS chunk " 188
    "KEWS aggregation objs " 4020
    "KSXR large reply queue " 166824
    "event-class map " 3504
    "KSQ event description " 5576
    "kglsim main lru size " 151040
    "kglsim alloc latches " 68
    "kglsim recovery area " 1980
    "kglsim free obj list " 204
    "KESTB existence bitvec " 16384
    "ksb cic process list " 288
    "kso req alloc heapds " 152
    "FileOpenBlock " 1652972
    "alert threshol " 4116
    "qmtb_init_data " 856
    "sort segment handle " 4824
    "LISTEN ADDRESS TABLE " 1024
    "latchnum to latch map " 1552
    "reserved stopper " 0
    "latch hashvalue table " 1552
    "LISTEN ADDRESS ENTRY " 160
    "sim kghx free lists " 4
    "procs_kfgbsg " 484
    "service names array " 12
    "PQ/ResSched " 520
    "SERVICE NAME ENTRY " 216
    "log_checkpoint_timeout " 12360
    "PQ/BizCard " 960
    "block_sizes_array " 24
    "qtree_kwqbspse " 28
    "PX subheap " 349468
    "latch descriptor table " 1552
    "State object pools " 1536
    "parameters " 0
    "SHARED SERVERS INFO " 3080
    "qtree_kwqbsgn " 28
    "post agent " 0
    "post stats " 1088
    "SERVICE NAMES TABLE " 1024
    "pspool_kfsg " 44
    "active checkp " 6624
    "plis struct " 80
    "memory transfer history " 12804
    "PL/SQL DIANA " 706308
    "plwsppwp:wa " 0
    "channel sga anchor " 184
    "QSMQUTL summar " 0
    "plwspv:value-1 " 0
    "plwshs:temphdl " 28
    "segmented arrays " 4336
    "Checkpoint queue " 513280
    "sim lru segments " 2560
    "sim segment hits " 5120
    "sim state object " 24
    "partitioning d " 0
    "paralltp txn r " 748580
    "ASH buffers " 16252928
    "latch recovery alignment " 52
    "stat hash values " 1420
    "message pool freequeue " 700592
    "PL/SQL MPCODE " 2377380
    "PL/SQL PPCODE " 16836
    "procs: ksunfy " 456000
    "PLS non-lib hp " 29160
    "sga listelement " 1024
    "agent name " 0
    "SYSTEM PARAMETERS " 170988
    "primem_kfmdsg " 516
    "prirec_kfmdsg " 12
    "sched job queue " 3788
    "object queue hash buckets" 262400
    "object queue hash table d" 9728
    "1:kngoflini " 3072
    "object level stats hash t" 256
    "PG latch table " 416
    "sim cache sizes " 640
    "sim cache nbufs " 640
    "MTTR advisory context " 1224
    "LGWR-network Server info " 19296
    "LGWR debug module memory " 8192
    "logout storm management " 1200
    "log_simultaneous_copies " 2048
    "pl/sql source " 0
    "sys event stats " 196224
    "parameter handle " 168256
    "Parameter Handle " 1556
    "parameter blocks " 5744
    "channel handle " 50424
    "SWRF Alerted " 4116
    "PARAMETER TABLE " 1024
    "PARAMETER ENTRY " 136
    "ASM map operations " 3532
    "PLS cca hp desc " 188
    "LGWR post requested array" 4
    "post/wait queues " 3840
    "bloom filter " 3532
    "param hash values " 5744
    "Auto tune undo info " 92
    "sql area:PLSQL " 185460
    "PX subheap desc " 140
    "PX QC msg stats " 2288
    "PX QC deq stats " 1476
    "repository " 14736
    "sql area:KOKA " 101700
    "UNDO INFO " 8
    "Log Archive Config Contex" 356
    "state objects " 237576
    "ArchLog Dest Array " 7480
    "Parameter Table " 22976
    "archive_lag_target " 9620
    "name-service request " 2764
    "log file size history arr" 168
    "latch nowait fails or sle" 114848
    "latch recovery structures" 576
    "Nettimeout Histogram " 48800
    "Label Cache Heap descrptr" 92
    "plwppwp:value-1 " 0
    "sched job slv " 5724
    "Saved job ids " 8000
    "object level stat table " 1008
    "pso tbs: ksunfy " 116400
    "private strands " 2396160
    "dummy " 18756
    "qm_init_sga:qmdpsg " 28
    "analytic workspace " 2376
    "sim trace buf " 5140
    "qm_init_sga:oidctx " 4
    "Sort Segment " 189404
    "PRESENTATION TABLE " 1024
    "recov_kgqbtctx " 3048
    "peplm.c:latch array " 1144
    "PX msg pool struct " 728
    "Cursor Stats " 6436320
    "Banner Storage " 2044
    "qmps connections " 65280
    "quiescing session " 2252
    "qm_init_uga:qmsg " 15208
    "SHRINK STAT " 2996
    "enqueue " 418188
    "rule set evalu " 0
    "buffer handles " 294004
    "process group array " 25352
    "property service SO " 3528
    "object stat dummy elem " 28
    "object stat dummy stat " 288
    "broker globals " 112
    "DML lock " 290588
    "sga dev dict " 36
    "sga node map " 8
    "prmtzdini tz region " 408316
    "Monitor Modification Hash" 256
    "savepoints " 0
    "Managed Standby Proc Arra" 28672
    "max allowable # log files" 253200
    "sim_knlasg " 1280
    "message pool context area" 6992
    "OS proc request holder " 23008
    "media recovery state obje" 6140
    "db_files " 198692
    "constraints " 47752
    "PX server msg stats " 2288
    "PX server deq stats " 1476
    "cinfo_kfnsg " 4100
    "KQR M PO " 625296
    "kks stats " 20
    "parameter table block " 623320
    "KQR M SO " 393396
    "KQR S PO " 132244
    "KQR L SO " 177192
    "KQR S SO " 29312
    "KQR X PO " 34364028
    "KQR X SO " 0
    "KRSF SGA " 28
    "KSFV SGA " 504
    "KTI-UNDO " 2470608
    "KSXR SGA " 27824
    "KSIR SGA " 96
    "kks stbkt " 917504
    "ASM rollback operations " 3276
    "plugin datafile array " 3612
    "plwda:PLW_STR_NEW_RVAL " 16
    "plwspv:PLW_STR_NEW_VAL " 24
    "plwppwp:garbage handle " 8
    "KGLS SGA " 12
    "BRANCH TABLE SEGMENTED AR" 236376
    "KGSK sga " 280
    "mvobj part des " 24812
    "KGKP sga " 20
    "lckhsh_kffsg " 2052
    "parameter value memory " 1484
    "RVWR post requested array" 4
    "RTA Boundary Info thread " 12672
    "lckhsr_kffsg " 12
    "lcktab_kffsg " 2764
    "krvxmctx " 20
    "krvxlctx " 168
    "PARALLEL T RECO LATCH " 16640
    "JSX SGA " 64
    "block media rcv state obj" 2764
    "kwqjpsob " 96
    "multiblock re " 10304
    "parameter text value " 3288
    "parallel_max_servers " 17920
    "Background process state " 48
    "krvxcall " 672
    "KGLS heap " 707224
    "KGSKI sga " 48
    "resize request state obje" 355200
    "reserved entries for all " 3776
    "redo allocation latch(es)" 3952
    "replication session stats" 96480
    "modification " 141616
    "monitoring co " 20640
    "buffers waiting for write" 12
    "rules engine aggregate st" 1412
    "ktcmvcb " 0
    "krbmror " 4039068
    "ksfqpar " 390036
    "krvxdka " 588
    "joxs heap " 8328
    "krbmrsr " 512
    "quiesce system context " 256
    "network connections " 53680
    "SGA Obsolete Param Source" 16
    "SGA param ownership table" 180
    "SGA structure for SWRF (K" 216
    "SGA struct - SWRF Metrics" 1508
    "kga sga " 4
    "SGA - SWRF RawMet Runtime" 3280
    "osp pool handles " 4
    "SGA - SWRF DrvMet Runtime" 4960
    "SGA - SWRF Metrics WCTime" 1208
    "SGA - SWRF Metrics ksuTim" 1208
    "SGA - SWRF Time Model Bas" 64
    "knltsga " 8
    "SGA - AWR Metric RBSM str" 1340
    "SQL Memory Manager Base W" 8576
    "kks sga " 40
    "change tracking state cha" 4168
    "simulator latch/bucket st" 6656
    "Prefetch history buffer " 11296
    "pso child tracebuf ptrs " 1200
    "client/application info l" 832
    "KSK SGA " 64860
    "change tracking recovery " 262144
    "change notification regis" 8200
    "change notification obj m" 8200
    "MS alert log " 72704
    "knlsg " 80
    "kokcd " 240
    "kohsg " 4
    "kponfy " 672
    "kfmsg " 3088
    "KFK SGA " 1064
    "KGLS SD " 2268
    "KGLS SP " 3024
    "sys event stats for Other" 196224
    "latch classes " 352
    "system default language h" 540
    "name-service table " 13080
    "name-service entry " 3912
    "cross-platform compliance" 1908
    "kkzias " 144
    "library cache " 9659132
    "kksss " 27772
    "kzull " 3516
    "kzulu " 5376
    "ksfqpn " 223632
    "Array of cached attr " 280
    "spfile callback table: ks" 224
    "KKJ SGA " 460
    "knstsg " 40
    "kcrrny " 25320
    "spfile cleanup structure " 16752
    "kfasga " 1048
    "kfdsga " 76
    "kfgsga " 68
    "kfgbsg " 28
    "xssinfo " 5532
    "kfmdsg " 104
    "kffsga " 80
    "Client ID trace setting h" 268
    "buffer_pool_desc_array " 2736
    "KGX " 107568
    "Service-level trace setti" 268
    "Service-level ID trace se" 3400
    "row cache child latch " 4160
    "KQR ENQ " 90288
    "CGS system incarn array " 24864
    "LRMPD SGA Table " 80416
    "SCHEDULING POLICY TABLE " 80
    "ksfqpa " 4480
    "qm_init_sga:origroot " 56
    "qm_init_sga:rootname " 4
    "xdbconf " 4
    "namhsh_kfdsg " 2052
    "namrec_kfdsg " 12
    "namhsh_kfgsg " 144
    "Closed Thread SCN Bitvec " 8448
    "msg Q child latches " 576
    "Client ID trace settings " 3272
    "osp allocation " 92004
    "os statistics " 1872
    "policy hash table descrpt" 152
    "Policy Cache Heap descrpt" 92
    "plwda:PLW_STR_NEW_VAL_VEC" 4
    "plwda:PLW_STR_NEW_LEN_VEC" 4
    "plwppwp: kglpql warnings " 0
    "plwppwp:PLW_STR_NEW_VAL_V" 28
    "plwppwp:PLW_STR_NEW_LEN_V" 16
    "plwgc: plwgc_garbage_clea" 0
    "plwiiw: kglpql warnings " 0
    "xscalc " 3528
    "obj stat memo " 907676
    "obj htab chun " 459008
    "object queue " 196608
    "object level " 99072
    "SCHEDULING POLICY VECTOR " 104
    "XCT XGA " 0
    "SGA - SWRF Metric Eidbuf " 135036
    "process count for each CI" 288
    "Pre-Warm Initialized Seti" 256
    "Processor group descripto" 192
    "Prefetch history buffer a" 284
    "Prefetch client count per" 32
    "rules engine context " 200
    "ptr to sessions under idl" 32
    "channel context areas " 21120
    "sim trace buf context " 128
    "Cleanup state objects " 272
    "heap_kfsg " 80
    "slave class sga anchor " 48
    "simulator hash buckets " 131584
    "State object subpools " 2880
    "returns from metrics req " 759808
    "resize operation history " 28804
    "reservation state object " 2516
    "xslongops " 4040
    "AQ Propagation Scheduling" 16000
    "AWR Table Info (KEW layer" 872
    "character set memory " 47432
    "simulator hash latch " 13312
    "sim segment num bufs " 2560
    "character set object " 558716
    "alter system errs: kspnfy" 108544
    "qmuCreatePermSubHeap:subh" 80
    "qmcInitSGA:qmsga_acl_prop" 32
    "Active Session History - " 1016
    "NETWORK BUFFER " 164000
    "OS file lock " 2764
    "qm_init_uga_helper: qmkm " 16
    "session idle latches " 832
    "sess Q child latches " 576
    "set_descriptor_array " 30208
    "SQL Workarea Histogram " 1056
    "qesmmaInitialize: ia_qesm" 264
    "qesmmaInitialize: ta_qesm" 264
    "returns from remote ops " 43008
    "qesmmaInitialize: oa_qesm" 112
    "qesmmaInitialize: " 112
    "qesmmaInitialize: pa_qesm" 11088
    "SGA - SWRF Metric CHBs " 474724
    "SGA Param Source Table " 180
    "SGA structure for kelr " 1180
    "listener addresses " 8
    "db_block_hash_buckets " 3178496
    "java static objs " 26632
    "KSI resource types " 2704
    "temporary foreign ref " 3592
    "kglsim object batch " 12598880
    "kglsim pin list arr " 816
    "trigger condition node " 64
    "downed inst bit vector " 36
    "ktlbk state objects " 188416
    "ksb process so list " 288
    "ksws service object " 2656
    "ksws service events " 36864
    "x$rule_set " 16804
    "Heap0: KGL " 1538380
    "time manager context " 36
    "fixed allocation callback" 384
    "kqlpWrntoStr:string " 200
    "file # to first dba, exte" 2412
    "error message file name " 52
    "kqlpWrntoStr:value " 0
    "done Q child latches " 576
    "kscdnfyglobalflags " 4
    "kqlpPlsClnup:string " 0
    "KEWS statistic name " 1624
    "KEWS statistic maps " 2712
    "KCB private handles " 2400
    "temporary table lock " 2504
    "KEWS sysstat values " 256
    "KEWS sesstat values " 171520
    "heap_knltsga " 80
    "kebm slave message " 124
    "kcbl state objects " 7200
    "xsoqsehift " 2632
    "xsoqojhift " 3400
    "KTI latch structure " 3744
    "knalfIsga:stateobj " 908
    "xsoqophift " 2312
    "xsoqmehift " 2440
    "DBWR event stats array " 192
    "list " 3584
    "kcrfa structures " 10032
    "KCB undo bitvec " 4096
    "kebm slave reply " 44
    "kgllk hash table " 514048
    "X$KSFQP ANCHOR " 52
    "ksfm state object " 20
    "event descriptor table " 28128
    "ksir State Object " 3788
    "kpssnfy: kpsssgct " 32
    "kpscad: kpscscon " 17016
    "dbwriter coalesce buffer " 1049088
    "ksmd unit test 1 " 7576
    "ksim client list " 84
    "kscdnfyinitflags " 4
    "ksws RLB SGA ctx " 20
    "dbwriter coalesce bitmap " 64
    "KTC cch latches " 1144
    "KTI pool states " 36
    "kgqbt_alloc_block " 12320
    "kglsim latch area " 1768
    "kglsim hash table " 4104
    "DISPATCHER CONFIG TABLE " 1024
    "DISPATCHER CONFIG ENTRY " 84
    "kghx free lists " 26352
    "kebm test replies " 22528
    "kcbl statistics " 6144
    "Global Context Heap descr" 212
    "XDB Schema Cac " 4848736
    "kks stats latch " 416
    "KTC latch cleanup " 192
    "generic process shared st" 12
    "KTU latch cleanup " 864
    "KUPP subheap desc " 128
    "KSFQ buffer pool " 2376
    "kspload:comment " 20
    "x$ksmfs table " 12
    "ksv slave class " 8444
    "kscdnfyinithead " 12
    "kscdnfyinitnext " 16
    "kscdnfyinitprev " 16
    "writes stopped lock state" 20
    "writes stopped lock conte" 16
    "X$KSVII table " 256
    "kxfpdp pointers " 14400
    "X$KSVIS table " 64
    "X$KSVIT table " 256
    "idtab_kfksg " 41208
    "KEWS External IDs " 768
    "kodosgi kopfdo " 400
    "kqlpaac:value-1 " 280
    "KSPD key heap " 4116
    "kglsim latches " 68
    "TXN TABLE SEGMENTED ARRAY" 266392
    "KFG state obj " 2696
    "FileIdentificatonBlock " 402012
    "kzsrs filename " 532
    "KFM state obj " 3788
    "KKJ SHRD WRQS " 180
    "kso req alloc " 4116
    "distributed_transactions-" 16080
    "dispatcher service names " 16
    "kwqmncini-slv " 240
    "kwqmncini-tbl " 216
    "KKKI consumer " 4116
    "dbwr message active flag " 4
    "dbwr outstanding ios per " 64
    "dbwr suspend/resume ptr a" 8
    "KGH: NO ACCESS " 52020752
    "kwqietidlst 2 " 143088
    "database creation languag" 540
    "database NCHAR language h" 540
    "dbwr working sets kcbdbws" 8
    "dbwr suspend/resume array" 8
    "dbwr actual working sets " 64
    "dbwriter coalesce struct " 32
    "KCB Table Scan " 24
    "KCK type array " 468
    "Temporary storage for RTA" 16
    "temp lob duration state o" 3720
    "messages " 55200
    "joxs struct " 80
    "Temporary Tables State Ob" 46304
    "trace buffer header array" 34184
    "Transportable DB Converte" 4440
    "KTU lat struct " 1144
    "KTUR HIST INFO " 4840
    "kks stats mem " 32
    "kks stats hds " 560
    "KRBMROS ANCHOR " 60
    "kodosgi kodos " 16
    "HTTP fixed headers " 72
    "KEWS fixed SGA " 2336
    "jsksncb: 2 " 7504
    "joxlod exec hp " 200592
    "KGSK scheduler " 145988
    "jsksncb: 7 " 483328
    "UNDO INFO SEGMENTED ARRAY" 53640
    "jsksncb: 9 " 23760
    "jsksncb: 8 " 512
    "KSFD SGA I/O b " 4190228
    "KGSKI schedule " 8248
    "KTC latches " 1144
    "ksleid alloc " 112
    "KTU latches " 704
    "KSI Indexes " 284
    "KTI latches " 576
    "kwqicaqe2kc1 " 8200
    "kwqmn:tskdata " 0
    "kkj jobq wor " 4104
    "jsksncb: 6 " 2928
    "jsksncb: 3 " 4096
    "where to latch num map " 7180
    "KKJ WRK LAT " 312
    "jsksncb: 4 " 4056
    "koh dur heap " 188
    "KSN WaitID " 24
    "file # translation table " 28840
    "KGX rowlist " 980
    "kkj jobq slav " 896
    "kwrsnfy: kwrs " 8060
    "kwqidpse:sdb " 84
    "kfkhsh_kfdsg " 2052
    "kfkrec_kfdsg " 12
    "jsksncb-latch " 1664
    "kfkid hash " 2052
    "kglsim sga " 24840
    "enqueue_hash_chain_latche" 832
    "kfkid hrec " 12
    "joxlod pcod hp " 0
    "kwqprini:so " 194640
    "kngolini:2 " 340
    "kngolini:3 " 40
    "KTCCC OBJECT " 0
    "KTPR HIST TB " 2808
    "KTPR SUBHEAP " 96
    "kksss-heap " 108072
    "kwqiemclst 1 " 108307308
    "KTF MAPPINGS " 12288
    "kngolini:1 " 396
    "kwqiecmc 1 " 0
    "kwqieucscn 1 " 0
    "ksv reaper " 4168
    "kglsim heap " 7840976
    "event statistics per sess" 3087360
    "event statistics ptr arra" 1340
    "eventlist to post commits" 468
    "kzulsg SGA " 1040
    "KFG S

  • Flushing shared pool

    hi,
    what is the impact of alter system flush shared pool on database.
    Regards,
    Mannu

    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 4064 bytes of shared memory ("shared pool","update sys.job$ set this_dat...","sga heap(1,0)","kglsim heap")
    ORA-12012: error on auto execute of job 443
    ORA-04031: unable to allocate 4064 bytes of shared memory ("shared pool","SELECT NVL(DISABLED, 'F'), F...","sga heap(1,0)","kglsim heap")
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460
    ORA-06512: at "SYS.DBMS_IREFRESH", line 683
    ORA-06512: at "SYS.DBMS_REFRESH", line 195
    ORA-06512: at line 1
    i am getting this errors continuosly in alert log file

  • Control flush error in gui_download

    Hi All,
    I get a control flush error while trying to use the FM GUI_DOWNLOAD
    in my BSP Application.
    Can anyone suggest the possible cause and solution?

    Dear Raja,
    I used the code given in one of the posts:
    ITAB contains my data so..
    LOOP AT ITAB INTO WA.
    CONCATENATE L_STRING WA-PARTNER
    WA-ADR_KIND
    WA-ADDRNUMBER
    CL_ABAP_CHAR_UTILITIES=>CR_LF
    INTO L_STRING SEPARATED BY SPACE.
    ENDLOOP.
    APP_TYPE = 'APPLICATION/MSEXCEL'.
    call function 'SCMS_STRING_TO_XSTRING'
    exporting
    text = l_string
    MIMETYPE = APP_TYPE
    IMPORTING
    BUFFER = l_xstring
    EXCEPTIONS
    FAILED = 1
    OTHERS = 2
    response->set_header_field( name = 'content-type'
    value = APP_TYPE ).
    some Browsers have caching problems when loading Excel format
    response->delete_header_field( name =
    if_http_header_fields=>cache_control ).
    response->delete_header_field( name =
    if_http_header_fields=>expires ).
    response->delete_header_field( name =
    if_http_header_fields=>pragma ).
    start Excel viewer either in the Browser or as a separate window
    response->set_header_field(
    name = 'content-disposition'
    value = 'attachment;
    filename=webforms.xls' ).
    finally display Excel format in Browser
    l_len = xstrlen( l_xstring ).
    response->set_data( data = l_xstring
    length = l_len ).
    navigation->response_complete( ).
    But I'm getting runtime errors in the line
    response->set_header_field( name = 'content-type'
    value = APP_TYPE ).
    Do you have any idea about how to correct it?
    Or, could you please suggest a simpler method?

  • After call commit sql , data can not flush to disk

    I use berkey db which support sql . It's version is db-5.1.19.
    1, Open a database.
    2. Create a table.
    3. exec "begin;" sql
    4. exec sql which is insert record into table
    5. exec "commit;" sql
    6. copy database file (SourceDB_912_1.db and SourceDB_912_1.db-journal) to Local Disk of D, then use a tool of dbsql to open the database.
    7. use select sql to check data, there is no record in table.
    1
    sqlite3 * m_pDB;
    int nRet = sqlite3_open_v2(strDBName.c_str(), & m_pDB,SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,NULL);
    2
    string strSQL="CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );";
    char * errors;
    nRet = sqlite3_exec(m_pDB, strSQL.c_str(), NULL, NULL, &errors);
    3
    nRet = sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
    4
    nRet = sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
    5
    nRet = sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
    Edited by: 887973 on Sep 27, 2011 11:15 PM

    Hi,
    Here is a simple test case program I used based on your description:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include "sqlite3.h"
    int error_handler(sqlite3*);
    int main()
         sqlite3 *m_pDB;
         const char *strDBName = "C:/SRs/OTN Core 2290838 - after call commit sql , data can not flush to disk/SourceDB_912_1.db";
         char * errors;
         sqlite3_open_v2(strDBName, &m_pDB, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, NULL);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
         error_handler(m_pDB);
         //sqlite3_close(m_pDB);
         //error_handler(m_pDB);
    int error_handler(sqlite3 *db)
         int err_code = sqlite3_errcode(db);
         switch(err_code) {
         case SQLITE_OK:
         case SQLITE_DONE:
         case SQLITE_ROW:
              break;
         default:
              fprintf(stderr, "ERROR: %s. ERRCODE: %d.\n", sqlite3_errmsg(db), err_code);
              exit(err_code);
         return err_code;
    }Than I copied the SourceDB_912_1.db database and the SourceDB_912_1.db-journal directory containing the environment files (region files, log files) to D:\, opened the database using the "dbsql" command line tool, and queried the table; the data is there:
    D:\bdbsql-dir>ls -al
    -rw-rw-rw-   1 acostach 0 32768 2011-10-12 12:51 SourceDB_912_1.db
    drw-rw-rw-   2 acostach 0     0 2011-10-12 12:51 SourceDB_912_1.db-journal
    D:\bdbsql-dir>C:\BerkeleyDB\db-5.1.19\build_windows\Win32\Debug\dbsql SourceDB_912_1.db
    Berkeley DB 11g Release 2, library version 11.2.5.1.19: (August 27, 2010)
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    dbsql> .tables
    TBLClientAccount
    dbsql> .schema TBLClientAccount
    CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );
    dbsql> select * from TBLClientAccount;
    dd|dddI do not see where the issue is. The data can be successfully retrieved, it is present in the database.
    Could you try putting in the sqlite3_close() call and see if you still get the error?
    Did you remove the __db.* files from the SourceDB_912_1.db-journal directory?
    Did you use PRAGMA synchronous, and if so, what is the value you set?
    If this is still an issue for you, please describe in more detail the exact steps needed to get this reproduced and provide a simple stand-alone test case program that reproduces it.
    Regards,
    Andrei

  • Can not find Flush Return Data Buffer.vi

    When I try to start my Labview program I get a "Error -70025 occurred at Read Home Input Status.vi" because the Return Data Buffer is not empty.
    I searched for the Flush Return Data Buffer.vi in the Labview library but it is not there.
    Where can I find it?

    Hello Mishka,
    The Flush Return Data Buffer.vi should be located in your functions palette at Vision and Motion>>73xx>>Advanced>>Flush RDB.vi. Alternatively, you can press ctrl+space on your keyboard to open the quick drop menu and then search for Flush RDB.vi. 
    Regards,
    J_Bou

Maybe you are looking for

  • Online test questions... plz  provide answers

    How can we copy a standard table to make our own z_table? By using the copy option in SE11. By using include structure command. By using Append structure command. By Copying the entire structure of the standard table in our new table. In reporting te

  • Removing a LUN/disk in Solaris 10

    What is the Correct(TM) way to remove a disk/LUN on a Solaris 10/SPARC box, with multipathing? Can this method be followed if the LUN was removed externally already (SAN)? I have a server in this situation - LUN removed - which has 'phantom' entries

  • Table data transfer

    Hi, One basic question on table data transfer. We have a client dependant custom z table. When we transport the table's data also to quality and production, will the client field get automatically updated with the correct client number to which we ar

  • Freehand EPS files in InDesign

    More and more, I find myself saving FH files in EPS format and importing to InDesign when I need to create a PDF file. But when I do, the color in the InDesign document (and the PDF) are noticeably different from the colors in FH. Does anyone know if

  • Test Mode doesn't work

    Has anyone run across a time when you put a host into testmode and testmode doesn't work like it is suppose to? I had to uninstall CSA from the host to get what I was trying to do to work. Just wondering....