DB_BLOCK_BUFFERS PARAMETER TUNING(ORACLE7)

제품 : ORACLE SERVER
작성날짜 : 2002-04-12
DB_BLOCK_BUFFERS PARAMETER TUNING(ORACLE7)
==========================================
Purpose
Oracle7 version의 database에서 db block buffer의 값이 적당한 지를
알아보고 Tuning 하는 방법을 알아보자.
Explanation
1. DB_BLOCK_BUFFERS parameter
(1) SGA 내 메모리에 캐쉬되는 데이타베이스 블럭의 수
(2) SGA 사이즈와 데이타베이스 성능을 결정하는 가장 중요한 요소이다.
(3) 높은 값을 갖게 되면 해당 블럭을 메모리에서 찾게 되는 빈도가 많아지기
때문에 디스크 입출력을 줄일 수 있지만, 보다 많은 메모리를 소모하게 된다.
2. 적정한 값 찾기
(1) 다음의 SQL문을 수행시켜 ratio 필드의 평균 값이 92% 이상이어야 한다.
- DBMS가 STARTUP 후부터 현재까지의 누적치를 보여준다.
- 현재의 HIT RATIO를 보려면 두 번 수행하여 차액을 갖고 계산한다.
rem
rem connect as system user id
rem
col logical_reads format 999,999,999,999
col physical_reads format 999,999,999,999
col physical_writes format 999,999,999,999
select a.value + b.value logical_reads,
c.value physical_reads,
round(100*(a.value+b.value-c.value)/(a.value+b.value),2) ratio,
d.value physical_writes
from sys.v_$sysstat a,
sys.v_$sysstat b,
sys.v_$sysstat c,
sys.v_$sysstat d
where a.statistic# = 37 -- db block gets
and b.statistic# = 38 -- consistent gets
and c.statistic# = 39 -- physical reads
and d.statistic# = 40 -- physical writes
(2) 적다고 생각될 때 initSID.ora 화일에서 다음을 고려한다.
DB_BLOCK_LRU_EXTENDED_STATISTICS = 1000
- 이 파라미터를 설정하고 다음의 SQL을 수행시킨다.
단, 값을 너무 크게 설정하면 심각한 퍼포먼스의 영향을 가져온다.
- 위의 1000 값의 의미는 현재보다 1000 까지 DB BLOCK을 더 늘렸을 때
cache hit가 증가하는 값을 알아보기 위함이다.
col Interval format a20
prompt Number of Additional Cache Hits (ACH)
select 200*trunc(indx/200)+1 || ' to ' ||
200*(trunc(indx/200)+1) "Interval",
sum(count) "Additional Buffer Cache Hits"
from sys.x$kcbrbh
group by trunc(indx/200)
Interval Additional Buffer Cache Hits
1 to 200 300
201 to 400 250
401 to 600 180
601 to 800 80
801 to 1000 50
(3) 많다고 생각될 때 init$ORACLE_SID.ora 화일에서 다음을 고려한다.
DB_BLOCK_LRU_STATISTICS=TRUE
- 이 파라미터를 설정하로 아래의 SQL을 실행하여 전체 버퍼에 대해 공헌하는
정도를 알아본다.
- 아래의 경우는 1 부터 600 까지의 버퍼만 사용되고 있음을 알 수 있다.
col Interval format a20
prompt Number of Losing Cache Hits (LCH)
select 200*trunc(indx/200)+1 || ' to ' ||
200*(trunc(indx/200)+1) "Interval",
sum(count) "Losing Buffer Cache Hits"
from sys.x$kcbcbh
group by trunc(indx/200)
Interval Losing Buffer Cache Hits
1 to 200 3915
201 to 400 434
401 to 600 199
601 to 800 0
9801 to 10000 0

To MMM, the hit ratio is currently 100%. We want to lower that to about 95% and save some RAM at the expense of some slower queries.
To KM, no we are not using any stats_pack utilities.
Can anyone tell me the init.ora parameter to set in Oracle 8.1.7.4 to gets measures into the above table?

Similar Messages

  • Kernel parameter tuning in Solaris 10

    Hi Guru's
    Can you any one help me to find the some good docs for Solaris kernel tuning. How to change the kernel parameter online?
    How to do kernel tuning in online and what is the purposre of /etc/system and sysdef command.
    How I can search for exisiting kernel value.
    Thanks in advance.
    Jimbe

    There is interesting info at [Solaris Internals|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals] .
    have a good day,
    Glen

  • Parameter tuning - DLThreadswrite DLThreadprepare

    To improve the data load performance, we should increase the parameter DLThreadwrite and DLThreadprepare.
    However I read from Oracle documentation it seems that the parameter only apply to BSO instead of ASO. Any other parameters can be used to improve ASO data loading?
    Thanks!

    GlennS_2 wrote:
    Perhaps I mistakenly thought that both those parameters seemed to help ASO performance. One thing you can do (If you are on EPM 11 or 9.3.1) is to use multiple data laods at the same time into different load buffers and then commit them together. It willrequire you using multiple MaxL scripts, but is quite doableThanks for your advice. I also checked Oracle documentation that we can perform data load in parallel using different buffer ID to improve the performance. However it requires some changes on the application design to break down the data load into several batch script.

  • SAP Netweaver parameter tuning for retail systems.

    Hi Gurus
    I am working in retail. I want to know if there are specific parameters that you must tune for retail systems, that you not usually tune for other businesses?
    Info:
    OS = AIX 5
    Database = Oracle 10.2.0.2.0
    System = SAP ECC 6.0
    Patch level = 700, 17
    ABAP and Java
    Any help will be appreciate
    Regards,
    S.W.

    Not that I know.... if there was they'll be stated on the Manual or Best practice guide
    Regards
    Juan

  • Cannot set sga_target with db_block_buffers set

    Hello Oracle Community!
    I'm trying to set a sga_target on my Oracle 10g R2 database but it shows me the following message: Cannot set sga_target with db_block_buffers set
    What exactly's the impact on disabling db_block_buffers parameter? Is it better to do while the database's not being used?
    Thank you very much!

    K- wrote:
    @Aman
    This database uses SPFILE, how do I proceed to erase the db_block_buffer on it? The only way's using the CREATE PFILE FROM SPFILE command? Do I have to shutdown my production database if I execute it?
    ThanksYes, this is a major change, you will have to bounce. Probably the way to go would be to create pfile from spfile, copy that away somewhere safe, edit the pfile, shutdown and startup with the pfile. If you've made a mistake at this point where it won't come up, you can startup without the pfile if you need to, or keep trying to fix the pfile. When you are up, check that the parameters are what you think you did, then create spfile from pfile and bounce. Of course, if performance then goes wacko, you can go back to the saved pfile until you figure out what went wrong.
    You can try with the sizing you are currently using, then after running for a while use the advisors to tweak. Note that with sga_max_size it can vary by platform and configuration whether you use the difference between target and max, so platform determines whether you should make them the same (see the thread sga_max_size vs sga_target ) . If they should be the same, you'll have to bounce later when you tweak. Get familiar with the HIST views that record the self-tuning changes as they happen.

  • Inputs to setup an Oracle performance tuning Lab.

    Hi All,We are planning to setup a Performance tuning lab at our unit.The key areas which needs to be addresses for this lab is 1)Architecture of the Database 2)Having Large volume of data 3)Producing high volume transactions.
    Request you to provide your valuable inputs on how to setup the lab.

    user11266214 wrote:
    Hi All
    Thanks for your responses.We are not doing the load testing.We have a linux server on which Oracle 11g running.We would like to simulate the real time work environment on which we train people to perform the performance tuning tasks.Performance tuning tasks comprise of Server tuning,Oracle parameter tuning and SQL tuning.
    Request you to provide inputs on the approach we need to take up for setting up such kind of lab.
    Thanks in anticipation.Swingbench as said before

  • CONTEXT INDEX TABLE에 대한 PARAMETER 설정하는 방법

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-12
    CONTEXT INDEX TABLE에 대한 PARAMETER 설정하는 방법
    ==================================================
    Purpose
    Oracle7.3과 Oracle8.0의 context option에서 index table의
    storage parameter를 설정하는 방법을 알아보자.
    Explanation
    1. ConText Index Table과 Index
    Context option 에서는 text column에 대한 Context Index Table과
    그 테이블에 대한 Index를 생성한다. 이 table과 index는
    ctx_ddl.create_index procedure를 통해 자동으로 만들어지는 데,
    생성시에 이들 table과 index에 대한 tablespace, storage clause,
    pctfree등의 parameter에 대해 설정할 수가 없고 이런 정보를 가진
    preference 를 생성하여 policy를 생성할 때 지정해야 한다.
    Parameter를 지정할 수 있는 Context Index Table과 Index는 다음과 같다.
    Table Index
    DR_nnnnn_I1T DR_nnnnn_i1I
    DR_nnnnn_KTB DR_nnnnn_KIK
    DR_nnnnn_KID
    DR_nnnnn_LST DR_nnnnn_LIX
    DR_nnnnn_SQR DR_nnnnn_SRI
    위에서 nnnnn은 policy의 id이다. 이 번호는 다음과 같이 확인할 수 있다.
    select pol_id from ctx_user_policies where pol_name = 'DEMO_POLICY';
    처음 policy를 생성한 후 create index시 생성되는 Table과 Index는
    default로 해당 유저의 default tablespace에 생성된다. 그러나 default
    tablespace가 부족하거나 생성되는 table의 크기가 크면 initial, next등의
    parameter가 작아서 maxextent를 초과하는 문제가 발생하기도 한다.
    이런 경우 원하는 데이타를 올바로 찾지 못할 수도 있다. 이 때에는 storage
    parameter나 tablespace등을 따로 지정해 주어야 한다.
    2. Preference 생성
    Index table에 대한 parameter를 지정하려면 먼저 Generic Engine
    Tile의preference를 생성해야 한다. 이 generic engine tile에는
    다음과 같은 attribute를 지정할 수 있다.
    (1) Generic Engine Tile의 Attribute
    - index_memory
    - optimize_default
    - i1t_tablespace i1t_storage i1t_other_parms
    - i1I_tablespace i1I_storage i1I_other_parms
    - ktb_tablespace ktb_storage ktb_other_parms
    - kid_tablespace kid_storage kid_other_parms
    - kik_tablespace kik_storage kik_other_parms
    - lst_tablespace lst_storage lst_other_parms
    - lix_tablespace lix_storage lix_other_parms
    - sqr_tablespace sqr_storage sqr_other_parms
    - sri_tablespace sri_storage sri_other_parms
    xxx_tablespace는 각 table과 index의 tablespace를 지정하며 xxx_storage는
    storage절을, xxx_other_parms는 그 외의 다른 parameter를 지정할 수 있다.
    (2) 명령 형식
    CTX_DDL.SET_ATTRIBUTE
    ( name in varchar2, - 원하는 attribute이름
    value in varchar2 ); - 앞의 attribute에 해당하는 값
    CTX_DDL.CREATE_PREFERENCE
    ( preference_name in varchar2, - 임의의 preference이름
    description in varchar2, - comment
    object_name in varchar2 ); - 이 경우 GENERIC ENGINE
    Example
    [ 예제 1 ] 새로운 policy를 생성하는경우 parameter지정하기.
    begin
    ctx_ddl.set_attribute('I1T_TABLESPACE','USERS');
    ctx_ddl.set_attribute('I1T_STORAGE','INITIAL 10M NEXT 10M');
    ctx_ddl.set_attribute('I1T_OTHER_PARMS','PCTFREE 10');
    ctx_ddl.set_attribute('I1I_TABLESPACE','USERS');
    ctx_ddl.set_attribute('I1I_STORAGE','INITIAL 10M NEXT 10M');
    ctx_ddl.set_attribute('I1I_OTHER_PARMS','PCTFREE 10');
    ctx_ddl.create_preference('ART_ENGIN','Test Case','GENERIC ENGINE');
    ctx_ddl.create_policy('DEMO_POLICY',
    'ARTICLES.TEXT',
    lexer_pref=>'CTXSYS.KOREAN',
    engine_pref=>'ART_ENGIN');
    ctx_ddl.create_index('DEMO_POLICY');
    end;
    위의 예에서는 I1T table과 i1I index에 대한 parameter를 설정하였다.
    preference를 생성한 후 create_policy에서 engine_pref 에 생성한
    preference이름을 준다. 위의 예와 같이 실행한 후에 다음과 같이
    확인해 볼 수 있다.
    SQL> select table_name, tablespace_name from user_tables
    2 where table_name = 'DR_01104_I1T1';
    TABLE_NAME TABLESPACE_NAME
    DR_01104_I1T1 USERS
    ( dr_01104_i1t 는 synonym이며 dr_01104_i1t1이 base table이다. )
    SQL> select index_name, tablespace_name from user_indexes
    2 where table_name = 'DR_01104_I1T1';
    INDEX_NAME TABLESPACE_NAME
    DR_01104_I1I1 USERS
    [ 예제 2 ] 기존의 policy에 새로운 preference 적용하기
    이 방법은 기존에 존재하는 policy를 update하여 preference 를 적용하는
    방법이다. 이 경우 generic engine 은 update_policy를 하기 전에 index를
    drop해야 한다.
    begin
    ctx_ddl.set_attribute('I1T_TABLESPACE','USERS');
    ctx_ddl.set_attribute('I1T_STORAGE','INITIAL 10M NEXT 10M');
    ctx_ddl.set_attribute('I1T_OTHER_PARMS','PCTFREE 10');
    ctx_ddl.set_attribute('I1I_TABLESPACE','USERS');
    ctx_ddl.set_attribute('I1I_STORAGE','INITIAL 10M NEXT 10M');
    ctx_ddl.set_attribute('I1I_OTHER_PARMS','PCTFREE 10');
    ctx_ddl.create_preference('ART_ENGIN','Test Case','GENERIC ENGINE');
    ctx_ddl.drop_index('DEMO_POLICY');
    ctx_ddl.update_policy('DEMO_POLICY',
    engine_pref=>'ART_ENGIN');
    ctx_ddl.create_index('DEMO_POLICY');
    end;
    Reference Document
    Context User's Guide and Context Reference

  • SOA-- Invoking OSB Service Getting Error :ORA-00084: global area must be PGA, SGA, or UGA

    Hello Friends,
    Really appreciate your help/inputs on the below Error Message encountered while running a Concurrent Program--using SOA:Same encountered in recently refreshed DEV instance, Can it be related to some Developement Instance Configuration related to SOA, as same working as expected in PROD.PLEASE ASSIST
    Need your inputs on the Error Message we are getting which Invoking OSB Service.
    "Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA "
    Can you please review and confirm if the same encountered before or assist on the same:
    XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
    -- Define the SOAP request according the the definition of the web service being called
    l_soap_request := 
                '<?xml version = "1.0" encoding = "UTF-8"?>'
            || '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prox="http://OmnicareFinance/ProxyInput/">'
             ||   '<soapenv:Header/>'
             ||     '<soapenv:Body>'
             ||       '<prox:InboundProcess>'
             ||     '<Source_system>'||g_source_instance||'</Source_system>'
             ||     '<Run_mode>'||g_run_mode||'</Run_mode>'
             ||     '<Batch_key>'||g_batch_key||'</Batch_key>'
             ||     '<Request_id>'||g_request_id||'</Request_id>'
             ||     '<Invoice_Header_File_name>'||g_file_name||'</Invoice_Header_File_name>'
             ||     '<Invoice_Line_File_name>'||NULL||'</Invoice_Line_File_name>'
             ||     '<File_location>'||g_file_location||'</File_location>'
             ||       '</prox:InboundProcess>'
             ||     '</soapenv:Body>'
             ||   '</soapenv:Envelope>';
    Oracle Apps Log File
    -->Entering XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
    -->   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    -->Response> status_code: "200"
    -->Response> reason_phrase: "OK"
    -->Response> http_version: "HTTP/1.1"
    -->Response From OSB: <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:prox="http://OmnicareFinance/ProxyInput/"/><soapenv:Body xmlns:prox="http://OmnicareFinance/ProxyInput/"><prox:InboundProcessResponse><status>E</status></prox:InboundProcessResponse></soapenv:Body></soapenv:Envelope>
    -->OSB Response: E
    -->Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA
    -->   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    -->Entering XXFIN_AP_INVOICES_INT_IB_PKG.capture_error_info
    THANKS
    ANKUR

    Hi..
    >
    # symptom: ORA-00381: cannot use both new and old parameters for buffer cache size specification
    # cause: Both db_block_buffers and db_cache_size parameters are defined in the init.ora (instance parameter file). The db_block_buffers parameter has been deprecated and has been maintained only for backward compatibility. The db_cache_size parameter is one of the size parameters which defines the size of the cache for buffers. These parameters cannot be combined. Setting this along with the Dynamic SGA parameters errors out.
    >
    For sga_target refer to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams193.htm#REFRN10256]
    which quotes
    >
    SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
    *Buffer cache (DB_CACHE_SIZE)
    * Shared pool (SHARED_POOL_SIZE)
    * Large pool (LARGE_POOL_SIZE)
    * Java pool (JAVA_POOL_SIZE)
    * Streams pool (STREAMS_POOL_SIZE)
    If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
    >
    So, the what ever the value are set for the parameter will act as minimum value when sga_target is set.
    HTH
    Anand

  • SGA_TARGET

    Hi,
    I have one quick question regarding the SGA_TARGET parameter.
    This is my sga allocation so far:
    Total System Global Area 2147483648 bytes
    Fixed Size 2140320 bytes
    Variable Size 2124240736 bytes
    Database Buffers 16777216 bytes
    Redo Buffers 4325376 bytes
    My RAM size is 16GB and i would be creating many other applications as well. now i have the following sga parameters:
    SQL> sho parameter sga;
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 2G
    sga_target big integer 0
    Now my worry is the sga_target i want to make use but i have given old parameters as well and i am getting the error
    Error:     ORA-00381 (ORA-381)
    Text:     cannot use both new and old parameters for buffer cache size
         specification
    now my db* parameter settings are:
    SQL> sho parameter db;
    NAME TYPE VALUE
    db_16k_cache_size big integer 0
    db_2k_cache_size big integer 0
    db_32k_cache_size big integer 0
    db_4k_cache_size big integer 0
    db_8k_cache_size big integer 0
    db_block_buffers integer 2048
    db_block_checking string FALSE
    db_block_checksum string TRUE
    db_block_size integer 8192
    db_cache_advice string ON
    db_cache_size big integer 0
    NAME TYPE VALUE
    db_create_file_dest string
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string
    db_create_online_log_dest_5 string
    db_domain string PFIZER.COM
    db_file_multiblock_read_count integer 16
    db_file_name_convert string
    db_files integer 1024
    db_flashback_retention_target integer 1440
    NAME TYPE VALUE
    db_keep_cache_size big integer 0
    db_name string EAMS01
    db_recovery_file_dest string
    db_recovery_file_dest_size big integer 0
    db_recycle_cache_size big integer 0
    db_unique_name string EAMS01
    db_writer_processes integer 2
    dbwr_io_slaves integer 0
    rdbms_server_dn string
    standby_archive_dest string ?/dbs/arch
    standby_file_management string MANUAL
    and my init parameters are:
    EAMS01.__streams_pool_size=33554432
    *._allow_level_without_connect_by=TRUE
    *.aq_tm_processes=1
    *.ARCHIVE_LAG_TARGET=900
    *.audit_file_dest='/u03/oracle/admin/EAMS01/adump'
    *.audit_trail='TRUE'
    *.background_dump_dest='/u03/oracle/admin/EAMS01/bdump'
    *.control_files='/u04/oradata/EAMS01/control01.ctl','/u04/oradata/EAMS01/control02.ctl','/u04/oradata/EAMS01/control03.ctl'
    *.core_dump_dest='/u03/oracle/admin/EAMS01/cdump'
    *.db_block_buffers=550# SMALL
    *.db_domain='PFIZER.COM'
    *.db_file_multiblock_read_count=16# SMALL
    *.db_files=1024# SMALL
    *.db_name='EAMS01'
    *.global_names=TRUE
    *.java_pool_size=96M
    *.job_queue_processes=15
    *.large_pool_size=32M
    *.log_archive_dest='/u04/arch/EAMS01'
    *.log_archive_format='EAMS01_%t_%s_%r.arc'
    *.log_archive_max_processes=5
    *.log_checkpoint_interval=10000
    *.log_checkpoints_to_alert=TRUE
    *.max_dump_file_size='10240'# limit trace file size to 5 Meg each
    *.NLS_DATE_FORMAT='YYYY-MM-DD'
    *.nls_length_semantics='CHAR'
    *.NLS_TERRITORY='AMERICA'
    *.open_cursors=768
    *.open_links=128
    *.open_links_per_instance=128
    *.optimizer_features_enable='10.2.0.3'
    *.parallel_max_servers=5# SMALL
    *.pga_aggregate_target=500M
    *.processes=512# SMALL
    *.query_rewrite_enabled='TRUE'
    *.query_rewrite_integrity='STALE_TOLERATED'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_limit=TRUE
    *.service_names='EAMS01.pfizer.com'
    *.sga_max_size=2G
    *.shared_pool_size=500000000# SMALL
    *.streams_pool_size=33554432
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.user_dump_dest='/u03/oracle/admin/EAMS01/udump'
    now what the parameters i am missing or need to edit sga_target so that oralce will use empirically over
    time. Thank you.
    -- Raman.

    Hi..
    >
    # symptom: ORA-00381: cannot use both new and old parameters for buffer cache size specification
    # cause: Both db_block_buffers and db_cache_size parameters are defined in the init.ora (instance parameter file). The db_block_buffers parameter has been deprecated and has been maintained only for backward compatibility. The db_cache_size parameter is one of the size parameters which defines the size of the cache for buffers. These parameters cannot be combined. Setting this along with the Dynamic SGA parameters errors out.
    >
    For sga_target refer to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams193.htm#REFRN10256]
    which quotes
    >
    SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
    *Buffer cache (DB_CACHE_SIZE)
    * Shared pool (SHARED_POOL_SIZE)
    * Large pool (LARGE_POOL_SIZE)
    * Java pool (JAVA_POOL_SIZE)
    * Streams pool (STREAMS_POOL_SIZE)
    If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
    >
    So, the what ever the value are set for the parameter will act as minimum value when sga_target is set.
    HTH
    Anand

  • Setting AWE_WINDOW_SIZE

    Hi All,
    I have edited the boot.ini file and added the
    /3GB /PAE entry into the it.
    Following are the entries that are pending to be done which i can do.
    USE_INDIRECT_BUFFERS=TRUE,
    Using DB_BLOCK_BUFFERS parameter in the initialization file instead of the DB_CACHE parameter.
    The point where I am stuck is how to set the AWE_WINDOW_SIZE, i tried searching for this key in the registry and did not find it.
    Since it is told that that default value would be 1 GB, it's an indication that the registry already should have that parameter, but i am not able to find it.
    Request if i can get instructions as to how to set the AWE_WINDOW_SIZE.
    Thanks in advance
    Regards
    Karthik..

    Hi Karthik,
    I have some notes on setting awe_windows_size that may help:
    http://www.dba-oracle.com/t_awe_window_size.htm
    MetaLink Note:225349.1 gives these recommendations for setting manual SGA for AWE as follows:
    alter system set sga_target = 0;
    alter system set sga_max_size = 0;
    alter system set shared_pool_size = 500;
    alter system set large_pool_size = 100;
    alter system set java_pool_size = 16;
    pga_target =256m;
    USE_INDIRECT_DATA_BUFFERS=TRUE
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Determine if the DATA_BLOCK_BUFFERS is set high enough

    Hello,
    I am currently tuning my database for optimal performance. (some
    of my users are complaining about performance problem at high
    load)
    I wanted to check if my DATA_BLOCK_BUFFERS has been set high
    enough.
    Anyone please guide me through.
    NB. I have tried to run the following query but the results are
    not too clear to me:
    prompt "Determining if the Data Block buffers is set high enough"
    select 1-(sum(decode(name, 'physical reads', value,0))/
    (sum(decode(name, 'db block gets', value,0)) +
    (sum(decode(name, 'consistent gets', value,0))))) * 100
    "Read Hit Ratio"
    from v$sysstat;
    Read Hit Ratio
    -7.201386
    Thanks in Advance
    Yogeeraj

    Hi,
    Your query needs 2 extra brackets to give the correct result :
    select (1-(sum(decode(name, 'physical reads', value,0))/
    (sum(decode(name, 'db block gets', value,0)) +
    (sum(decode(name, 'consistent gets', value,0)))))) * 100
    "Read Hit Ratio"
    from v$sysstat
    You will get a hitrate of about 92% which is rather low.
    Instead of raising your db_block_buffers parameter you should
    consider splitting your tables up between the recycle and keep
    buffer pool.
    Large tables that are frequently accessed in a random way should
    be put in the 'recycle' pool while the others can be put in
    the 'keep' pool.
    See the oracle docs for more info on this.
    Regards,
    Roger.

  • Maximum File size in XI

    I have 100 MB file to be transferred through XI.
    How to check maximum file size limit in XI server.
    Is thier any tcode for the same?

    Hi ViJaYaNt JhA ,
    File size depends on your Java Heap (Java heap depends on your Hardware Config).Basically SAP recommends a size of 5 Mb.
    you can try the quicksizer tool on http://service.sap.com/quicksizer.
    Also update the HTTPProvider service on the Java server dispatcher to have the parameter MaxRequestContentLength = 800M
    The ABAP parameters icm/HTTP/max_request_size_km set to 2097152, icm/server_port_0 TIMEOUT set to 600. rdisp/max_wprun_time = 3600, ztta/max_memreq_MB =2048.
    In SXMB_ADM  add the parameter TUNING EO_MSG_SIZE_LIMIT = 40M
    Best way would be splitting technique.
    Splitting the file before it enters XI would considerably reduce the load on XI.
    please refer the following links
    The specified item was not found.
    Refer this blog
    Night Mare-Processing huge files in SAP XI
    one more suggestion is:
    Increase Current Value of the Parameter Nmame : rdisp/max_wprun_time
    using Tcode RZ11 and try to process.
    I think it is possible to process files Sizes up to 50 Mb.
    Refer Note 807000 ,File Adapter: SAP Note 821267.
    Regards,
    Vinod.

  • XI freezes

    Dear experts,
    we have a customer where our 'dress rehearshal' for go-live failed 3 times.
    <b>Scenario</b>
    1. IDocs are sent (for outbound deliveries) from backend to a BPM.
    2. The BPM works as follows: synch call to an HTTP receiver. Depending on the reply:
       a. If OK, process is completed
       b. In case of application error an alert is thrown and a wait step starts. The BPM allows for a max 3 such 'retries', if 3 is reached then the process is terminated with error.
       c. In case of unknown return code a termination occurs (no retries).
    <b>Symptom</b>
    No problems occured during our tests. However during the dress rehearshal (about 2000 Idocs fired within 30 minutes from the backend) after some minutes of normal operation the following happened:
    1.     Messages from SAP backend get stuck in status 'to be delivered' and remain there for days
    2.     The business process (SAP workflow) timeouts last hours rather than the prescribed 1 minute (we had this for testing, normally should be half a day)
    3.     It was impossible to launch the integration builder html pages. Java seemed totally 'down'.
    4.     Occasionally, we could not even log on to the ABAP stack.
    5.      The logs show an unreasobaly high number of 'rollbacks' being executed.
    5.     Despite all this:
    •     that the CPU works at very small percentage !!!
    •     No storage problem is detected...
    <b>Actions taken</b>
    WE could not remedy the situationm even after several restarts of XI. We managed to get it again running properly after restarting the <i>server</i>.
    We then tried some parameter tuning (including dialog processes and queues) but again after some hours of being happy the same happened.
    Our machine is a 4 CPU with 16 GB, should be OK for this.
    IDEAS ARE WELCOME...

    Hi,
    I am sharing my thoughts.
    1 ) Might be due  to couple of  interfaces  using BPM  in Synchronous,  More the BPM  the system  performance  will be  slow  and  more over you are using the  calls in  Synchronous, Hence it  will occupy more memory  and wait  for the response.  assume  at  particular time  couple  of  interface  are  waiting  for response  from the other  side... Obviously  it  will make the  system  Freeze.
    2) Status:  TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Solution:
    This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>
    /<PROTOCOL>
    Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING
    1.     Try logging into Sap GUI with two users:  XIAPPLUSER & XIAFUSER
    to see if they are blocked
    2.      We can check the messages:
    AdapterFramework
    com.sap.aii.adapterframework.serviceuser.language
    com.sap.aii.adapterframework.serviceuser.name = XIAFUSER
    com.sap.aii.adapterframework.serviceuser.pwd
    ApplicationSystem
    com.sap.aii.applicationsystem.serviceuser.language
    com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER
    com.sap.aii.applicationsystem.serviceuser.pwd
    in the exchange profile to make sure the right passwords
    Regards
    Agasthuri Doss

  • How to set oracle parameters

    Hi all,
    how to set oracle parameters in my sap 4.7 server. I need to know the procedure of parameter tune.
    Regards,.
    satish.
    Edited by: satish k on Jun 17, 2008 5:07 AM

    Hi
    Please try this link.
    http://oracle.basisconsultant.com/oracle_tuning_parameters.htm
    http://www.orafaq.com/wiki/Oracle_database_Performance_Tuning_FAQ
    But before doing this, check for all the probabilities as it requires lots of data and traces to do the parameter tuning.

  • Sga confusion

    Hi,
    I am running oracle 10.2.0.4 on RHELAS U4.6 and kernel is Linux 2.6.9-67.ELhugemem #1 SMP i686 i686 i386 GNU/Linux.
    Current RAM of the system is 32GB and current sga size is 3G.
    My question over here is that is it possible that I can increase the sga_target=4G and sga_max_size=8G?
    One thing more my installed OS is 32-bit
    Thank you for your cooperation.
    Kind Regards,
    Adnan Hamdus Salam.
    Edited by: adnan on Feb 15, 2012 2:28 AM
    Edited by: adnan on Feb 15, 2012 2:29 AM

    Hi,
    So I have to perform these steps.
    But in my case I already set the shmmax to 4G and
    none 16G 0 16G 0% /dev/shm
    other values are
    oracle soft memlock 1048576
    oracle hard memlock 1048576
    what will be the rest of steps?
    Did not understand this as given below:
    The following parameter should be added to the spfile or pfile.
    use_indirect_data_buffers=true
    Also, any references to db_cache_size and db_xK_cache_size parameters should be removed and replaced with the old style db_block_buffers parameter entry.
    # 3Gig for an 8K db_block_size. ((3 * 1024 * 1024) / 8) = 393216
    db_block_buffers = 393216
    Thank you for your help and support.
    Kind Regards,
    Adnan Hamdus Salam

Maybe you are looking for