Вы находитесь на странице: 1из 3

Database Parameters

Definition
The SAP System for the Oracle database comes with a standard initialization profile for the database parameters: OS> <ORACLE_HOME>/dbs/init<DBSID>.ora For example: /oracle/C11/dbs/initC11.ora

Use
This profile contains the default parameter settings recommended for the SAP System. Copy this standard profile so that you can access the original parameters, if necessary.

Structure
Operating System-Specific Parameters All parameters that specify paths and file names are operating system-specific. These parameters have to be adjusted to agree with your operating system. When possible, however, SAP recommends that you retain the default path and file descriptions in the system. Make the appropriate changes to your operating system instead. ? is the Oracle placeholder for $ORACLE_HOME. SAP recommendation See Mirroring the Control File. OS> ?/saparch/<DBSID>arch, where ?/saparch can be a soft link to a separate disk or a separate mount point. See Setting Up Archiving. background_dump_des OS> ?/saptrace/background Directory for t database trace and database ALERT files. If you have serious database problems, you must analyze the information in the ALERT and trace files. OS> ?/saptrace/background Directory for user trace files. Parameter control_files log_archive_dest

user_dump_dest

Tuning Parameters The following lists a selection of RAM-dependent tuning parameters. For more information, see the Oracle documentation. Parameter ram (unit: MB) Portion of physical RAM that you want to reserve for the system. rating Settings One system installed on one host: ram = 1.0*RAM Two systems installed on one host: ram = 0.5*RAM Default: rating=0.25 (25% of RAM reserved for the database, 75% for the SAP System)

Proportion of RAM taken up by the database and the Database-only server: rating=0.8 (80% of RAM SAP System is reserved for the database)

db_block_size db_block_size (unit: bytes) size of the Oracle database blocks

If ram<RAM*0.8: rating=1.0 (100% of RAM is reserved for the database) Operating system-specific, default: 8192

The parameters ram, rating and db_block_size are taken into account when calculating the following tuning parameters: Parameter Determination of its value shared_pool_si shared_pool_size=ram*rating*0.4*1024*1024 ze The factor 0.4 means that shared_pool_size occupies 40% of the db_block_size calculated SGA. (unit: bytes) buffer shared_pool_size=20.971.520 if the value calculated using size for parsed SQL the formula above is lower than 20971520 Bytes. statements in the Oracle System Global Area (SGA) db_block_buffe db_block_buffers=ram*rating*0.6*1024*1024/db_b rs lock_size db_block_size (unit: blocks) buffer size for data blocks The factor 0.6 means that db_block_buffers occupies 60% of the calculated SGA.

and index blocks in the Oracle SGA log_buffer

Default: log_buffer=327.680

db_block_size Part of the SGA, which is very small when compared with (unit: bytes) buffer shared_pool_size and db_block_buffers. size for redo log entries in the Oracle SGA row_cache_curs row_cache_cursors= ors 300, if ram>=256 Number of cursors used for selecting 200, if ram<256 lines from the ABAP Dictionary. 100, if ram<128

Вам также может понравиться