Optimize indexes

10g. A table has 50 columns, 17 indexes, operation on this table is slow.
How to optimize these indexes? Where to find which is not used, etc.
Thanks.

neem wrote:
checked: all indexes has been used. how to optimize these indexes is for next step.How did you check that all the indexes had been used ?
If you've used a query against the AWR looking for execution plans that reference the index, you've made two possible mistakes.
First - the AWR only records a selection of all the SQL that has been executed, so you might decide that some indexes weren't being used when they were. (In your case, you've decided that all the indexes were used, so this doesn't apply).
Second - when the automatic stats collection job runs in 10g, it uses a simple piece of SQL that will generate an execution plan that accesses the index, so you may decide that you've used the index when the only SQL that ever uses it is the SQL that collects stats on it.
Since you don't know what the indexes are for (and "the developers created them" is not an answer to that question) then a simple first step is a quick sanity check. Look at all the index definitions to see if any of them seem to be redundant. The very first step (which may then need to be refined) is a query like:
break on index_name skip 1
column index_name, format a32
column column_name format a32
select 
     index_name, column_name
from
     user_ind_columns
where
     table_name = 'your tablename goes here'
order by
     index_name, column_position
;(This assumes you are connected as the owner of the table - if not, you will have to query dba_ind_columns and include a predicate on the table_owner column).
Post the results to the forum if you can't spot any obvious suspects:
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Error while running the Oracle Text optimize index procedure (even as a dba user too)

    Hi Experts,
    I am on Oracle on 11.2.0.2  on Linux. I have implemented Oracle Text. My Oracle Text indexes are fragmented but I am getting an error while running the optimize_index error. Following is the error:
    begin
      ctx_ddl.optimize_index(idx_name=>'ACCESS_T1',optlevel=>'FULL');
    end;
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 941
    ORA-06512: at line 1
    Now I tried then to run this as DBA user too and it failed the same way!
    begin
      ctx_ddl.optimize_index(idx_name=>'BVSCH1.ACCESS_T1',optlevel=>'FULL');
    end;
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 941
    ORA-06512: at line 1
    Now CTXAPP role is granted to my schema and still I am getting this error. I will be thankful for the suggestions.
    Also one other important observation: We have this issue ONLY in one database and in the other two databases, I don't see any problem at all.
    I am unable to figure out what the issue is with this one database!
    Thanks,
    OrauserN

    How about check the following?
    Bug 10626728 - CTX_DDL.optimize_index "full" fails with an empty ORA-20000 since 11.2.0.2 upgrade (DOCID 10626728.8)

  • Oracle Text Context index keeps growing. Optimize seems not to be working

    Hi,
    In my application I needed to search through many varchar columns from differents tables.
    So I created a materialized view in which I concatenate those columns, since they exceed the 4000 characters I merged them concatenating the columns with the TO_CLOBS(column1) || TO_CLOB(column)... || TO_CLOB(columnN).
    The query is complex, so the refresh is complete on demand for the view. We refresh it every 2 minutes.
    The CONTEXT index is created with the sync on commit parameter.
    The index then is synchronized every two minutes.
    But when we run the optimize index it does not defrag the index. So it keeps growing.
    Any idea ?
    Thanks, and sorry for my poor english.
    Edited by: detryo on 14-mar-2011 11:06

    What are you using to determine that the index is fragmented? Can you post a reproducible test case? Please see my test of what you described below, showing that the optimization does defragment the index.
    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> create table test_tab
      2    (col1  varchar2 (10),
      3       col2  varchar2 (10))
      4  /
    Table created.
    SCOTT@orcl_11gR2> -- materialized view:
    SCOTT@orcl_11gR2> create materialized view test_mv3
      2  as
      3  select to_clob (col1) || to_clob (col2) clob_col
      4  from   test_tab
      5  /
    Materialized view created.
    SCOTT@orcl_11gR2> -- index with sync(on commit):
    SCOTT@orcl_11gR2> create index test_idx
      2  on test_mv3 (clob_col)
      3  indextype is ctxsys.context
      4  parameters ('sync (on commit)')
      5  /
    Index created.
    SCOTT@orcl_11gR2> -- inserts, commits, refreshes:
    SCOTT@orcl_11gR2> insert into test_tab values ('a', 'b')
      2  /
    1 row created.
    SCOTT@orcl_11gR2> commit
      2  /
    Commit complete.
    SCOTT@orcl_11gR2> exec dbms_mview.refresh ('TEST_MV3')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> insert into test_tab values ('c a', 'b d')
      2  /
    1 row created.
    SCOTT@orcl_11gR2> commit
      2  /
    Commit complete.
    SCOTT@orcl_11gR2> exec dbms_mview.refresh ('TEST_MV3')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- query works:
    SCOTT@orcl_11gR2> select * from test_mv3
      2  where  contains (clob_col, 'ab') > 0
      3  /
    CLOB_COL
    ab
    c ab d
    2 rows selected.
    SCOTT@orcl_11gR2> -- fragmented index:
    SCOTT@orcl_11gR2> column token_text format a15
    SCOTT@orcl_11gR2> select token_text, token_first, token_last, token_count
      2  from   dr$test_idx$i
      3  /
    TOKEN_TEXT      TOKEN_FIRST TOKEN_LAST TOKEN_COUNT
    AB                        1          1           1
    AB                        2          3           2
    C                         3          3           1
    3 rows selected.
    SCOTT@orcl_11gR2> -- optimizatino:
    SCOTT@orcl_11gR2> exec ctx_ddl.optimize_index ('TEST_IDX', 'REBUILD')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- defragmented index after optimization:
    SCOTT@orcl_11gR2> select token_text, token_first, token_last, token_count
      2  from   dr$test_idx$i
      3  /
    TOKEN_TEXT      TOKEN_FIRST TOKEN_LAST TOKEN_COUNT
    AB                        2          3           2
    C                         3          3           1
    2 rows selected.
    SCOTT@orcl_11gR2>

  • (V7.3)NEW FEATURES ABOUT OPTIMIZATION IN RELEASE 7.2 & 7.3

    제품 : ORACLE SERVER
    작성날짜 : 2003-02-24
    (V7.3)NEW FEATURES ABOUT OPTIMIZATION IN RELEASE 7.2 & 7.3
    ==========================================================
    PURPOSE
    Oracle RDBMS V7.2와 V7.3에서 Optimization에 관한 new feature를
    알아보기로 한다.
    Explanation
    다음과 같은 대표적인 기능 9가지가 있습니다.
    1> Direct Database Reads
    Parallel query 프로세스들은 필터링이나, 소팅, 조인과 같은 작업을
    수행하기 위해서는 아주 큰 테이블을 scanning해야 합니다. Direct Database
    Reads는 read efficiency와 성능의 향상을 위해 contiguous memory read를
    가능하게 해줍니다.
    또한, concurrent OLTP와 같은 작업을 수행시 따르는 경합을 없애기
    위해 버퍼 캐쉬를 bypass합니다.
    2> Direct Database Writes
    Parallel query 프로세스들은 intermediate sort runs, summarization
    (CREATE TABLE AS SELECT), index creation(CREATE INDEX)과 같은 작업의
    수행 결과를 디스크에 종종 기록해야 합니다.
    Direct Database Writes는 write efficiency와 성능의 향상을 위해
    direct contiguous memory로 하여금 contiguous disk writes를 가능하게
    해줍니다.
    또한, concurrent OLTP 작업과 DBWR 프로세스에 의한 경합을 없애기 위해
    버퍼 캐쉬를 bypass합니다.
    결론적으로, Direct Database Reads와 Writes는 concurrent OLTP와 DSS
    작업에 따르는 복잡한 부하를 조절하면서 Oracle 7 서버를 분리된 형태로,
    또한 최적의 튜닝을 가능하게 해줍니다.
    3> Asynchronous I/O
    Oracle 7은 이미 sorts, summarization, index creation, direct-path
    loading 에 대한 asynchronous write 기능을 제공하고 있습니다.
    Release 7.3부터는 보다 나은 성능의 향상을 위해 asynchronous
    read-ahead 기능을 제공하여 최대한 processing과 I/O의 병행성을 증가
    시켜 줍니다.
    4> Parallel Table Creation
    CREATE TABLE ... AS SELECT ...와 같은 구문을 제공하여 상세한 데이타를
    갖는 큰 테이블의 조회된 결과를 저장하기 위해 임시 테이블을 생성합니다.
    이 기능은 보통 intermediate operation의 결과를 저장하기 위해
    drill-down 분석을 할 때 사용됩니다.
    5> Support for the Star Query Optimization
    Oracle 7은 수행 속도의 향상을 위해 star 스키마가 존재하고, star query
    optimization을 invoke 합니다. Star query는 먼저 여러 개의 작은 테이블을
    join하고, 그런 후에, 그 결과를 하나의 큰 테이블로 join합니다.
    6> Intelligent Function Shipping
    Release 7.3부터 parallel query를 처리하는 coordinator 프로세스는
    non-shared memory machine(cluster 또는 MPP) 내의 노드들을 처리하기
    위해 디스크나 데이타들 간의 유사성에 대해 인식하게 될 것입니다.
    이 사실에 근거하여, coordinator는 data들이 machine의 shared
    interconnect를 통해 전달될 필요가 없다는 점에서, 특정 node-disk pair로
    수행되고 있는 프로세스들에게 parallel query operation을 지정할 수
    있습니다.
    이 기능은 연관된 cost나 overhead없이 'shared nothing' 소프트웨어
    아키텍쳐의 잇점을 제공하면서 효율성과 성능, 확장성을 개선할 수 있습니다.
    7> Histograms
    Release 7.3부터 Oracle optimizer는 테이블의 컬럼 내에 있는 데이타 값의
    분포에 관한 더 많은 정보를 이용할 수 있습니다. Value와 상대적 빈도수를
    나타내는 histogram은 optimizer에게 index의 상대적'selectivity'에 관한
    정보와 어떤 index를 사용해야할 지에 관한 더 좋은 아이디어를 제공해
    줄 것입니다.
    적절한 선택을 한다면, query의 수행시간을 몇 분, 심지어 몇 시간씩이나
    단축시킬 수가 있습니다.
    8> Parallel Hash Joins
    Release 7.3부터 Oracle 7은 join 처리시간의 단축을 위하여 hash join을
    제공합니다. 해슁 테크닉을 사용하면 join을 하기 위해 데이타를 소트하지
    않아도 되며, 기존에 존재하는 인덱스를 사용하지 않으면서 'on-the-fly'
    라는 개념을 제공합니다. 따라서, star schema 데이타베이스에 전형적으로
    적용되는 small-to-large 테이블 join의 수행 속도를 향상시킬 것입니다.
    9> Parallel UNION and UNION ALL
    Release 7.3부터 Oracle 7은 UNION과 UNION ALL과 같은 set operator를
    사용하여 완전히 parallel하게 query를 수행할 수 있습니다. 이러한
    operator를 사용하면, 큰 테이블들을 여러 개의 작은 테이블의 집합으로
    나누어 처리하기가 훨씬 쉬워질 것입니다.
    Example
    none
    Reference Documents
    none

    Sorry for the confusion!
    I'll clear it up right now - I'm currently running 10.7.2 - please disregard SL 10.6.8, that was from the past. I updated to 10.7.3, the new checkmark appeared. I noticed a few other stability issues in 10.7.3, so returned to 10.7.2. As for Mountain Lion - I saw a friend's Mac running ML (I assume he had a Dev account), and noticed the new checkmark as well.
    Here's the pictures to show the comparison:
    10.7.2 Checkmark
    10.7.3/ML Checkmark:
    See the difference? My question is, I don't want the new checkmark in 10.7.3. I think, personally, it's hideous and very iOS-like. Is there a way I can "hack" a resource file, or copy over a file from 10.7.2 into 10.7.3 to bring back the original checkmark used in 10.7.2 and all prior versions of OSX? I'm not sure, but it seems like some kind of font is used for the checkmark, but I'm not sure. I'm still a bit new to OSX.
    If anyone knows, or has any idea, that would be much appreciated! Again, I know it's a bit nitpicky

  • ORACLE TEXT  Context index so big, why ?

    Hi,
    One year ago, I've created a context index, for a table that had 2 million rows , and the context index was around 2.8 Mil rows ....
    Today we have 2.9mil rows but the Context index has 95 Mil rows ??
    Last weekend I did a FULL optimize index and it took 28hours and it was still not finished .... so this weekend I droped the index and re-created
    it .... it took 6 hours ....
    Now I started CTX_REPORT.INDEX_STATS to see how it looks like .... cause I exprected 95mil to become like 3.5mil max not more ....
    Can anyone please tell me what should I check to see why did this happen so that the last 900.000 records created 91 mil rows in index ?
    If there would be something wrong, why would the last 900.000 rows create something that prev 2mil rows did not ...
    HEre is index creation :
    CREATE INDEX ART_IDX ON MS_ARTICLE(ORATEXT) INDEXTYPE IS CTXSYS.CONTEXT  FILTER BY ID,ART_DATE,MEDIA_CODE ORDER BY
    ART_DATE DESC PARAMETERS (' LEXER ART_LEX STOPLIST CTXSYS.EMPTY_STOPLIST sync(ON COMMIT) DATASTORE DS_ART');If anyone needs definition of lexer od datastore, then please tell me what do I have to do to get definitions of that.
    Thank you.
    KRis

    Hi,
    Ok there must be something I did wrong .... cause after running INDEX_STATS ...I got this results :
    ===========================================
                        STATISTICS FOR "PRESCLIP"."ART_IDX"
    ===========================================
    indexed documents:                                              2,876,228
    allocated docids:                                               2,876,228
    $I rows:                                                       96,110,561
                                 TOKEN STATISTICS
    unique tokens:                                                  5,584,188
    average $I rows per token:                                          17.21
    tokens with most $I rows:
      JE (0:TEXT)                                                      11,650
      V (0:TEXT)                                                       11,183
      IN (0:TEXT)                                                      10,085So I have expected Average rows per token to be 1 after droping and re-creating index ..... so what else must I do to get the number 96mil to 5.5mil ?
    Thank you.
    Kris

  • Index still fragmented after rebuild

    I have a database 2008R2 with 97% of average fragmented index and page counts = 164785 and the index table is more than 300,000 rows.
    I use the ola.hallengren script to optimize index and the stat above provided by the IndexCheck.sql script.
    My question is why after the index fragmentation above has been rebuilt the fragmentation is very much the same as before. The indesc has been rebuilt because it's lager than 30% and page count is larger than 1000 .
    However, if a copy of that database has been restored on a different server, the fragmentation is much below than 30%.

    Results with the headers
    name
    is_primary_key
    is_unique
    index_depth
    index_level
    fragment_count
    page_count
    record_count
    avg_fragment_size_in_pages
    avg_fragment_size_in_pages
    avg_page_space_used_in_percent
    PK_zfAuditTStudentClass
    1
    1
    3
    2
    1
    1
    578
    1
    1
    92.80948851
    PK_zfAuditTStudentClass
    1
    1
    3
    1
    462
    578
    197354
    1.251082251
    1.251082251
    54.81539412
    PK_zfAuditTStudentClass
    1
    1
    3
    0
    4504
    197354
    34734021
    43.81749556
    43.81749556
    99.99919694
    IX_zfAuditTStudentClass
    0
    0
    4
    3
    1
    1
    5
    1
    1
    1.519644181
    IX_zfAuditTStudentClass
    0
    0
    4
    2
    5
    5
    852
    1
    1
    52.60686929
    IX_zfAuditTStudentClass
    0
    0
    4
    1
    847
    852
    166236
    1.005903188
    1.005903188
    60.23989375
    IX_zfAuditTStudentClass
    0
    0
    4
    0
    163026
    166236
    34734021
    1.019690111
    1.019690111
    51.60465777

  • Cannot Execute or Modify DM Packages in BPC 7.5 MS

    Hi Experts,
    We are implementing BPC 7.5 MS. The IT department has installed SAP BPC 7.5 MS on a heavily secured environment.
    Configuration:
    SAP BPC 7.5 MS SP04
    DB server:          SQL 2008 64-bit
    App server:        32-bit
    Client login via local client installation (no citrix/softgrid..)
    Iu2019ve tested both ApShell and our test environment configuration and Iu2019m able to:
    Administration
    -         Process ALL dimensions
    -         Process (save) ALL Applications
    -         Full optimize, index defrag, compress ALL applications
    -         Process Security and add new users
    -         Add a new dimension (as a test)
    Interface for Excel
    -         Send Data
    -         Retrieve Data
    -         Access the u2018Interface for the Webu2019 to modify Work Status
    The only thing that doesnu2019t work is execute or modify DM packages. The systems comes up with an 'exception error' and refers to the new BPC 7.5 log table, which gives me the following error:
    ==============[System Exception Tracing]==============
    [System  Name] : DM
    [Message Type] : 14
    [Job Name]     : EvServerDataMgr.cEvServerDataMgr.GetInfo
    [DateTime]     : 10/19/2010 3:49:21 PM
    [UserId]       : DOMAIN\userid
    [Exception]
    DetailMsg  : {Err.Number= 429 Err.Source= EvServerDataMgr Err.Description= ActiveX component can't create object(Assembly: Unknown, Object: OSoft.Services.Application.DataMgr.PackageExecute2008.DTSX)}
    ==============[System Exception Tracing  End ]==
    I have noticed that Business Intelligence/Visual studio was not installed on the Web server. Is that required, I couldn't find anything about it in the installation guide?
    Or is it the user/communication between front-end and back-end server. I am able to submit data, so...

    Enric,
    The problem was that we only installed Business Development Studio and Integration Services on the DB-server. After we installed the components on the (front-end) Webserver and registered the DLL's on both the front-end and back-end server, the problem was solved.
    See the link below for more information on registering the DLL's via Business Development Studio (we did not use regsvr32).
    http://help.sap.com/saphelp_bpc75/helpdata/en/07/30f30b58f145818861803b2f82ec86/content.htm
    Hope this will help.
    Regards,
    Peter.

  • Database Performace Is Very Poor On IBM AIX Compared To Windows NT

    Hi,
    Recently we have migrated Our Oracle 10g DataBase from Windows NT to IBM AIX Box. Unfortunately, the Database Performance is gone down when compared to Windows NT environment. Since been a week we are working to pick the problem. We have altered the init.ora parameters to see the database behaviour., But there no Improvement is been observerd.
    Below are the Init.Ora Parameters ,
    Name      Value      Description
    tracefile_identifier     null     trace file custom identifier
    lock_name_space     null     lock name space used for generating lock names for standby/clone database
    processes     395     user processes
    sessions     439     user and system sessions
    timed_statistics     TRUE     maintain internal timing statistics
    timed_os_statistics     0     internal os statistic gathering interval in seconds
    resource_limit     TRUE     master switch for resource limit
    license_max_sessions     0     maximum number of non-system user sessions allowed
    license_sessions_warning     0     warning level for number of non-system user sessions
    cpu_count     16     number of CPUs for this instance
    instance_groups     null     list of instance group names
    event     null     debug event control - default null string
    sga_max_size     15032385536     max total SGA size
    pre_page_sga     FALSE     pre-page sga for process
    shared_memory_address     0     SGA starting address (low order 32-bits on 64-bit platforms)
    hi_shared_memory_address     0     SGA starting address (high order 32-bits on 64-bit platforms)
    use_indirect_data_buffers     FALSE     Enable indirect data buffers (very large SGA on 32-bit platforms)
    lock_sga     TRUE     Lock entire SGA in physical memory
    shared_pool_size     0     size in bytes of shared pool
    large_pool_size     0     size in bytes of large pool
    java_pool_size     0     size in bytes of java pool
    streams_pool_size     50331648     size in bytes of the streams pool
    shared_pool_reserved_size     84724940     size in bytes of reserved area of shared pool
    java_soft_sessionspace_limit     0     warning limit on size in bytes of a Java sessionspace
    java_max_sessionspace_size     0     max allowed size in bytes of a Java sessionspace
    spfile     /oracle/app/product/10.2.0.3.0/dbs/spfileCALMDB.ora     server parameter file
    instance_type     RDBMS     type of instance to be executed
    trace_enabled     FALSE     enable KST tracing
    nls_language     AMERICAN     NLS language name
    nls_territory     AMERICA     NLS territory name
    nls_sort     null     NLS linguistic definition name
    nls_date_language     null     NLS date language name
    nls_date_format     null     NLS Oracle date format
    nls_currency     null     NLS local currency symbol
    nls_numeric_characters     null     NLS numeric characters
    nls_iso_currency     null     NLS ISO currency territory name
    nls_calendar     null     NLS calendar system name
    nls_time_format     null     time format
    nls_timestamp_format     null     time stamp format
    nls_time_tz_format     null     time with timezone format
    nls_timestamp_tz_format     null     timestampe with timezone format
    nls_dual_currency     null     Dual currency symbol
    nls_comp     null     NLS comparison
    nls_length_semantics     BYTE     create columns using byte or char semantics by default
    nls_nchar_conv_excp     FALSE     NLS raise an exception instead of allowing implicit conversion
    fileio_network_adapters     null     Network Adapters for File I/O
    filesystemio_options     asynch     IO operations on filesystem files
    disk_asynch_io     FALSE     Use asynch I/O for random access devices
    tape_asynch_io     TRUE     Use asynch I/O requests for tape devices
    dbwr_io_slaves     0     DBWR I/O slaves
    backup_tape_io_slaves     FALSE     BACKUP Tape I/O slaves
    resource_manager_plan     null     resource mgr top plan
    cluster_interconnects     null     interconnects for RAC use
    file_mapping     FALSE     enable file mapping
    gcs_server_processes     0     number of background gcs server processes to start
    active_instance_count     null     number of active instances in the cluster database
    sga_target     15032385536     Target size of SGA
    control_files     /oradata10/oradata/CALMDB/control/CONTROL02.CTL     control file names list
    db_file_name_convert     null     datafile name convert patterns and strings for standby/clone db
    log_file_name_convert     null     logfile name convert patterns and strings for standby/clone db
    control_file_record_keep_time     0     control file record keep time in days
    db_block_buffers     0     Number of database blocks cached in memory
    db_block_checksum     TRUE     store checksum in db blocks and check during reads
    db_block_size     8192     Size of database block in bytes
    db_cache_size     2147483648     Size of DEFAULT buffer pool for standard block size buffers
    db_2k_cache_size     0     Size of cache for 2K buffers
    db_4k_cache_size     0     Size of cache for 4K buffers
    db_8k_cache_size     0     Size of cache for 8K buffers
    db_16k_cache_size     0     Size of cache for 16K buffers
    db_32k_cache_size     0     Size of cache for 32K buffers
    db_keep_cache_size     0     Size of KEEP buffer pool for standard block size buffers
    db_recycle_cache_size     0     Size of RECYCLE buffer pool for standard block size buffers
    db_writer_processes     6     number of background database writer  processes to start
    buffer_pool_keep     null     Number of database blocks/latches in keep buffer pool
    buffer_pool_recycle     null     Number of database blocks/latches in recycle buffer pool
    db_cache_advice     ON     Buffer cache sizing advisory
    max_commit_propagation_delay     0     Max age of new snapshot in .01 seconds
    compatible     10.2.0.3.0     Database will be completely compatible with this software version
    remote_archive_enable     TRUE     remote archival enable setting
    log_archive_config     null     log archive config parameter
    log_archive_start     FALSE     start archival process on SGA initialization
    log_archive_dest     null     archival destination text string
    log_archive_duplex_dest     null     duplex archival destination text string
    log_archive_dest_1     null     archival destination #1 text string
    log_archive_dest_2     null     archival destination #2 text string
    log_archive_dest_3     null     archival destination #3 text string
    log_archive_dest_4     null     archival destination #4 text string
    log_archive_dest_5     null     archival destination #5 text string
    log_archive_dest_6     null     archival destination #6 text string
    log_archive_dest_7     null     archival destination #7 text string
    log_archive_dest_8     null     archival destination #8 text string
    log_archive_dest_9     null     archival destination #9 text string
    log_archive_dest_10     null     archival destination #10 text string
    log_archive_dest_state_1     enable     archival destination #1 state text string
    log_archive_dest_state_2     enable     archival destination #2 state text string
    log_archive_dest_state_3     enable     archival destination #3 state text string
    log_archive_dest_state_4     enable     archival destination #4 state text string
    log_archive_dest_state_5     enable     archival destination #5 state text string
    log_archive_dest_state_6     enable     archival destination #6 state text string
    log_archive_dest_state_7     enable     archival destination #7 state text string
    log_archive_dest_state_8     enable     archival destination #8 state text string
    log_archive_dest_state_9     enable     archival destination #9 state text string
    log_archive_dest_state_10     enable     archival destination #10 state text string
    log_archive_max_processes     2     maximum number of active ARCH processes
    log_archive_min_succeed_dest     1     minimum number of archive destinations that must succeed
    standby_archive_dest     ?/dbs/arch     standby database archivelog destination text string
    log_archive_trace     0     Establish archivelog operation tracing level
    log_archive_local_first     TRUE     Establish EXPEDITE attribute default value
    log_archive_format     %t_%s_%r.dbf     archival destination format
    fal_client     null     FAL client
    fal_server     null     FAL server list
    log_buffer     176918528     redo circular buffer size
    log_checkpoint_interval     0     # redo blocks checkpoint threshold
    log_checkpoint_timeout     0     Maximum time interval between checkpoints in seconds
    archive_lag_target     0     Maximum number of seconds of redos the standby could lose
    db_files     200     max allowable # db files
    db_file_multiblock_read_count     128     db block to be read each IO
    read_only_open_delayed     FALSE     if TRUE delay opening of read only files until first access
    cluster_database     FALSE     if TRUE startup in cluster database mode
    parallel_server     FALSE     if TRUE startup in parallel server mode
    parallel_server_instances     1     number of instances to use for sizing OPS SGA structures
    cluster_database_instances     1     number of instances to use for sizing cluster db SGA structures
    db_create_file_dest     null     default database location
    db_create_online_log_dest_1     null     online log/controlfile destination #1
    db_create_online_log_dest_2     null     online log/controlfile destination #2
    db_create_online_log_dest_3     null     online log/controlfile destination #3
    db_create_online_log_dest_4     null     online log/controlfile destination #4
    db_create_online_log_dest_5     null     online log/controlfile  destination #5
    db_recovery_file_dest     null     default database recovery file location
    db_recovery_file_dest_size     0     database recovery files size limit
    standby_file_management     MANUAL     if auto then files are created/dropped automatically on standby
    gc_files_to_locks     null     mapping between file numbers and global cache locks
    thread     0     Redo thread to mount
    fast_start_io_target     0     Upper bound on recovery reads
    fast_start_mttr_target     0     MTTR target of forward crash recovery in seconds
    log_checkpoints_to_alert     FALSE     log checkpoint begin/end to alert file
    recovery_parallelism     0     number of server processes to use for parallel recovery
    logmnr_max_persistent_sessions     1     maximum number of threads to mine
    db_flashback_retention_target     1440     Maximum Flashback Database log retention time in minutes.
    dml_locks     1000     dml locks - one for each table modified in a transaction
    ddl_wait_for_locks     FALSE     Disable NOWAIT DML lock acquisitions
    replication_dependency_tracking     TRUE     tracking dependency for Replication parallel propagation
    instance_number     0     instance number
    transactions     482     max. number of concurrent active transactions
    transactions_per_rollback_segment     5     number of active transactions per rollback segment
    rollback_segments     null     undo segment list
    undo_management     AUTO     instance runs in SMU mode if TRUE, else in RBU mode
    undo_tablespace     UNDOTBS1     use/switch undo tablespace
    undo_retention     10800     undo retention in seconds
    fast_start_parallel_rollback     LOW     max number of parallel recovery slaves that may be used
    resumable_timeout     0     set resumable_timeout
    db_block_checking     FALSE     header checking and data and index block checking
    recyclebin     off     recyclebin processing
    create_stored_outlines     null     create stored outlines for DML statements
    serial_reuse     disable     reuse the frame segments
    ldap_directory_access     NONE     RDBMS's LDAP access option
    os_roles     FALSE     retrieve roles from the operating system
    rdbms_server_dn     null     RDBMS's Distinguished Name
    max_enabled_roles     150     max number of roles a user can have enabled
    remote_os_authent     FALSE     allow non-secure remote clients to use auto-logon accounts
    remote_os_roles     FALSE     allow non-secure remote clients to use os roles
    O7_DICTIONARY_ACCESSIBILITY     FALSE     Version 7 Dictionary Accessibility Support
    remote_login_passwordfile     NONE     password file usage parameter
    license_max_users     0     maximum number of named users that can be created in the database
    audit_sys_operations     TRUE     enable sys auditing
    global_context_pool_size     null     Global Application Context Pool Size in Bytes
    db_domain     null     directory part of global database name stored with CREATE DATABASE
    global_names     TRUE     enforce that database links have same name as remote database
    distributed_lock_timeout     60     number of seconds a distributed transaction waits for a lock
    commit_point_strength     1     Bias this node has toward not preparing in a two-phase commit
    instance_name     CALMDB     instance name supported by the instance
    service_names     CALMDB     service names supported by the instance
    dispatchers     (PROTOCOL=TCP) (SERVICE=CALMDB)     specifications of dispatchers
    shared_servers     1     number of shared servers to start up
    max_shared_servers     null     max number of shared servers
    max_dispatchers     null     max number of dispatchers
    circuits     null     max number of circuits
    shared_server_sessions     null     max number of shared server sessions
    local_listener     null     local listener
    remote_listener     null     remote listener
    cursor_space_for_time     FALSE     use more memory in order to get faster execution
    session_cached_cursors     200     Number of cursors to cache in a session.
    remote_dependencies_mode     TIMESTAMP     remote-procedure-call dependencies mode parameter
    utl_file_dir     null     utl_file accessible directories list
    smtp_out_server     null     utl_smtp server and port configuration parameter
    plsql_v2_compatibility     FALSE     PL/SQL version 2.x compatibility flag
    plsql_compiler_flags     INTERPRETED, NON_DEBUG     PL/SQL compiler flags
    plsql_native_library_dir     null     plsql native library dir
    plsql_native_library_subdir_count     0     plsql native library number of subdirectories
    plsql_warnings     DISABLE:ALL     PL/SQL compiler warnings settings
    plsql_code_type     INTERPRETED     PL/SQL code-type
    plsql_debug     FALSE     PL/SQL debug
    plsql_optimize_level     2     PL/SQL optimize level
    plsql_ccflags     null     PL/SQL ccflags
    job_queue_processes     10     number of job queue slave processes
    parallel_min_percent     0     minimum percent of threads required for parallel query
    create_bitmap_area_size     8388608     size of create bitmap buffer for bitmap index
    bitmap_merge_area_size     1048576     maximum memory allow for BITMAP MERGE
    cursor_sharing     FORCE     cursor sharing mode
    parallel_min_servers     10     minimum parallel query servers per instance
    parallel_max_servers     320     maximum parallel query servers per instance
    parallel_instance_group     null     instance group to use for all parallel operations
    parallel_execution_message_size     4096     message buffer size for parallel execution
    hash_area_size     62914560     size of in-memory hash work area
    shadow_core_dump     partial     Core Size for Shadow Processes
    background_core_dump     partial     Core Size for Background Processes
    background_dump_dest     /oradata28/oradata/CALMDB/bdump     Detached process dump directory
    user_dump_dest     /oradata28/oradata/CALMDB/udump     User process dump directory
    max_dump_file_size     10M     Maximum size (blocks) of dump file
    core_dump_dest     /oradata28/oradata/CALMDB/cdump     Core dump directory
    use_sigio     TRUE     Use SIGIO signal
    audit_file_dest     /oracle/app/product/10.2.0.3.0/rdbms/audit     Directory in which auditing files are to reside
    audit_syslog_level     null     Syslog facility and level
    object_cache_optimal_size     102400     optimal size of the user session's object cache in bytes
    object_cache_max_size_percent     10     percentage of maximum size over optimal of the user session's object cache
    session_max_open_files     20     maximum number of open files allowed per session
    open_links     4     max # open links per session
    open_links_per_instance     4     max # open links per instance
    commit_write     null     transaction commit log write behaviour
    optimizer_features_enable     10.2.0.3     optimizer plan compatibility parameter
    fixed_date     null     fixed SYSDATE value
    audit_trail     DB     enable system auditing
    sort_area_size     31457280     size of in-memory sort work area
    sort_area_retained_size     3145728     size of in-memory sort work area retained between fetch calls
    db_name     TESTDB     database name specified in CREATE DATABASE
    db_unique_name     TESTDB     Database Unique Name
    open_cursors     2000     max # cursors per session
    ifile     null     include file in init.ora
    sql_trace     FALSE     enable SQL trace
    os_authent_prefix     ops$     prefix for auto-logon accounts
    optimizer_mode     ALL_ROWS     optimizer mode
    sql92_security     FALSE     require select privilege for searched update/delete
    blank_trimming     FALSE     blank trimming semantics parameter
    star_transformation_enabled     FALSE     enable the use of star transformation
    parallel_adaptive_multi_user     TRUE     enable adaptive setting of degree for multiple user streams
    parallel_threads_per_cpu     2     number of parallel execution threads per CPU
    parallel_automatic_tuning     TRUE     enable intelligent defaults for parallel execution parameters
    optimizer_index_cost_adj     250     optimizer index cost adjustment
    optimizer_index_caching     0     optimizer percent index caching
    query_rewrite_enabled     TRUE     allow rewrite of queries using materialized views if enabled
    query_rewrite_integrity     enforced     perform rewrite using materialized views with desired integrity
    sql_version     NATIVE     sql language version parameter for compatibility issues
    pga_aggregate_target     3221225472     Target size for the aggregate PGA memory consumed by the instance
    workarea_size_policy     AUTO     policy used to size SQL working areas (MANUAL/AUTO)
    optimizer_dynamic_sampling     2     optimizer dynamic sampling
    statistics_level     TYPICAL     statistics level
    skip_unusable_indexes     TRUE     skip unusable indexes if set to TRUE
    optimizer_secure_view_merging     TRUE     optimizer secure view merging and predicate pushdown/movearound
    aq_tm_processes     1     number of AQ Time Managers to start
    hs_autoregister     TRUE     enable automatic server DD updates in HS agent self-registration
    dg_broker_start     FALSE     start Data Guard broker framework (DMON process)
    drs_start     FALSE     start DG Broker monitor (DMON process)
    dg_broker_config_file1     /oracle/app/product/10.2.0.3.0/dbs/dr1CALMDB.dat     data guard broker configuration file #1
    dg_broker_config_file2     /oracle/app/product/10.2.0.3.0/dbs/dr2CALMDB.dat     data guard broker configuration file #2
    olap_page_pool_size     0     size of the olap page pool in bytes
    asm_diskstring     null     disk set locations for discovery
    asm_diskgroups     null     disk groups to mount automatically
    asm_power_limit     1     number of processes for disk rebalancing
    sqltune_category     DEFAULT     Category qualifier for applying hintsets pls suggest
    Thanks
    Kr

    We have examined the AWR Reports, That shows ,
    Snap Id     Snap Time     Sessions     Cursors/Session       
    Begin Snap:     1074     27-Jul-09 13:00:03     147     16.7       
    End Snap:     1075     27-Jul-09 14:01:00     150     22.3       
    Elapsed:          60.96 (mins)                 
    DB Time:          9.63 (mins)               
    Report Summary
    Cache Sizes
         Begin     End                 
    Buffer Cache:     12,368M     12,368M     Std Block Size:     8K       
    Shared Pool Size:     1,696M     1,696M     Log Buffer:     178,172K     
    Load Profile
         Per Second     Per Transaction       
    Redo size:     12,787.87     24,786.41       
    Logical reads:     7,409.85     14,362.33       
    Block changes:     61.17     118.57       
    Physical reads:     0.51     0.98       
    Physical writes:     4.08     7.90       
    User calls:     60.11     116.50       
    Parses:     19.38     37.56       
    Hard parses:     0.36     0.69       
    Sorts:     7.87     15.25       
    Logons:     0.07     0.14       
    Executes:     50.34     97.57       
    Transactions:     0.52          
    % Blocks changed per Read:     0.83     Recursive Call %:     74.53       
    Rollback per transaction %:     3.29     Rows per Sort:     292.67     
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %:     100.00     Redo NoWait %:     100.00       
    Buffer Hit %:     99.99     In-memory Sort %:     100.00       
    Library Hit %:     98.40     Soft Parse %:     98.15       
    Execute to Parse %:     61.51     Latch Hit %:     99.96       
    Parse CPU to Parse Elapsd %:     24.44     % Non-Parse CPU:     98.99     
    Shared Pool Statistics
         Begin     End       
    Memory Usage %:     72.35     72.86       
    % SQL with executions>1:     98.69     96.86       
    % Memory for SQL w/exec>1:     96.72     87.64     
    Top 5 Timed Events
    Event     Waits     Time(s)     Avg Wait(ms)     % Total Call Time     Wait Class       
    CPU time          535          92.5            
    db file parallel write     596     106     177     18.3     System I/O       
    log file parallel write     3,844     40     10     6.9     System I/O       
    control file parallel write     1,689     29     17     5.0     System I/O       
    log file sync     2,357     29     12     5.0     Commit     
    Time Model Statistics
    Total time in database user-calls (DB Time): 578s
    Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
    Ordered by % or DB time desc, Statistic name
    Statistic Name     Time (s)     % of DB Time       
    sql execute elapsed time     560.61     96.99       
    DB CPU     534.91     92.55       
    parse time elapsed     24.16     4.18       
    hard parse elapsed time     17.90     3.10       
    PL/SQL execution elapsed time     7.65     1.32       
    connection management call elapsed time     0.89     0.15       
    repeated bind elapsed time     0.49     0.08       
    hard parse (sharing criteria) elapsed time     0.28     0.05       
    sequence load elapsed time     0.05     0.01       
    PL/SQL compilation elapsed time     0.03     0.00       
    failed parse elapsed time     0.02     0.00       
    hard parse (bind mismatch) elapsed time     0.00     0.00       
    DB time     577.98            
    background elapsed time     190.39            
    background cpu time     15.49          
    Wait Class
    s - second
    cs - centisecond - 100th of a second
    ms - millisecond - 1000th of a second
    us - microsecond - 1000000th of a second
    ordered by wait time desc, waits desc
    Wait Class     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn       
    System I/O     8,117     0.00     175     22     4.30       
    Commit     2,357     0.00     29     12     1.25       
    Network     226,127     0.00     7     0     119.83       
    User I/O     1,004     0.00     4     4     0.53       
    Application     91     0.00     2     27     0.05       
    Other     269     0.00     1     4     0.14       
    Concurrency     32     0.00     0     7     0.02       
    Configuration     59     0.00     0     3     0.03     
    Wait Events
    s - second
    cs - centisecond - 100th of a second
    ms - millisecond - 1000th of a second
    us - microsecond - 1000000th of a second
    ordered by wait time desc, waits desc (idle events last)
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn       
    db file parallel write     596     0.00     106     177     0.32       
    log file parallel write     3,844     0.00     40     10     2.04       
    control file parallel write     1,689     0.00     29     17     0.90       
    log file sync     2,357     0.00     29     12     1.25       
    SQL*Net more data from client     4,197     0.00     7     2     2.22       
    db file sequential read     689     0.00     4     5     0.37       
    enq: RO - fast object reuse     32     0.00     2     50     0.02       
    rdbms ipc reply     32     0.00     1     34     0.02       
    db file scattered read     289     0.00     1     2     0.15       
    enq: KO - fast object checkpoint     47     0.00     1     14     0.02       
    control file sequential read     1,988     0.00     0     0     1.05       
    SQL*Net message to client     218,154     0.00     0     0     115.61       
    os thread startup     6     0.00     0     34     0.00       
    SQL*Net break/reset to client     12     0.00     0     15     0.01       
    log buffer space     59     0.00     0     3     0.03       
    latch free     10     0.00     0     8     0.01       
    SQL*Net more data to client     3,776     0.00     0     0     2.00       
    latch: shared pool     5     0.00     0     5     0.00       
    reliable message     79     0.00     0     0     0.04       
    LGWR wait for redo copy     148     0.00     0     0     0.08       
    buffer busy waits     19     0.00     0     0     0.01       
    direct path write temp     24     0.00     0     0     0.01       
    latch: cache buffers chains     2     0.00     0     0     0.00       
    direct path write     2     0.00     0     0     0.00       
    SQL*Net message from client     218,149     0.00     136,803     627     115.61       
    PX Idle Wait     18,013     100.06     35,184     1953     9.55       
    virtual circuit status     67,690     0.01     3,825     57     35.87       
    Streams AQ: qmn slave idle wait     130     0.00     3,563     27404     0.07       
    Streams AQ: qmn coordinator idle wait     264     50.76     3,563     13494     0.14       
    class slave wait     3     0.00     0     0     0.00     
    Back to Wait Events Statistics
    Back to Top
    Background Wait Events
    ordered by wait time desc, waits desc (idle events last)
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn       
    db file parallel write     596     0.00     106     177     0.32       
    log file parallel write     3,843     0.00     40     10     2.04       
    control file parallel write     1,689     0.00     29     17     0.90       
    os thread startup     6     0.00     0     34     0.00       
    log buffer space     59     0.00     0     3     0.03       
    control file sequential read     474     0.00     0     0     0.25       
    log file sync     1     0.00     0     11     0.00       
    events in waitclass Other     148     0.00     0     0     0.08       
    rdbms ipc message     32,384     54.67     49,367     1524     17.16       
    pmon timer     1,265     100.00     3,568     2821     0.67       
    Streams AQ: qmn slave idle wait     130     0.00     3,563     27404     0.07       
    Streams AQ: qmn coordinator idle wait     264     50.76     3,563     13494     0.14       
    smon timer     63     11.11     3,493     55447     0.03     
    SQL ordered by Gets
    Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
    Total Buffer Gets: 27,101,711
    Captured SQL account for 81.1% of Total
    Buffer Gets      Executions      Gets per Exec      %Total     CPU Time (s)     Elapsed Time (s)     SQL Id     SQL Module     SQL Text       
    11,889,257     3     3,963,085.67     43.87     145.36     149.62     8hr7mrcqpvw7n          Begin Pkg_Pg_consolidation.Pro...       
    5,877,417     17,784     330.49     21.69     59.94     62.30     3mw7tf64wzgv4          SELECT TOTALVOL.PERIOD_NUMBER ...       
    5,877,303     17,784     330.48     21.69     62.01     63.54     g3vhvg8cz6yu3          SELECT TOTALVOL.PERIOD_NUMBER ...       
    3,423,336     0          12.63     200.67     200.67     6jrnq2ua8cjnq          SELECT ROWNUM , first , sec...       
    2,810,100     2,465     1,140.00     10.37     19.29     19.29     7f4y1a3k1tzjn          SELECT /*+CLUSTER(VA_STATIC_CC...       
    1,529,253     230     6,648.93     5.64     15.92     16.97     6trp3txn7rh1q          SELECT /*+ index(va_gap_irlc_P...       
    1,523,043     230     6,621.93     5.62     16.22     17.18     3fu81ar131nj9          SELECT /*+ index(va_gap_irla_P...       
    855,620     358     2,390.00     3.16     11.49     13.31     a3g12c11x7yd0          SELECT FX_DATE, FX_RATE, CCY...       
    689,979     708     974.55     2.55     4.37     4.43     b7znr5szwjrtx          SELECT /*+RULE*/ YIELD_CURVE_C...       
    603,631     2,110     286.08     2.23     11.03     13.40     3c2gyz9fhswxx          SELECT ASSET_LIABILITY_GAP, AL...       
    554,080     5     110,816.00     2.04     2.37     2.44     9w1b11p6baqat          SELECT DISTINCT consolidation_...       
    318,378     624     510.22     1.17     3.20     3.45     1auhbw1rd5yn2          SELECT /*+ index(va_gap_irla_P...       
    318,378     624     510.22     1.17     3.19     3.42     6gq9rj96p9aq0          SELECT /*+ index(va_gap_irlc_P...       
    313,923     3     104,641.00     1.16     2.38     2.38     7vsznt4tvh1b5          ...     
    SQL ordered by Reads
    Total Disk Reads: 1,857
    Captured SQL account for 2.1% of Total
    Physical Reads     Executions     Reads per Exec      %Total     CPU Time (s)     Elapsed Time (s)     SQL Id     SQL Module     SQL Text       
    57     36     1.58     3.07     3.55     5.81     c6vdhsbw1t03d          BEGIN citidba.proc_analyze_tab...       
    32     507     0.06     1.72     0.22     0.40     c49tbx3qqrtm4          insert into dependency$(d_obj#...       
    28     8     3.50     1.51     0.76     3.02     4crh3z5ya2r27          BEGIN PROC_DELETE_PACK_TABLES(...       
    20     3     6.67     1.08     145.36     149.62     8hr7mrcqpvw7n          Begin Pkg_Pg_consolidation.Pro...       
    10     1     10.00     0.54     6.21     18.11     4m9ts1b1b27sv          BEGIN domain.create_tables(:1,...       
    7     23     0.30     0.38     1.56     2.22     4vw03w673b9k7          BEGIN PROC_CREATE_PACK_TABLES(...       
    4     4     1.00     0.22     0.29     1.06     1vw6carbvp4z0          BEGIN Proc_ReCreate_Gap_temp_t...       
    2     182     0.01     0.11     0.06     0.08     2h0gb24h6zpnu          insert into access$(d_obj#, or...       
    2     596     0.00     0.11     0.26     0.29     5fbmafvm27kfm          insert into obj$(owner#, name,...       
    1     1     1.00     0.05     0.01     0.02     7jsrvff8hnqft          UPDATE VA_PRR_IRUT_POL_IBCB_R...     
    SQL ordered by Executions
    Total Executions: 184,109
    Captured SQL account for 71.6% of Total
    Executions      Rows Processed     Rows per Exec     CPU per Exec (s)     Elap per Exec (s)      SQL Id     SQL Module     SQL Text       
    43,255     43,255     1.00     0.00     0.00     4m94ckmu16f9k     JDBC Thin Client      select count(*) from dual       
    25,964     24,769     0.95     0.00     0.00     2kxdq3m953pst          SELECT SURROGATE_KEY FROM TB_P...       
    17,784     54,585     3.07     0.00     0.00     3mw7tf64wzgv4          SELECT TOTALVOL.PERIOD_NUMBER ...       
    17,784     54,585     3.07     0.00     0.00     g3vhvg8cz6yu3          SELECT TOTALVOL.PERIOD_NUMBER ...       
    2,631     2,631     1.00     0.00     0.00     60uw2vh6q9vn2          insert into col$(obj#, name, i...       
    2,465     924,375     375.00     0.01     0.01     7f4y1a3k1tzjn          SELECT /*+CLUSTER(VA_STATIC_CC...       
    2,202     36     0.02     0.00     0.00     96g93hntrzjtr          select /*+ rule */ bucket_cnt,...       
    2,110     206,464     97.85     0.01     0.01     3c2gyz9fhswxx          SELECT ASSET_LIABILITY_GAP, AL...       
    2,043     2,043     1.00     0.00     0.00     28dvpph9k610y          SELECT COUNT(*) FROM TB_TECH_S...       
    842     35     0.04     0.00     0.00     04xtrk7uyhknh          select obj#, type#, ctime, mti...     
    SQL ordered by Parse Calls
    Total Parse Calls: 70,872
    Captured SQL account for 69.7% of Total
    Parse Calls     Executions      % Total Parses     SQL Id     SQL Module     SQL Text       
    17,784     17,784     25.09     3mw7tf64wzgv4          SELECT TOTALVOL.PERIOD_NUMBER ...       
    17,784     17,784     25.09     g3vhvg8cz6yu3          SELECT TOTALVOL.PERIOD_NUMBER ...       
    2,110     2,110     2.98     3c2gyz9fhswxx          SELECT ASSET_LIABILITY_GAP, AL...       
    786     786     1.11     2s6amyv4qz2h2     exp@PSLDB03 (TNS V1-V3)      SELECT INIEXT, SEXT, MINEXT,...       
    596     596     0.84     5fbmafvm27kfm          insert into obj$(owner#, name,...       
    590     590     0.83     2ym6hhaq30r73          select type#, blocks, extents,...       
    550     550     0.78     7gtztzv329wg0          select c.name, u.name from co...       
    512     512     0.72     9qgtwh66xg6nz          update seg$ set type#=:4, bloc...       
    480     480     0.68     6x2cz59yrxz3a     exp@PSLDB03 (TNS V1-V3)      SELECT NAME, OBJID, OWNER, ...       
    457     457     0.64     bsa0wjtftg3uw          select file# from file$ where ...     
    Instance Activity Stats
    Statistic     Total     per Second     per Trans       
    CPU used by this session     54,051     14.78     28.64       
    CPU used when call started     53,326     14.58     28.26       
    CR blocks created     1,114     0.30     0.59       
    Cached Commit SCN referenced     755,322     206.51     400.28       
    Commit SCN cached     29     0.01     0.02       
    DB time     62,190     17.00     32.96       
    DBWR checkpoint buffers written     3,247     0.89     1.72       
    DBWR checkpoints     79     0.02     0.04       
    DBWR object drop buffers written     118     0.03     0.06       
    DBWR parallel query checkpoint buffers written     0     0.00     0.00       
    DBWR revisited being-written buffer     0     0.00     0.00       
    DBWR tablespace checkpoint buffers written     169     0.05     0.09       
    DBWR thread checkpoint buffers written     3,078     0.84     1.63       
    DBWR transaction table writes     0     0.00     0.00       
    DBWR undo block writes     11,245     3.07     5.96       
    DFO trees parallelized     0     0.00     0.00       
    DML statements parallelized     0     0.00     0.00       
    IMU CR rollbacks     29     0.01     0.02       
    IMU Flushes     982     0.27     0.52       
    IMU Redo allocation size     1,593,112     435.57     844.26       
    IMU commits     991     0.27     0.53       
    IMU contention     3     0.00     0.00       
    IMU ktichg flush     3     0.00     0.00       
    IMU pool not allocated     0     0.00     0.00       
    IMU recursive-transaction flush     1     0.00     0.00       
    IMU undo allocation size     3,280,968     897.05     1,738.72       
    IMU- failed to get a private strand     0     0.00     0.00       
    Misses for writing mapping     0     0.00     0.00       
    OS Integral shared text size     0     0.00     0.00       
    OS Integral unshared data size     0     0.00     0.00       
    OS Involuntary context switches     0     0.00     0.00       
    OS Maximum resident set size     0     0.00     0.00       
    OS Page faults     0     0.00     0.00       
    OS Page reclaims     0     0.00     0.00       
    OS System time used     0     0.00     0.00       
    OS User time used     0     0.00     0.00       
    OS Voluntary context switches     0     0.00     0.00       
    PX local messages recv'd     0     0.00     0.00       
    PX local messages sent     0     0.00     0.00       
    Parallel operations downgraded to serial     0     0.00     0.00       
    Parallel operations not downgraded     0     0.00     0.00       
    SMON posted for dropping temp segment     0     0.00     0.00       
    SMON posted for undo segment shrink     0     0.00     0.00       
    SQL*Net roundtrips to/from client     266,339     72.82     141.14       
    active txn count during cleanout     677     0.19     0.36       
    application wait time     243     0.07     0.13       
    background checkpoints completed     0     0.00     0.00       
    background checkpoints started     0     0.00     0.00       
    background timeouts     17,769     4.86     9.42       
    branch node splits     0     0.00     0.00       
    buffer is not pinned count     11,606,002     3,173.19     6,150.50       
    buffer is pinned count     65,043,685     17,783.53     34,469.36       
    bytes received via SQL*Net from client     27,009,252     7,384.57     14,313.33       
    bytes sent via SQL*Net to client     ###############     69,310,703.02     134,343,168.92       
    calls to get snapshot scn: kcmgss     382,084     104.47     202.48       
    calls to kcmgas     15,558     4.25     8.24       
    calls to kcmgcs     1,886     0.52     1.00       
    change write time     488     0.13     0.26       
    cleanout - number of ktugct calls     628     0.17     0.33       
    cleanouts and rollbacks - consistent read gets     3     0.00     0.00       
    cleanouts only - consistent read gets     53     0.01     0.03       
    cluster key scan block gets     77,478     21.18     41.06       
    cluster key scans     41,479     11.34     21.98       
    commit batch/immediate performed     550     0.15     0.29       
    commit batch/immediate requested     550     0.15     0.29       
    commit cleanout failures: block lost     0     0.00     0.00       
    commit cleanout failures: buffer being written     0     0.00     0.00       
    commit cleanout failures: callback failure     29     0.01     0.02       
    commit cleanout failures: cannot pin     0     0.00     0.00       
    commit cleanouts     19,562     5.35     10.37       
    commit cleanouts successfully completed     19,533     5.34     10.35       
    commit immediate performed     550     0.15     0.29       
    commit immediate requested     550     0.15     0.29       
    commit txn count during cleanout     396     0.11     0.21       
    concurrency wait time     23     0.01     0.01       
    consistent changes     1,803     0.49     0.96       
    consistent gets     26,887,134     7,351.18     14,248.61       
    consistent gets - examination     1,524,222     416.74     807.75       
    consistent gets direct     0     0.00     0.00       
    consistent gets from cache     26,887,134     7,351.18     14,248.61       
    cursor authentications     773     0.21     0.41       
    data blocks consistent reads - undo records applied     1,682     0.46     0.89       
    db block changes     223,743     61.17     118.57       
    db block gets     214,573     58.67     113.71       
    db block gets direct     74     0.02     0.04       
    db block gets from cache     214,499     58.65     113.67       
    deferred (CURRENT) block cleanout applications     9,723     2.66     5.15       
    dirty buffers inspected     5,106     1.40     2.71       
    enqueue conversions     1,130     0.31     0.60       
    enqueue releases     49,151     13.44     26.05       
    enqueue requests     49,151     13.44     26.05       
    enqueue timeouts     0     0.00     0.00       
    enqueue waits     79     0.02     0.04       
    exchange deadlocks     0     0.00     0.00       
    execute count     184,109     50.34     97.57       
    failed probes on index block reclamation     1     0.00     0.00       
    free buffer inspected     6,521     1.78     3.46       
    free buffer requested     8,656     2.37     4.59       
    global undo segment hints helped     0     0.00     0.00       
    global undo segment hints were stale     0     0.00     0.00       
    heap block compress     457     0.12     0.24       
    hot buffers moved to head of LRU     5,016     1.37     2.66       
    immediate (CR) block cleanout applications     56     0.02     0.03       
    immediate (CURRENT) block cleanout applications     4,230     1.16     2.24       
    index crx upgrade (found)     0     0.00     0.00       
    index crx upgrade (positioned)     8,362     2.29     4.43       
    index fast full scans (full)     3,845     1.05     2.04       
    index fast full scans (rowid ranges)     0     0.00     0.00       
    index fetch by key     842,761     230.42     446.61       
    index scans kdiixs1     376,413     102.91     199.48       
    leaf node 90-10 splits     42     0.01     0.02       
    leaf node splits     89     0.02     0.05       
    lob reads     6,759,932     1,848.23     3,582.37       
    lob writes     11,788     3.22     6.25       
    lob writes unaligned     11,788     3.22     6.25       
    logons cumulative     272     0.07     0.14       
    messages received     133,602     36.53     70.80       
    messages sent     133,602     36.53     70.80       
    no buffer to keep pinned count     219     0.06     0.12       
    no work - consistent read gets     18,462,318     5,047.76     9,783.95       
    opened cursors cumulative     77,042     21.06     40.83       
    parse count (failures)     57     0.02     0.03       
    parse count (hard)     1,311     0.36     0.69       
    parse count (total)     70,872     19.38     37.56       
    parse time cpu     542     0.15     0.29       
    parse time elapsed     2,218     0.61     1.18       
    physical read IO requests     821     0.22     0.44       
    physical read bytes     15,212,544     4,159.25     8,061.76       
    physical read total IO requests     2,953     0.81     1.56       
    physical read total bytes     48,963,584     13,387.08     25,947.85       
    physical read total multi block requests     289     0.08     0.15       
    physical reads     1,857     0.51     0.98       
    physical reads cache     1,857     0.51     0.98       
    physical reads cache prefetch     1,036     0.28     0.55       
    physical reads direct     0     0.00     0.00       
    physical reads direct (lob)     0     0.00     0.00       
    physical reads direct temporary tablespace     0     0.00     0.00       
    physical reads prefetch warmup     0     0.00     0.00       
    physical write IO requests     6,054     1.66     3.21       
    physical write bytes     122,142,720     33,394.92     64,728.52       
    physical write total IO requests     11,533     3.15     6.11       
    physical write total bytes     199,223,808     54,469.58     105,577.00       
    physical write total multi block requests     5,894     1.61     3.12       
    physical writes     14,910     4.08     7.90       
    physical writes direct     74     0.02     0.04       
    physical writes direct (lob)     0     0.00     0.00       
    physical writes direct temporary tablespace     72     0.02     0.04       
    physical writes from cache     14,836     4.06     7.86       
    physical writes non checkpoint     14,691     4.02     7.79       
    pinned buffers inspected     4     0.00     0.00       
    prefetch clients - default     0     0.00     0.00       
    prefetch warmup blocks aged out before use     0     0.00     0.00       
    prefetch warmup blocks flushed out before use     0     0.00     0.00       
    prefetched blocks aged out before use     0     0.00     0.00       
    process last non-idle time     2,370     0.65     1.26       
    queries parallelized     0     0.00     0.00       
    recovery blocks read     0     0.00     0.00       
    recursive aborts on index block reclamation     0     0.00     0.00       
    recursive calls     643,220     175.86     340.87       
    recursive cpu usage     15,900     4.35     8.43       
    redo blocks read for recovery     0     0.00     0.00       
    redo blocks written     96,501     26.38     51.14       
    redo buffer allocation retries     0     0.00     0.00       
    redo entries     115,246     31.51     61.07       
    redo log space requests     0     0.00     0.00       
    redo log space wait time     0     0.00     0.00       
    redo ordering marks     3,605     0.99     1.91       

  • (V7.3)RDBMS 7.3 Enterprise Edition NEW FEATURE에 대한 Q&A

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    (V7.3)RDBMS 7.3 Enterprise Edition NEW FEATURE에 대한 Q&A
    =========================================================
    1. Q) Oracle 7 Release 7.3의 new feature들을 간단하게 알고 싶습니다.
    A) 다음과 같이 요약하여 설명드리겠습니다.
    New features of 7.3.3 are :Direct load to cluster
    Can use backup from before RESETLOGS
    New features of 7.3 are :histograms
    hash joins
    star join enhancement
    standby databases
    parallel union-all
    dynamic init.ora configuration
    direct path export
    compiled triggers
    fast create index
    multiple LRU latches
    updatable join views
    LSQL cursor variable enhancement
    replication enhancement
    ops processor affinity
    Net 2 load balancing
    XA scaling/recovery
    thread safe pro*c/oci
    DB verify
    new pl/sql packages
    new pl/sql features
    bitmap indexes
    2. Q) Oracle 7 Release 7.2와 7.3의 새로운 Parallel feature에는 어떤 것이
    있습니까?
    A) Oracle 7 parallel query 에 의한 parallel operation에는 다음과 같은 내
    용이 있습니다.
    > Parallel Data Loading : conventional and direct-path, to the same
    table or multiple tables concurrently.
    > Parallel Query : table scans, sorts, joins, aggregates, duplicate
    elimination, UNION and UNION ALL(7.3)
    > Parallel Subqueries : in INSERT, UPDATE, DELETE statements.
    > Parallel Execution : of application code(user-defined SQL functions)
    > Parallel Joins :
    nested loop,
    sort-merge,
    star join optimization(creation of cartesian products plus the
    nested loop join),
    hash joins(7.3).
    > Parallel Anti-Joins : NOT IN(7.3).
    > Parallel Summarization(CREATE TABLE AS SELECT) :
    query and insertion of rows into a rollup table.
    > Parallel Index Creation(CREATE INDEX) :
    table scans, sorts, index fragment construction.
    3. Q) Release 7.2와 7.3에서 추가된 optimization 기능에는 어떤 내용이 있습
    니까?
    A) 다음과 같은 기능들이 있습니다.
    1> Direct Database Reads
    Parallel query 프로세스들은 필터링이나, 소팅, 조인과 같은 작업을 수행하
    기 위해서는 아주 큰 테이블을 scanning해야 합니다. Direct Database Reads는
    read efficiency와 성능의 향상을 위해 contiguous memory read를 가능하게 해
    줍니다. 또한, concurrent OLTP와 같은 작업을 수행시 따르는 경합을 없애기 위
    해 버퍼 캐쉬를 bypass합니다.
    2> Direct Database Writes
    Parallel query 프로세스들은 intermediate sort runs, summarization
    (CREATE TABLE AS SELECT), index creation(CREATE INDEX)과 같은 작업의 수행
    결과를 디스크에 종종 기록해야 합니다.
    Direct Database Writes는 write efficiency와 성능의 향상을 위해 direct
    contiguous memory로 하여금 contiguous disk writes를 가능하게 해줍니다.
    또한, concurrent OLTP 작업과 DBWR 프로세스에 의한 경합을 없애기 위해 버
    퍼 캐쉬를 bypass합니다.
    결론적으로, Direct Database Reads와 Writes는 concurrent OLTP와 DSS 작
    업에 따르는 복잡한 부하를 조절하면서 Oracle 7 서버를 분리된 형태로, 또한 최
    적의 튜닝을 가능하게 해줍니다.
    3> Asynchronous I/O
    Oracle 7은 이미 sorts, summarization, index creation, direct-path
    loading 에 대한 asynchronous write 기능을 제공하고 있습니다.
    Release 7.3부터는 보다 나은 성능의 향상을 위해 asynchronous read-ahead
    기능을 제공하여 최대한 processing과 I/O의 병행성을 증가시켜 줍니다.
    4> Parallel Table Creation
    CREATE TABLE ... AS SELECT ...와 같은 구문을 제공하여 상세한 데이타를
    갖는 큰 테이블의 조회된 결과를 저장하기 위해 임시 테이블을 생성합니다.
    이 기능은 보통 intermediate operation의 결과를 저장하기 위해 drill-down
    분석을 할 때 사용됩니다.
    5> Support for the Star Query Optimization
    Oracle 7은 수행 속도의 향상을 위해 star 스키마가 존재하고, star query
    optimization을 invoke합니다. Star query는 먼저 여러 개의 작은 테이블을
    join하고, 그런 후에, 그 결과를 하나의 큰 테이블로 join합니다.
    6> Intelligent Function Shipping
    Release 7.3부터 parallel query를 처리하는 coordinator 프로세스는
    non-shared memory machine(cluster 또는 MPP) 내의 노드들을 처리하기 위해
    디스크나 데이타들 간의 유사성에 대해 인식하게 될 것입니다.
    이 사실에 근거하여, coordinator는 data들이 machine의 shared
    interconnect를 통해 전달될 필요가 없다는 점에서, 특정 node-disk pair로 수
    행되고 있는 프로세스들에게 parallel query operation을 지정할 수 있습니다.
    이 기능은 연관된 cost나 overhead없이 'shared nothing' 소프트웨어 아키텍
    쳐의 잇점을 제공하면서 효율성과 성능, 확장성을 개선할 수 있습니다.
    7> Histograms
    Release 7.3부터 Oracle optimizer는 테이블의 컬럼 내에 있는 데이타 값의
    분포에 관한 더 많은 정보를 이용할 수 있습니다. Value와 상대적 빈도수를 나타
    내는 histogram은 optimizer에게 index의 상대적 'selectivity'에 관한 정보와
    어떤 index를 사용해야할 것인가에 관한 더 좋은 아이디어를 제공해 줄 것입니다.
    적절한 선택을 한다면, query의 수행시간을 몇 분, 심지어 몇 시간씩이나 단축
    시킬 수가 있습니다.
    8> Parallel Hash Joins
    Release 7.3부터 Oracle 7은 join 처리시간의 단축을 위하여 hash join을 제
    공합니다. 해슁 테크닉을 사용하면 join을 하기 위해 데이타를 소트하지 않아도
    되며, 기존에 존재하는 인덱스를 사용하지 않으면서 'on-the-fly' 라는 개념을 제
    공합니다.
    따라서, star schema 데이타베이스에 전형적으로 적용되는 small-to-large
    테이블 join의 수행 속도를 향상시킬 것입니다.
    9> Parallel UNION and UNION ALL
    Release 7.3부터 Oracle 7은 UNION과 UNION ALL과 같은 set operator를 사
    용하여 완전히 parallel하게 query를 수행할 수 있습니다. 이러한 operator를 사
    용하면, 큰 테이블들을 여러 개의 작은 테이블의 집합으로 나누어 처리하기가 훨
    씬 쉬워질 것입니다.
    4. Q) Release 7.3에는 어떤 제품들이 있습니까?
    A) Oracle 7 서버 Release 7.3.3에 대한 제품 리스트는 다음과 같습니다.
    단, 모든 플랫폼들이 리스트된 모든 제품들을 지원하지는 않습니다.
    [ Product ] [ Revision ]
    Advanced replication option 7.3.3.0.0
    Parallel Query Option 7.3.3.0.0
    Parallel Server Option 7.3.3.0.0
    Oracle 7 Server 7.3.3.0.0
    Distributed Database Option 7.3.3.0.0
    Oracle*XA 7.3.3.0.0
    Oracle Spatial Data Option 7.3.3.0.0
    PL/SQL 2.3.3.0.0
    ICX 7.3.3.0.0
    OWSUTL 7.3.3.0.0
    Slax 7.3.3.0.0
    Context Option 2.0.4.0.0
    Pro*C 2.2.3.0.0
    Pro*PL/I 1.6.27.0.0
    Pro*Ada 1.8.3.0.0
    Pro*COBOL 1.8.3.0.0
    Pro*Pascal 1.6.27.0.0
    Pro*FORTRAN 1.8.3.0.0
    PRO*CORE 1.8.3.0.0
    Sqllib 1.8.3.0.0
    Codegen 7.3.3.0.0
    Oracle CORE 2.3.7.2.0
    SQL*Module Ada 1.1.5.0.0
    SQL*Module C 1.1.5.0.0
    Oracle CORE 3.5.3.0.0
    NLSRTL 2.3.6.1.0
    Oracle Server Manager 2.3.3.0.0
    Oracle Toolkit II(Dependencies of svrmgr) DRUID 1.1.7.0.0
    Multi-Media APIs(MM) 2.0.5.4.0
    OACORE 2.1.3.0.0
    Oracle*Help 2.1.1.0.0
    Oracle 7 Enterprise Backup Utility 2.1.0.0.2
    NLSRTL 3.2.3.0.0
    SQL*Plus 3.3.3.0.0
    Oracle Trace Daemon 7.3.3.0.0
    Oracle MultiProtocol Interchange 2.3.3.0.0
    Oracle DECnet Protocol Adapter 2.3.3.0.0
    Oracle LU6.2 Protocol Adapter 2.3.3.0.0
    Oracle Names 2.0.3.0.0
    Advanced Networking Option 2.3.3.0.0
    Oracle TCP/IP Protocol Adapter 2.3.3.0.0
    Oracle Remote Operations 1.3.3.0.0
    Oracle Named Pipes Protocol Adapter 2.3.3.0.0
    Oracle Intelligent Agent 7.3.3.0.0
    SQL*Net APPC 2.3.3.0.0
    SQL*Net/DCE 2.3.3.0.0
    Oracle OSI/TLI Protocol Adapter 2.3.3.0.0
    Oracle SPX/IPX Protocol Adapter 2.3.3.0.0
    NIS Naming Adapter 2.3.3.0.0
    NDS Naming Adapter 2.3.3.0.0
    Oracle Installer 4.0.1

    P.S. I have checked the CD rom itself by doing the installation in our classroom on a Windows XP Pro machine and it loaded like a charm. I have been emailing and calling Compaq customer support on this issue, and I've done everything they've suggested, including a Quick Format of the hard drive. I am still getting the same results. I have been able to load a small program (Palm Desktop) on the Compaq without a problem, so I don't think it's the CD drive that's the problem, either. Thanks for any help you can give me!!! Deborah

  • Failure Writing file...Report processing has been canceled by user

    I'm having a bit of an odd issue.  In my SCOM environment I have 8 scheduled reports that management likes to look at. 7 of them are working just fine, however one of them keeps failing with the status:
    "Failure writing file <file name> : Report processing has been canceled by the user."
    Now this report is running every Sunday at 2:30 AM and I can assure you I am not up administering reports at 2:30 am on a Sunday.
    Except for the file name this is set up identically to one of the reports that is working fine. If I write click and "run" the report it generates, though it takes a few minutes, and I can save it as an excel file to where we want it. There's nothing
    in the event log around the time it says it last ran (2:30:03 AM).
    Any ideas?

    Hi Dave,
    Could be conflicting with this built maintenance at 2:30am:
    There is a rule in the System Center Internal Library called "Optimize Indexes". This rule runs every night at 2:30am on the RMS and calls p_OptimizeIndexes.  Make sure any standard maintenance you perform on the OpsMgr DB does not interfere
    with this job. 
    http://blogs.technet.com/b/kevinholman/archive/2008/04/12/what-sql-maintenance-should-i-perform-on-my-opsmgr-databases.aspx
    Did you look at SQL Reporting Services Logs?
    As well, you can try to change the Report Execution TimeOut in Report Manager.
    Natalya

  • NEAR operator alternative when not using. oracle Text ?

    hi,
    I'm working on a project where i would need a Oracle Text 'NEAR like' operator ...
    here is my scenario ...
    in db we have Customers ... and every customer has some criterias like different search words( names, towns,cars,etc...) so for every customer i can create an SQL query out of criterias . ....
    now .... we can have a criteria like. ...... WHERE fulltext like 'john%'. or even distance search line NEAR inside CONTAINS. ... but then the Oracle text index is needed .....
    the only tAble on which Text index is created is our storage table that holds more then 4mil records and growing...
    my question is ... is there any way to have a query that would do the same thing as NEAR but without Text index ?
    here is how I start ....
    I get full newspaper article text from our OCR library ......
    then i need to check customer's criterias against this text to see which article is for which customer and then bind the article to the customer
    I could do it without Oracle using RegEx , but criterias can get really complicated ... like customer wants only specific MEDIA, or specific category , type , only articles that are from medias that are from specific country etc ... and many more different criterias ... and all this can be wrapped inside brackets with ANDs, ORs, NOT. ....
    So the only way to do it is to put it in Oracle and execute the correct query and let Oracle decide if the result is true or false .... but due to NEAR operator I need Oracle text ...
    So if I decide to first insert article into our storage table which has Oracle text index to be able to do the correct search .... how fast will this be ????
    will the the search become slower when there are 6mil records ? I know I can use FILTER BY to help Text index to do a better and quicker seach ... and how to optimize index ....but still
    I'm always asking my self..... why insert the article in a table where there are already 6mil articles and execute query when I only need to check data on one single article and. i already know this article ...
    I see two solutions :
    - if there is alternative for NEAR without using Oracle text index then i would insert data into temporary table and execute query on this table..... table would always contain only this one article. maybe one option would be to have one 'temp' table with Oracle text index in which i insert this one article and with help of Oracle text based on this one article do the search , and then maybe on a daily basis clear index ..... or when the article is removed from the table ... but this would mean having two Orcle text indexes, cause we already have Oracle text index on our storage table anyway....
    - another is to use Oracle text index and insert it into our storage table and hope for the best quick results ....
    Maybe I'm exaggerating and query like WHERE id=1234 and CONTAINS(...). will execute faster then I think
    If anyone would have any other suggestion I will be happy to try it ..
    thanks,
    Kris

    Hi,
    this is to my knowledge not possible. It is hard for Oracle to do, think about a table with many rows, every row with that column must be checked. So I think only a single varchar2 is possible. Maybe for you will a function work. It is possible to give a function as second parameter.
    function return_signup
    return varchar2
    is
      l_signup_name signup.signup_name%type;
    begin
      select signup_name
      into l_signup_name
      from signup
      where signup_id = 1
      and rownum = 1
      return l_signup_name;
    exception
      when no_data_found
      then
        l_signup_name := 'abracadabra'; -- hope does not exist
        return l_signup_name;
    end;Now you can use above function in the contains.
    select * from user_history_view users --, signup new_user
    --where new_user.signup_id = 1
    where contains(users.user_name, return_signup)>0;I didn't test the code! Maybe you have to adjust the function for your needs. But it is a idea how this can be done.
    Otherwise you must make the check by normaly check the columns by simple using a join:
    select * from user_history_view users, signup new_user
    where new_user.signup_id = 1
    and users.user_name = new_user.signup_name;Herald ten Dam
    htendam.wordpress.com

  • Database check error on DB02-- Alert

    Dear All,
    We found the below errors on DB02 -->Alert .
    E     22.12.2010     12:02:31     10     DBA     MISSING_INDEX          1     Table: SAPSR3.ZBIMIS # Table has no index
    W     22.12.2010     12:02:31     0     DBO     ARCHIVE_TOO_OLD          1     Operation: 'Archive log backup' has not been run # Operation too old or has not been run in clean-up period
    W     22.12.2010     12:02:31     0     DBO     BACKUP_TOO_OLD          1     Operation: 'Complete database backup' has not been run # Operation too old or has not been run in clean-up period
    W     22.12.2010     12:02:31     6     DBO     OPERATION_TOO_OLD     chk     1     Operation: 'chk' has not been run # Operation too old or has not been run in clean-up period
    W     22.12.2010     12:02:31     6     DBO     STATS_TOO_OLD          1     Operation: 'Update optimizer statistics' has not been run # Operation too old or has not been run in clean-up period
    W     22.12.2010     12:02:31     6     ORA     00060          5     Time: 2008-11-07 21.41.35, line: ORA-00060: Deadlock detected. More info in file /oracle/IRP/saptrace/usertrace/irp_ora_606586.t
    E     22.12.2010     12:02:31     6     ORA     00376          100     Time: 2008-09-26 17.34.39, line: ORA-00376: file 1 cannot be read at this time
    E     22.12.2010     12:02:31     6     ORA     00470          2     Time: 2010-02-25 05.34.41, line: ORA-470 signalled during: ALTER DATABASE DISMOUNT...
    E     22.12.2010     12:02:31     6     ORA     00471          3     Time: 2008-10-10 18.05.57, line: ORA-00471: DBWR process terminated with error
    E     22.12.2010     12:02:31     6     ORA     00474          1     Time: 2010-03-10 04.47.53, line: ORA-00474: SMON process terminated with error
    E     22.12.2010     12:02:31     6     ORA     00600          2     Time: 2010-02-12 11.41.38, line: ORA-00600: internal error code, arguments: [1433], [60], [], [], [], [], [], []
    E     22.12.2010     12:02:31     6     ORA     01113          10     Time: 2008-11-28 18.38.28, line: ORA-1113 signalled during: ALTER DATABASE OPEN...
    W     22.12.2010     12:02:31     6     ORA     01555          1     Time: 2010-09-08 10.01.09, line: ORA-01555 caused by SQL statement below (SQL ID: 6cbacdfn457j9, Query Duration=57100 sec, SCN:
    E     22.12.2010     12:02:31     2     ORA     01652          4     Time: 2010-12-20 10.41.41, line: ORA-1652: unable to extend temp segment by 128 in tablespace                 PSAPTEMP
    E     22.12.2010     12:02:31     6     ORA     01653          100     Time: 2010-12-09 16.17.30, line: ORA-1653: unable to extend table SAPSR3.BALDAT by 128 in                 tablespace PSAPSR3
    E     22.12.2010     12:02:31     6     ORA     01691          20     Time: 2010-12-09 16.10.05, line: ORA-1691: unable to extend lobsegment SAPSR3.SYS_LOB0000072694C00007$$ by 128 in tablespace
    E     22.12.2010     12:02:31     6     ORA     16038          100     Time: 2008-10-26 13.55.06, line: ORA-16038: log 4 sequence# 1472 cannot be archived
    E     22.12.2010     12:02:31     6     ORA     19502          100     Time: 2008-10-26 13.55.06, line: ORA-19502: write error on file "/oracle/IRP/oraarch/IRParch1_1472_664127538.dbf", blockno 79873
    E     22.12.2010     12:02:31     6     ORA     19504          1     Time: 2009-07-09 17.34.49, line: ORA-19504: failed to create file "/oracle/IRP/oraarch/IRParch1_14699_664127538.dbf"
    E     22.12.2010     12:02:31     6     ORA     19510          11     Time: 2008-10-26 14.17.54, line: ORA-19510: failed to set size of 85896 blocks for file "/oracle/IRP/oraarch/IRParch1_1473_66412
    E     22.12.2010     12:02:31     6     ORA     27044          1     Time: 2009-07-09 17.34.49, line: ORA-27044: unable to write the header block of file
    E     22.12.2010     12:02:31     6     ORA     27063          100     Time: 2008-10-26 13.55.06, line: ORA-27063: number of bytes read/written is incorrect
    E     22.12.2010     12:02:31     6     ORA     27072          2     Time: 2009-06-20 11.03.58, line: ORA-27072: File I/O error
    W     22.12.2010     12:02:31     9     ORA     Checkpoint not complete          100     Time: 2008-08-29 22.02.36, line: Checkpoint not complete
    W     22.12.2010     12:02:31     10     PROF     LOG_BUFFER          1     Value: 14238720 (>< 4096,512 KB) # Size of redo log buffer in bytes
    W     22.12.2010     12:02:31     10     PROF     OPTIMIZER_FEATURES_ENABLE          1     Value: 10.2.0.1 (set in parameter file) # Optimizer plan compatibility parameter
    W     22.12.2010     12:02:31     10     PROF     OPTIMIZER_INDEX_COST_ADJ          1     Value: 20 (set in parameter file) # Optimizer index cost adjustment
    E     22.12.2010     12:02:31     10     PROF     REPLICATION_DEPENDENCY_TRACKING          1     Value: TRUE (<> FALSE) # Tracking dependency for Replication parallel propagation
    W     22.12.2010     12:02:31     10     PROF     STATISTICS_LEVEL          1     Value: TYPICAL (set in parameter file) # Statistics level
    W     16.12.2010     08:31:09     6     DBO     LAST_ARCHIVE_FAILED          1     Operation: aeeuepco.cds, time: 2010-12-15 15.53.58 failed with rc = 5 # Last archive log backup failed with rc = 5
    W     16.12.2010     08:31:09     6     DBO     LAST_BACKUP_FAILED          1     Operation: beeuekuv.anf, time: 2010-12-15 15.05.33 failed with rc = 5 # Last complete database backup failed with rc = 5
    W     13.12.2010     08:29:12     10     DBA     TABLESPACE_FULL          1     Tablespace: PSAPSR3, value: 96.96% (> 95%) # Tablespace full
    E     12.12.2010     00:22:33     10     DBA     MISSING_STATISTICS          1     Table: SAPSR3.ZMATCOMP # Table or index has no optimizer statistics
    Kindly advise

    Dear,
    your first error -->MISSING_INDEX ,so create table index to help APAPER,
    2& 3->ARCHIVE_TOO_OLD,your system online/offline redo log backup not take for long time so...
    4-->DBO STATS_TOO_OLD ,throw db13 to run database/stats update job(daily seclude) ,
    regard
    vinod

  • Measure the average read time of a single database block for hardware.

    Hi,
    how to Measure the average read time of a single database block for hardware ?
    Many thanks.

    Hi,
    A STATSPACK report has data file level I/O tunings, but they include buffered reads, so they are biased.
    Try this in 9i:
    http://www.dba-oracle.com/oracle_tips_cost_adj.htm
    select
    a.average_wait c1,
    b.average_wait c2,
    a.total_waits /(a.total_waits + b.total_waits)*100 c3,
    b.total_waits /(a.total_waits + b.total_waits)*100 c4,
    (b.average_wait / a.average_wait)*100 c5
    from
    v$system_event a,
    v$system_event b
    where
    a.event = 'db file scattered read'
    and
    b.event = 'db file sequential read';
    Or this, in 10g:
    col c1 heading 'Average Waits for|Full Scan Read I/O' format 9999.999
    col c2 heading 'Average Waits for|Index Read I/O' format 9999.999
    col c3 heading 'Percent of| I/O Waits|for scattered|Full Scans' format 9.99
    col c4 heading 'Percent of| I/O Waits|for sequential|Index Scans' format 9.99
    col c5 heading 'Starting|Value|for|optimizer|index|cost|adj' format 999
    select
    sum(a.time_waited_micro)/sum(a.total_waits)/1000000 c1,
    sum(b.time_waited_micro)/sum(b.total_waits)/1000000 c2,
    sum(a.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c3,
    sum(b.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c4,
    sum(b.time_waited_micro) /
    sum(b.total_waits)) /
    (sum(a.time_waited_micro)/sum(a.total_waits)
    ) * 100 c5
    from
    dba_hist_system_event a,
    dba_hist_system_event b
    where
    a.snap_id = b.snap_id
    and
    a.event_name = 'db file scattered read'
    and
    b.event_name = 'db file sequential read';

  • Error cf with deserializeJSON

    Hi everyone,
    I have a problem while using the function deserializeJSON.
    I have a request looking like this :
    Request: {   'config': {   'bgSubtractor': {   'config': {   'learningRate': 1e-06,
                                                        'mogHistory': 52,
                                                        'mogSigmaSquared': 80.456140350877},
                                          'input': {   'image': 'blur.image'},
                                          'type': 'BGSubtractor'},
                      'blur': {   'config': {   'size': 3.0},
                                  'input': {   'image': 'cropArea.image'},
                                  'type': 'MedianBlur'},
                      'cropArea': {   'config': {   'rect': '{meta.areaSampleRect}'},
                                      'input': {   'image': 'video.image'},
                                      'type': 'Crop'},
                      'cropMaskBGSub': {   'config': {   'rect': '{meta.motionSampleRect}'},
                                           'input': {   'image': 'bgSubtractor.image'},
                                           'type': 'Crop'},
                      'cropMotion': {   'config': {   'rect': '{meta.motionSampleRect}'},
                                        'input': {   'image': 'cropArea.image'},
                                        'type': 'Crop'},
                      'dataSaver': {   'config': {   'columns': [   'frameCount', ..... etc
    but when i tried to deserialized it I got the error below. I know it's because I have this float as a scientific notation "1e-06". When I removed it, it's working fine.
    Is there anyway to resolve this problem?
    Thanks,
    Kavinsky69
    {"ExtendedInfo":"","Message":"Invalid Syntax Closing [}] not found","Detail":"","additional":{},"Extended_Info":"","ErrNumber":0,"TagContext":[{"id":" ??","template":"\/home\/ubuntu\/lib-src\/railo-4\/webroot\/optimizer\/index.cfm","codePrin tPlain":"130: \t
    #qMasterData.request#<\/pre> \n131: \t<\/cfoutput>\t\n132: \t\n133: \t\n134: \t#qMasterData.request#<\/pre>\n","column":0,"line":132,"raw_trace":"optimizer.index_cfm$cf.call(\/home\/ubuntu\/lib-src\/railo-4\/webroot\/optimizer\/index.cfm:132)","type":"cfml","codePrintHTML":"130: \t<pre style="white-space: normal">#qMasterData.request#<\/pre>
    \n131: \t<\/cfoutput>\t
    \n132: \t<cfset json = deserializeJSON(qMasterData.request) ><\/b>
    \n133: \t<cfoutput>
    \n134: \t<pre style="white-space: normal">#qMasterData.request#<\/pre>
    \n"}],"ErrorCode":"0","StackTrace":"Invalid Syntax Closing [}] not found\n\tat

    I'm using Coldfusion 9 and it works fine for me.
    isNumeric(1e-06);  // true
    jsn = '{"string":"foo","number":123.456,"scientific":1e-06}';
    struct = deserializeJSON(jsn);
    writedump(struct);
    You can try to run isNumeric(1e-06) to double check if it's picking it up as a number in scientific notation.
    As I said, it works fine for me in Coldfusion, but it might be a bug in Railo: https://groups.google.com/forum/?fromgroups=#!topic/railo/tzwII5e0caQ

  • Which one should I drop - undo or rollback?

    I have both undo tablespace and rollback tablespace. Is it possible I can drop any one of them?
    Below is the free space in each. By looking at these figures, the undotbs1 tablespace can be dropped. Howver I neeed to know if there is any risk in dropping it ...and how to take precaution sagaint any risks?
    tablespacename || free space
    RBS || 40.91%
    UNDOTBS1 || 99.87%
    Thanks

    Hi,
    Parameters as you requested.
    NUM NAME TYPE VALUE ISDEFAULT ISSES_MODIFIABLE ISSYS_MODIFIABLE ISMODIFIED ISADJUSTED DESCRIPTION UPDATE_COMMENT
    2 tracefile_identifier 2 TRUE TRUE FALSE FALSE FALSE trace file custom identifier
    18 processes 3 150 FALSE FALSE FALSE FALSE FALSE user processes
    20 sessions 3 170 TRUE FALSE FALSE FALSE FALSE user and system sessions
    21 timed_statistics 1 TRUE FALSE TRUE IMMEDIATE FALSE FALSE maintain internal timing statistics
    22 timed_os_statistics 3 0 TRUE TRUE IMMEDIATE FALSE FALSE internal os statistic gathering interval in seconds
    23 resource_limit 1 FALSE TRUE FALSE IMMEDIATE FALSE FALSE master switch for resource limit
    24 license_max_sessions 3 0 TRUE FALSE IMMEDIATE FALSE FALSE maximum number of non-system user sessions allowed
    25 license_sessions_warning 3 0 TRUE FALSE IMMEDIATE FALSE FALSE warning level for number of non-system user sessions
    33 cpu_count 3 2 TRUE FALSE FALSE FALSE FALSE initial number of cpu's for this instance
    36 instance_groups 2 TRUE FALSE FALSE FALSE FALSE list of instance group names
    37 event 2 TRUE FALSE FALSE FALSE FALSE debug event control - default null string
    44 shared_pool_size 6 50331648 FALSE FALSE IMMEDIATE FALSE FALSE size in bytes of shared pool
    45 sga_max_size 6 537993848 FALSE FALSE FALSE FALSE FALSE max total SGA size internally adjusted
    49 shared_pool_reserved_size 6 2516582 TRUE FALSE FALSE FALSE FALSE size in bytes of reserved area of shared pool
    52 large_pool_size 6 8388608 FALSE FALSE IMMEDIATE FALSE FALSE size in bytes of the large allocation pool
    54 java_pool_size 6 41943040 FALSE FALSE FALSE FALSE FALSE size in bytes of the Java pool
    55 java_soft_sessionspace_limit 3 0 TRUE FALSE FALSE FALSE FALSE warning limit on size in bytes of a Java sessionspace
    56 java_max_sessionspace_size 3 0 TRUE FALSE FALSE FALSE FALSE max allowed size in bytes of a Java sessionspace
    57 pre_page_sga 1 FALSE TRUE FALSE FALSE FALSE FALSE pre-page sga for process
    58 shared_memory_address 3 0 TRUE FALSE FALSE FALSE FALSE SGA starting address (low order 32-bits on 64-bit platforms)
    59 hi_shared_memory_address 3 0 TRUE FALSE FALSE FALSE FALSE SGA starting address (high order 32-bits on 64-bit platforms)
    60 use_indirect_data_buffers 1 FALSE TRUE FALSE FALSE FALSE FALSE Enable indirect data buffers (very large SGA on 32-bit platforms
    62 lock_sga 1 FALSE TRUE FALSE FALSE FALSE FALSE Lock entire SGA in physical memory
    77 spfile 2 %ORACLE_HOME%\DATABASE\SPFILE%ORACLE_SID%.ORA TRUE FALSE FALSE FALSE FALSE server parameter file
    81 lock_name_space 2 TRUE FALSE FALSE FALSE FALSE lock name space used for generating lock names for standby/clone
    83 enqueue_resources 3 968 TRUE FALSE FALSE FALSE FALSE resources for enqueues
    88 trace_enabled 1 TRUE TRUE FALSE IMMEDIATE FALSE FALSE enable KST tracing
    96 nls_language 2 AMERICAN TRUE TRUE FALSE FALSE FALSE NLS language name
    97 nls_territory 2 AMERICA TRUE TRUE FALSE FALSE FALSE NLS territory name
    98 nls_sort 2 TRUE TRUE FALSE FALSE FALSE NLS linguistic definition name
    99 nls_date_language 2 TRUE TRUE FALSE FALSE FALSE NLS date language name
    100 nls_date_format 2 TRUE TRUE FALSE FALSE FALSE NLS Oracle date format
    101 nls_currency 2 TRUE TRUE FALSE FALSE FALSE NLS local currency symbol
    102 nls_numeric_characters 2 TRUE TRUE FALSE FALSE FALSE NLS numeric characters
    103 nls_iso_currency 2 TRUE TRUE FALSE FALSE FALSE NLS ISO currency territory name
    104 nls_calendar 2 TRUE TRUE FALSE FALSE FALSE NLS calendar system name
    105 nls_time_format 2 TRUE TRUE FALSE FALSE FALSE time format
    106 nls_timestamp_format 2 TRUE TRUE FALSE FALSE FALSE time stamp format
    107 nls_time_tz_format 2 TRUE TRUE FALSE FALSE FALSE time with timezone format
    108 nls_timestamp_tz_format 2 TRUE TRUE FALSE FALSE FALSE timestampe with timezone format
    109 nls_dual_currency 2 TRUE TRUE FALSE FALSE FALSE Dual currency symbol
    110 nls_comp 2 TRUE TRUE FALSE FALSE FALSE NLS comparison
    111 nls_length_semantics 2 BYTE TRUE TRUE IMMEDIATE FALSE FALSE create columns using byte or char semantics by default
    112 nls_nchar_conv_excp 2 FALSE TRUE TRUE IMMEDIATE FALSE FALSE NLS raise an exception instead of allowing implicit conversion
    120 filesystemio_options 2 TRUE TRUE IMMEDIATE FALSE FALSE IO operations on filesystem files
    124 disk_asynch_io 1 TRUE TRUE FALSE FALSE FALSE FALSE Use asynch I/O for random access devices
    125 tape_asynch_io 1 TRUE TRUE FALSE FALSE FALSE FALSE Use asynch I/O requests for tape devices
    127 dbwr_io_slaves 3 0 TRUE FALSE FALSE FALSE FALSE DBWR I/O slaves
    131 backup_tape_io_slaves 1 FALSE TRUE FALSE DEFERRED FALSE FALSE BACKUP Tape I/O slaves
    135 resource_manager_plan 2 TRUE FALSE IMMEDIATE FALSE FALSE resource mgr top plan
    144 cluster_interconnects 2 TRUE FALSE FALSE FALSE FALSE interconnects for RAC use
    147 file_mapping 1 FALSE TRUE FALSE IMMEDIATE FALSE FALSE enable file mapping
    165 active_instance_count 3 TRUE FALSE FALSE FALSE FALSE number of active instances in the cluster database
    228 control_files 2 E:\ORACLE\ORADATA\ora92dbd\CONTROL01.CTL, E:\ORACLE\ORADATA\ora92dbd\CONTROL02.CTL, E:\ORACLE\ORADATA\ora92dbd\CONTROL03.CTL FALSE FALSE FALSE FALSE FALSE control file names list
    230 db_file_name_convert 2 TRUE FALSE FALSE FALSE FALSE datafile name convert patterns and strings for standby/clone db
    231 log_file_name_convert 2 TRUE FALSE FALSE FALSE FALSE logfile name convert patterns and strings for standby/clone db
    232 db_block_buffers 3 0 TRUE FALSE FALSE FALSE FALSE Number of database blocks cached in memory
    236 db_block_checksum 1 TRUE TRUE FALSE IMMEDIATE FALSE FALSE store checksum in db blocks and check during reads
    237 db_block_size 3 8192 FALSE FALSE FALSE FALSE FALSE Size of database block in bytes
    244 db_writer_processes 3 1 TRUE FALSE FALSE FALSE FALSE number of background database writer processes to start
    258 db_keep_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of KEEP buffer pool for standard block size buffers
    259 db_recycle_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of RECYCLE buffer pool for standard block size buffers
    260 db_2k_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of cache for 2K buffers
    261 db_4k_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of cache for 4K buffers
    262 db_8k_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of cache for 8K buffers
    263 db_16k_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of cache for 16K buffers
    264 db_32k_cache_size 6 0 TRUE FALSE IMMEDIATE FALSE FALSE Size of cache for 32K buffers
    265 db_cache_size 6 109051904 FALSE FALSE IMMEDIATE FALSE FALSE Size of DEFAULT buffer pool for standard block size buffers
    267 buffer_pool_keep 2 TRUE FALSE FALSE FALSE FALSE Number of database blocks/latches in keep buffer pool
    268 buffer_pool_recycle 2 TRUE FALSE FALSE FALSE FALSE Number of database blocks/latches in recycle buffer pool
    295 db_cache_advice 2 ON TRUE FALSE IMMEDIATE FALSE FALSE Buffer cache sizing advisory
    304 max_commit_propagation_delay 3 700 TRUE FALSE FALSE FALSE FALSE Max age of new snapshot in .01 seconds
    306 compatible 2 9.2.0.0.0 FALSE FALSE FALSE FALSE FALSE Database will be completely compatible with this software versio
    312 remote_archive_enable 2 true TRUE FALSE FALSE FALSE FALSE remote archival enable setting
    313 log_archive_start 1 TRUE FALSE FALSE FALSE FALSE FALSE start archival process on SGA initialization
    317 log_archive_dest 2 TRUE FALSE IMMEDIATE FALSE FALSE archival destination text string
    318 log_archive_duplex_dest 2 TRUE FALSE IMMEDIATE FALSE FALSE duplex archival destination text string
    319 log_archive_dest_1 2 location=F:\ORACLE\ARCHIVE FALSE TRUE IMMEDIATE FALSE FALSE archival destination #1 text string
    320 log_archive_dest_2 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #2 text string
    321 log_archive_dest_3 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #3 text string
    322 log_archive_dest_4 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #4 text string
    323 log_archive_dest_5 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #5 text string
    324 log_archive_dest_6 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #6 text string
    325 log_archive_dest_7 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #7 text string
    326 log_archive_dest_8 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #8 text string
    327 log_archive_dest_9 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #9 text string
    328 log_archive_dest_10 2 TRUE TRUE IMMEDIATE FALSE FALSE archival destination #10 text string
    329 log_archive_dest_state_1 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #1 state text string
    330 log_archive_dest_state_2 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #2 state text string
    331 log_archive_dest_state_3 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #3 state text string
    332 log_archive_dest_state_4 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #4 state text string
    333 log_archive_dest_state_5 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #5 state text string
    334 log_archive_dest_state_6 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #6 state text string
    335 log_archive_dest_state_7 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #7 state text string
    336 log_archive_dest_state_8 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #8 state text string
    337 log_archive_dest_state_9 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #9 state text string
    338 log_archive_dest_state_10 2 enable TRUE TRUE IMMEDIATE FALSE FALSE archival destination #10 state text string
    339 log_archive_max_processes 3 2 TRUE FALSE IMMEDIATE FALSE FALSE maximum number of active ARCH processes
    342 log_archive_min_succeed_dest 3 1 TRUE TRUE IMMEDIATE FALSE FALSE minimum number of archive destinations that must succeed
    343 standby_archive_dest 2 %ORACLE_HOME%\RDBMS TRUE FALSE IMMEDIATE FALSE FALSE standby database archivelog destination text string
    344 log_archive_trace 3 0 TRUE FALSE IMMEDIATE FALSE FALSE Establish archivelog operation tracing level
    345 fal_server 2 TRUE FALSE IMMEDIATE FALSE FALSE FAL server list
    346 fal_client 2 TRUE FALSE IMMEDIATE FALSE FALSE FAL client
    347 log_archive_format 2 ARC%S.%T TRUE FALSE FALSE FALSE FALSE archival destination format
    355 log_buffer 3 524288 TRUE FALSE FALSE FALSE FALSE redo circular buffer size
    357 log_checkpoint_interval 3 0 TRUE FALSE IMMEDIATE FALSE FALSE # redo blocks checkpoint threshold
    358 log_checkpoint_timeout 3 1800 TRUE FALSE IMMEDIATE FALSE FALSE Maximum time interval between checkpoints in seconds
    360 archive_lag_target 3 0 TRUE FALSE IMMEDIATE FALSE FALSE Maximum number of seconds of redos the standby could lose
    365 log_parallelism 3 1 TRUE FALSE FALSE FALSE FALSE Number of log buffer strands
    367 db_files 3 200 TRUE FALSE FALSE FALSE FALSE max allowable # db files
    368 db_file_multiblock_read_count 3 16 FALSE TRUE IMMEDIATE FALSE FALSE db block to be read each IO
    370 read_only_open_delayed 1 FALSE TRUE FALSE FALSE FALSE FALSE if TRUE delay opening of read only files until first access
    371 cluster_database 1 FALSE FALSE FALSE FALSE FALSE FALSE if TRUE startup in cluster database mode
    372 parallel_server 1 FALSE TRUE FALSE FALSE FALSE FALSE if TRUE startup in parallel server mode
    373 parallel_server_instances 3 1 TRUE FALSE FALSE FALSE FALSE number of instances to use for sizing OPS SGA structures
    374 cluster_database_instances 3 1 TRUE FALSE FALSE FALSE FALSE number of instances to use for sizing cluster db SGA structures
    376 db_create_file_dest 2 TRUE TRUE IMMEDIATE FALSE FALSE default database location
    377 db_create_online_log_dest_1 2 TRUE TRUE IMMEDIATE FALSE FALSE online log/controlfile destination #1
    378 db_create_online_log_dest_2 2 TRUE TRUE IMMEDIATE FALSE FALSE online log/controlfile destination #2
    379 db_create_online_log_dest_3 2 TRUE TRUE IMMEDIATE FALSE FALSE online log/controlfile destination #3
    380 db_create_online_log_dest_4 2 TRUE TRUE IMMEDIATE FALSE FALSE online log/controlfile destination #4
    381 db_create_online_log_dest_5 2 TRUE TRUE IMMEDIATE FALSE FALSE online log/controlfile destination #5
    382 standby_file_management 2 MANUAL TRUE FALSE IMMEDIATE FALSE FALSE if auto then files are created/dropped automatically on standby
    391 gc_files_to_locks 2 TRUE FALSE FALSE FALSE FALSE mapping between file numbers and global cache locks (DFS)
    414 thread 3 0 TRUE FALSE FALSE FALSE FALSE Redo thread to mount
    417 fast_start_io_target 3 0 TRUE FALSE IMMEDIATE FALSE FALSE Upper bound on recovery reads
    418 fast_start_mttr_target 3 300 FALSE FALSE IMMEDIATE FALSE FALSE MTTR target of forward crash recovery in seconds
    423 log_checkpoints_to_alert 1 FALSE TRUE FALSE IMMEDIATE FALSE FALSE log checkpoint begin/end to alert file
    424 recovery_parallelism 3 0 TRUE FALSE FALSE FALSE FALSE number of server processes to use for parallel recovery
    425 control_file_record_keep_time 3 7 TRUE FALSE IMMEDIATE FALSE FALSE control file record keep time in days
    426 logmnr_max_persistent_sessions 3 1 TRUE FALSE FALSE FALSE FALSE maximum number of threads to mine
    430 dml_locks 3 748 TRUE FALSE FALSE FALSE FALSE dml locks - one for each table modified in a transaction
    431 row_locking 2 always TRUE FALSE FALSE FALSE FALSE row-locking
    432 serializable 1 FALSE TRUE FALSE FALSE FALSE FALSE serializable
    433 replication_dependency_tracking 1 TRUE TRUE FALSE FALSE FALSE FALSE tracking dependency for Replication parallel propagation
    436 instance_number 3 0 TRUE FALSE FALSE FALSE FALSE instance number
    443 transactions 3 187 TRUE FALSE FALSE FALSE FALSE max. number of concurrent active transactions
    444 transactions_per_rollback_segment 3 5 TRUE FALSE FALSE FALSE FALSE number of active transactions per rollback segment
    445 max_rollback_segments 3 37 TRUE FALSE FALSE FALSE FALSE max. number of rollback segments in SGA cache
    447 rollback_segments 2 TRUE FALSE FALSE FALSE FALSE undo segment list
    452 transaction_auditing 1 TRUE TRUE FALSE DEFERRED FALSE FALSE transaction auditing records generated in the redo log
    455 undo_management 2 AUTO FALSE FALSE FALSE FALSE FALSE instance runs in SMU mode if TRUE, else in RBU mode
    456 undo_tablespace 2 UNDOTBS1 FALSE FALSE IMMEDIATE FALSE FALSE use/switch undo tablespace
    460 undo_suppress_errors 1 FALSE TRUE TRUE IMMEDIATE FALSE FALSE Suppress RBU errors in SMU mode
    465 undo_retention 3 10800 FALSE FALSE IMMEDIATE FALSE FALSE undo retention in seconds
    469 fast_start_parallel_rollback 2 LOW TRUE FALSE IMMEDIATE FALSE FALSE max number of parallel recovery slaves that may be used
    471 db_block_checking 1 FALSE TRUE TRUE IMMEDIATE FALSE FALSE data and index block checking
    487 os_roles 1 FALSE TRUE FALSE FALSE FALSE FALSE retrieve roles from the operating system
    488 rdbms_server_dn 2 TRUE FALSE FALSE FALSE FALSE RDBMS's Distinguished Name
    489 max_enabled_roles 3 100 FALSE FALSE FALSE FALSE FALSE max number of roles a user can have enabled
    490 remote_os_authent 1 FALSE TRUE FALSE FALSE FALSE FALSE allow non-secure remote clients to use auto-logon accounts
    491 remote_os_roles 1 FALSE TRUE FALSE FALSE FALSE FALSE allow non-secure remote clients to use os roles
    492 O7_DICTIONARY_ACCESSIBILITY 1 FALSE TRUE FALSE FALSE FALSE FALSE Version 7 Dictionary Accessibility Support
    494 remote_login_passwordfile 2 EXCLUSIVE FALSE FALSE FALSE FALSE FALSE password file usage parameter
    495 dblink_encrypt_login 1 FALSE TRUE FALSE FALSE FALSE FALSE enforce password for distributed login always be encrypted
    496 license_max_users 3 0 TRUE FALSE IMMEDIATE FALSE FALSE maximum number of named users that can be created in the databas
    498 global_context_pool_size 2 TRUE FALSE FALSE FALSE FALSE Global Application Context Pool Size in Bytes
    500 audit_sys_operations 1 FALSE TRUE FALSE FALSE FALSE FALSE enable sys auditing
    501 db_domain 2 govnet.local FALSE FALSE FALSE FALSE FALSE directory part of global database name stored with CREATE DATABA
    502 global_names 1 TRUE FALSE TRUE IMMEDIATE FALSE FALSE enforce that database links have same name as remote database
    503 distributed_lock_timeout 3 60 TRUE FALSE FALSE FALSE FALSE number of seconds a distributed transaction waits for a lock
    505 commit_point_strength 3 1 TRUE FALSE FALSE FALSE FALSE Bias this node has toward not preparing in a two-phase commit
    506 instance_name 2 ora92dbd FALSE FALSE FALSE FALSE FALSE instance name supported by the instance
    507 service_names 2 ora92dbd.govnet.local TRUE FALSE IMMEDIATE FALSE FALSE service names supported by the instance
    508 dispatchers 2 (PROTOCOL=TCP) (SERVICE=ora92dbdXDB) FALSE FALSE IMMEDIATE FALSE FALSE specifications of dispatchers
    509 mts_dispatchers 2 (PROTOCOL=TCP) (SERVICE=ora92dbdXDB) TRUE FALSE IMMEDIATE FALSE FALSE specifications of dispatchers
    510 shared_servers 3 1 TRUE FALSE IMMEDIATE FALSE FALSE number of shared servers to start up
    511 mts_servers 3 1 TRUE FALSE IMMEDIATE FALSE FALSE number of shared servers to start up
    512 max_shared_servers 3 20 TRUE FALSE FALSE FALSE FALSE max number of shared servers
    513 mts_max_servers 3 20 TRUE FALSE FALSE FALSE FALSE max number of shared servers
    514 max_dispatchers 3 5 TRUE FALSE FALSE FALSE FALSE max number of dispatchers
    515 mts_max_dispatchers 3 5 TRUE FALSE FALSE FALSE FALSE max number of dispatchers
    516 circuits 3 170 TRUE FALSE FALSE FALSE FALSE max number of circuits
    517 mts_circuits 3 170 TRUE FALSE FALSE FALSE FALSE max number of circuits
    518 shared_server_sessions 3 165 TRUE FALSE FALSE FALSE FALSE max number of shared server sessions
    519 mts_sessions 3 165 TRUE FALSE FALSE FALSE FALSE max number of shared server sessions
    520 local_listener 2 TRUE FALSE IMMEDIATE FALSE FALSE local listener
    521 remote_listener 2 TRUE FALSE IMMEDIATE FALSE FALSE remote listener
    525 mts_service 2 ora92dbd TRUE FALSE FALSE FALSE FALSE service supported by dispatchers
    526 mts_listener_address 2 TRUE FALSE FALSE FALSE FALSE address(es) of network listener
    527 mts_multiple_listeners 1 FALSE TRUE FALSE FALSE FALSE FALSE Are multiple listeners enabled?
    528 serial_reuse 2 DISABLE TRUE FALSE FALSE FALSE FALSE reuse the frame segments
    529 cursor_space_for_time 1 FALSE TRUE FALSE FALSE FALSE FALSE use more memory in order to get faster execution
    530 session_cached_cursors 3 0 TRUE TRUE FALSE FALSE FALSE number of cursors to save in the session cursor cache
    531 remote_dependencies_mode 2 TIMESTAMP TRUE TRUE IMMEDIATE FALSE FALSE remote-procedure-call dependencies mode parameter
    532 utl_file_dir 2 F:\UTIL_FILE_DIR\ FALSE FALSE FALSE FALSE FALSE utl_file accessible directories list
    534 plsql_v2_compatibility 1 FALSE TRUE TRUE IMMEDIATE FALSE FALSE PL/SQL version 2.x compatibility flag
    535 plsql_compiler_flags 2 INTERPRETED TRUE TRUE IMMEDIATE FALSE FALSE PL/SQL compiler flags
    536 plsql_native_c_compiler 2 TRUE FALSE IMMEDIATE FALSE FALSE plsql native C compiler
    537 plsql_native_linker 2 TRUE FALSE IMMEDIATE FALSE FALSE plsql native linker
    538 plsql_native_library_dir 2 TRUE FALSE IMMEDIATE FALSE FALSE plsql native library dir
    539 plsql_native_make_utility 2 TRUE FALSE IMMEDIATE FALSE FALSE plsql native compilation make utility
    540 plsql_native_make_file_name 2 TRUE FALSE IMMEDIATE FALSE FALSE plsql native compilation make file
    541 plsql_native_library_subdir_count 3 0 TRUE FALSE IMMEDIATE FALSE FALSE plsql native library number of subdirectories
    543 job_queue_processes 3 10 FALSE FALSE IMMEDIATE FALSE FALSE number of job queue slave processes
    547 parallel_min_percent 3 0 TRUE TRUE FALSE FALSE FALSE minimum percent of threads required for parallel query
    550 create_bitmap_area_size 3 8388608 TRUE FALSE FALSE FALSE FALSE size of create bitmap buffer for bitmap index
    551 bitmap_merge_area_size 3 1048576 TRUE FALSE FALSE FALSE FALSE maximum memory allow for BITMAP MERGE
    553 cursor_sharing 2 EXACT TRUE TRUE IMMEDIATE FALSE FALSE cursor sharing mode
    557 parallel_min_servers 3 0 TRUE FALSE FALSE FALSE FALSE minimum parallel query servers per instance
    558 parallel_max_servers 3 5 TRUE FALSE FALSE FALSE FALSE maximum parallel query servers per instance
    562 parallel_instance_group 2 TRUE TRUE IMMEDIATE FALSE FALSE instance group to use for all parallel operations
    565 parallel_execution_message_size 3 2148 TRUE FALSE FALSE FALSE FALSE message buffer size for parallel execution
    573 hash_join_enabled 1 TRUE FALSE TRUE FALSE FALSE FALSE enable/disable hash join
    574 hash_area_size 3 1048576 TRUE TRUE FALSE FALSE FALSE size of in-memory hash work area
    582 shadow_core_dump 2 partial TRUE FALSE FALSE FALSE FALSE Core Size for Shadow Processes
    583 background_core_dump 2 partial TRUE FALSE FALSE FALSE FALSE Core Size for Background Processes
    584 background_dump_dest 2 c:\oracle\admin\ora92dbd\bdump FALSE FALSE IMMEDIATE FALSE FALSE Detached process dump directory
    585 user_dump_dest 2 c:\oracle\admin\ora92dbd\udump FALSE FALSE IMMEDIATE FALSE FALSE User process dump directory
    586 max_dump_file_size 2 UNLIMITED TRUE TRUE IMMEDIATE FALSE FALSE Maximum size (blocks) of dump file
    587 core_dump_dest 2 c:\oracle\admin\ora92dbd\cdump FALSE FALSE IMMEDIATE FALSE FALSE Core dump directory
    589 oracle_trace_enable 1 FALSE TRUE TRUE IMMEDIATE FALSE FALSE Oracle Trace enabled/disabled
    590 oracle_trace_facility_path 2 %ORACLE_HOME%\OTRACE\ADMIN\FDF\ TRUE FALSE FALSE FALSE FALSE Oracle TRACE facility path
    591 oracle_trace_collection_path 2 %ORACLE_HOME%\OTRACE\ADMIN\CDF\ TRUE FALSE FALSE FALSE FALSE Oracle TRACE collection path
    592 oracle_trace_facility_name 2 oracled TRUE FALSE FALSE FALSE FALSE Oracle TRACE default facility name
    593 oracle_trace_collection_name 2 TRUE FALSE FALSE FALSE FALSE Oracle TRACE default collection name
    594 oracle_trace_collection_size 3 5242880 TRUE FALSE FALSE FALSE FALSE Oracle TRACE collection file max. size
    597 object_cache_optimal_size 3 102400 TRUE TRUE DEFERRED FALSE FALSE optimal size of the user session's object cache in bytes
    598 object_cache_max_size_percent 3 10 TRUE TRUE DEFERRED FALSE FALSE percentage of maximum size over optimal of the user session's ob
    600 session_max_open_files 3 10 TRUE FALSE FALSE FALSE FALSE maximum number of open files allowed per session
    604 open_links 3 4 TRUE FALSE FALSE FALSE FALSE max # open links per session
    605 open_links_per_instance 3 4 TRUE FALSE FALSE FALSE FALSE max # open links per instance
    610 optimizer_features_enable 2 9.2.0 TRUE FALSE FALSE FALSE FALSE optimizer plan compatibility parameter
    611 fixed_date 2 TRUE FALSE IMMEDIATE FALSE FALSE fixed SYSDATE value
    612 audit_trail 2 NONE TRUE FALSE FALSE FALSE FALSE enable system auditing
    613 sort_area_size 3 524288 FALSE TRUE DEFERRED FALSE FALSE size of in-memory sort work area
    614 sort_area_retained_size 3 0 TRUE TRUE DEFERRED FALSE FALSE size of in-memory sort work area retained between fetch calls
    620 db_name 2 ora92dbd FALSE FALSE FALSE FALSE FALSE database name specified in CREATE DATABASE
    621 open_cursors 3 300 FALSE FALSE IMMEDIATE FALSE FALSE max # cursors per session
    622 ifile 4 TRUE FALSE FALSE FALSE FALSE include file in init.ora
    623 sql_trace 1 FALSE TRUE FALSE FALSE FALSE FALSE enable SQL trace
    625 os_authent_prefix 2 OPS$ TRUE FALSE FALSE FALSE FALSE prefix for auto-logon accounts
    627 optimizer_mode 2 FIRST_ROWS FALSE TRUE FALSE FALSE FALSE optimizer mode
    632 sql92_security 1 FALSE TRUE FALSE FALSE FALSE FALSE require select privilege for searched update/delete
    634 blank_trimming 1 FALSE TRUE FALSE FALSE FALSE FALSE blank trimming semantics parameter
    636 partition_view_enabled 1 FALSE TRUE TRUE FALSE FALSE FALSE enable/disable partitioned views
    639 star_transformation_enabled 2 FALSE FALSE TRUE FALSE FALSE FALSE enable the use of star transformation
    667 parallel_adaptive_multi_user 1 FALSE TRUE FALSE IMMEDIATE FALSE FALSE enable adaptive setting of degree for multiple user streams
    668 parallel_threads_per_cpu 3 2 TRUE FALSE IMMEDIATE FALSE FALSE number of parallel execution threads per CPU
    669 parallel_automatic_tuning 1 FALSE TRUE FALSE FALSE FALSE FALSE enable intelligent defaults for parallel execution parameters
    689 optimizer_max_permutations 3 2000 TRUE TRUE FALSE FALSE FALSE optimizer maximum join permutations per query block
    690 optimizer_index_cost_adj 3 100 TRUE TRUE FALSE FALSE FALSE optimizer index cost adjustment
    691 optimizer_index_caching 3 0 TRUE TRUE FALSE FALSE FALSE optimizer percent index caching
    698 query_rewrite_enabled 2 FALSE FALSE TRUE IMMEDIATE FALSE FALSE allow rewrite of queries using materialized views if enabled
    699 query_rewrite_integrity 2 enforced TRUE TRUE IMMEDIATE FALSE FALSE perform rewrite using materialized views with desired integrity
    727 sql_version 2 NATIVE TRUE TRUE FALSE FALSE FALSE sql language version parameter for compatibility issues
    754 pga_aggregate_target 6 52428800 FALSE FALSE IMMEDIATE FALSE FALSE Target size for the aggregate PGA memory consumed by the instanc
    756 workarea_size_policy 2 AUTO TRUE TRUE IMMEDIATE FALSE FALSE policy used to size SQL working areas (MANUAL/AUTO)
    775 optimizer_dynamic_sampling 3 1 TRUE TRUE IMMEDIATE FALSE FALSE optimizer dynamic sampling
    792 statistics_level 2 TYPICAL TRUE TRUE IMMEDIATE FALSE FALSE statistics level
    795 aq_tm_processes 3 1 FALSE FALSE IMMEDIATE FALSE FALSE number of AQ Time Managers to start
    797 hs_autoregister 1 TRUE TRUE FALSE IMMEDIATE FALSE FALSE enable automatic server DD updates in HS agent self-registration
    798 dg_broker_start 1 FALSE TRUE FALSE IMMEDIATE FALSE FALSE start Data Guard broker framework (DMON process)
    799 drs_start 1 FALSE TRUE FALSE IMMEDIATE FALSE FALSE start DG Broker monitor (DMON process)
    800 dg_broker_config_file1 2 %ORACLE_HOME%\DATABASE\DR1%ORACLE_SID%.DAT TRUE FALSE IMMEDIATE FALSE FALSE data guard broker configuration file #1
    801 dg_broker_config_file2 2 %ORACLE_HOME%\DATABASE\DR2%ORACLE_SID%.DAT TRUE FALSE IMMEDIATE FALSE FALSE data guard broker configuration file #2
    802 olap_page_pool_size 3 33554432 TRUE TRUE DEFERRED FALSE FALSE size of the olap page pool in bytes
    SQL> show parameter undo;
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 10800
    undo_suppress_errors boolean FALSE
    undo_tablespace string UNDOTBS1
    SQL>

Maybe you are looking for

  • Issue in Multiload script and import text file format

    I am using text output file from essbase to be imported to HFM using multiload The separator is tab for records. It seems i need to use tab separator in row 6 of text file (multiload) for dimension tags because separator should be same as in data rec

  • Is it possible to import CDs in the background without changing focus

    Hello, I'm trying to import my CD collection into iTunes (9.0.3). I've setup preferences so that when I insert a CD it will automatically import and eject. At the same time I'm trying to watch an hour long video in itunes U. Is there any way to stop

  • [Jena] Debugging addInBulk()

    Hello, I am evaluating Oracle 11g with the Jena Adaptor 2.0. Currently I am trying to load customer records from one large file in N-TRIPLE format using addInBulk(). I did this successfully with a file with 100 sample records, and now I am trying it

  • Attribute mapping

    Hi we are migrating from 5.1 to 5.2 SP4. In this process of migration we would like to eliminate some attributes and as well as to rename some attributes. can anyone help me how can I achieve this of elimination and renaming to new attribute names. R

  • Message Tag

    We add a message tag to emails that are user selected to be sent secure using the Cisco Plug-in to exempt the email from DLP scanning.  Is that message tag removed when the message is sent or is it retained until manually removed?  Case - orginal mes