Home » RDBMS Server » Server Administration » Database Buffer size
icon8.gif  Database Buffer size [message #147689] Sat, 19 November 2005 03:25 Go to next message
kpsrinivas
Messages: 4
Registered: November 2005
Location: Hyderabad
Junior Member

I am new to DBA. When creating a database. how do we determine the block size.
initialization parameter
DB_CACHE_SIZE in init.ora

like different sizes are there, is there any formula for size of block

DB_2k_CACHE_SIZE
DB_4k_CACHE_SIZE
DB_8k_CACHE_SIZE
DB_16k_CACHE_SIZE
DB_32k_CACHE_SIZE

how we determine the size of block.

Thanks in advance
Re: Database Buffer size [message #147698 is a reply to message #147689] Sat, 19 November 2005 09:53 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
http://tahiti.oracle.com/

specifically

http://oraclesvca2.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm
Re: Database Buffer size [message #147701 is a reply to message #147698] Sat, 19 November 2005 10:44 Go to previous message
sunil_v_mishra
Messages: 506
Registered: March 2005
Senior Member
hi,

Please check out the below written things.....

Logical Structure Of Database
=============================
Database is made of number of tablespaces , which is made up of segments , segments having number of extents and extents are having number of blocks.

Types Of Segments
=================
Table
Index
Rollback
Temporary segment


When creating any table the extents are allocated in data file , the number of extents starts from 0 and on …

This extents are collection of blocks when you create any segment oracle allocate extents

u can know the size of block by parameter DB_BLOCK_SIZE = ___ bytes

once db is created you cant change the size of this parameter, if you change it database gets corrupted

Block size should equal to O/S (i.e. operating system) block size or multiple of it

Example
=======
For oracle 9i & 10g on Xp
###########################################
# Cache and I/O
###########################################
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
==============================================================

This are the other parameter which can be used in buffer pool.

Default Pool db_cache_size = 33554432
Keep Pool db_keep_cache_size = 5242880
Recycle Pool db_recycke_cache_size = 5242880

I Hope above information will be usefull to you

Regards
Always Friend sunilkumar

Previous Topic: oradim problem
Next Topic: Oracle product
Goto Forum:
  


Current Time: Thu Feb 13 16:56:28 CST 2025