Professional Documents
Culture Documents
Buffer Cache Advisory
Buffer Cache Advisory
Buffer Cache Advisory
2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Steve>sqlplus
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jul 27 22:32:24 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL>
SQL>
SQL>
SQL> show parameter db_chach
SQL>
SQL>
SQL>
SQL> show parameter db_cache
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_cache_advice string ON
db_cache_size big integer 25165824
SQL>
SQL>
SQL> set linesize 1000
SQL> set wrap off
SQL>
SQL>
SQL>
SQL> select * from v$db_cache_advice;
ID NAME BLOCK_SIZE ADV SIZE_FOR_ESTIMATE SIZE_FACTOR BUF
FERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
---------- -------------------- ---------- --- ----------------- ----------- ---
----------------- ------------------------- -------------------
3 DEFAULT 8192 ON 4 .1667
500 2.5128 1739
3 DEFAULT 8192 ON 8 .3333
1000 1 692
3 DEFAULT 8192 ON 12 .5
1500 1 692
3 DEFAULT 8192 ON 16 .6667
2000 1 692
3 DEFAULT 8192 ON 20 .8333
2500 1 692
3 DEFAULT 8192 ON 24 1
3000 1 692
3 DEFAULT 8192 ON 28 1.1667
3500 1 692
3 DEFAULT 8192 ON 32 1.3333
4000 1 692
3 DEFAULT 8192 ON 36 1.5
4500 1 692
3 DEFAULT 8192 ON 40 1.6667
5000 1 692
3 DEFAULT 8192 ON 44 1.8333
5500 1 692
ID NAME BLOCK_SIZE ADV SIZE_FOR_ESTIMATE SIZE_FACTOR BUF
FERS_FOR_ESTIMATE ESTD_PHYSICAL_READ_FACTOR ESTD_PHYSICAL_READS
---------- -------------------- ---------- --- ----------------- ----------- ---
----------------- ------------------------- -------------------
3 DEFAULT 8192 ON 48 2
6000 1 692
3 DEFAULT 8192 ON 52 2.1667
6500 1 692
3 DEFAULT 8192 ON 56 2.3333
7000 1 692
3 DEFAULT 8192 ON 60 2.5
7500 1 692
3 DEFAULT 8192 ON 64 2.6667
8000 1 692
3 DEFAULT 8192 ON 68 2.8333
8500 1 692
3 DEFAULT 8192 ON 72 3
9000 1 692
3 DEFAULT 8192 ON 76 3.1667
9500 1 692
3 DEFAULT 8192 ON 80 3.3333
10000 1 692
20 rows selected.
SQL>
SQL>
SQL> show 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 0
db_block_checking boolean FALSE
db_block_checksum boolean TRUE
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 25165824
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
db_file_multiblock_read_count integer 16
db_file_name_convert string
db_files integer 200
db_keep_cache_size big integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string db2
db_recycle_cache_size big integer 0
db_writer_processes integer 1
dblink_encrypt_login boolean FALSE
dbwr_io_slaves integer 0
rdbms_server_dn string
standby_archive_dest string %ORACLE_HOME%\RDBMS
standby_file_management string MANUAL
SQL> alter system set db_4k_cache_size=8M;
alter system set db_4k_cache_size=8M
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00384: Insufficient memory to grow cache