DB_BLOCK_SIZE [message #559654] |
Thu, 05 July 2012 05:59  |
 |
guddu_12
Messages: 227 Registered: April 2012 Location: UK
|
Senior Member |
|
|
Dear All,
I have created the database on 11gr2 and forgot to set the db_block_size 16k, can i do it once the installation is done.
If the tablespace is created with 16k will it help to improve the performance.
Please clarify me for larger table full table scan , if i have block size of 16 it will be faster compare to block size of 8k.
does block size of 8k improves performance when writing the data into the table.
Please help me to understand
Rajesh
|
|
|
|
|
Re: DB_BLOCK_SIZE [message #559658 is a reply to message #559657] |
Thu, 05 July 2012 06:38   |
gazzag
Messages: 1119 Registered: November 2010 Location: Bedwas, UK
|
Senior Member |
|
|
No. You cannot have multiple block sizes within a database. Also, as Michel has indicated, you need to recreate the database with the required block size.
HTH
-g
|
|
|
Re: DB_BLOCK_SIZE [message #559659 is a reply to message #559658] |
Thu, 05 July 2012 06:49   |
 |
Michel Cadot
Messages: 68737 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:You cannot have multiple block sizes within a database
Yes, you can have multiple block sizes in a database but it is not recommended.
See Database Concepts http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#sthref61
Quote:...Oracle database data is stored in data blocks. One data block corresponds to a specific number of bytes of physical database space on disk. The standard block size is specified by the DB_BLOCK_SIZE initialization parameter. In addition, you can specify up to five other block sizes....
and http://docs.oracle.com/cd/B19306_01/server.102/b14220/physical.htm#sthref529
Quote:Oracle supports multiple block sizes in a database. The standard block size is used for the SYSTEM tablespace. Legitimate values are from 2K to 32K.[...] You can create tablespaces having any of these block sizes. The standard block size is used for the system tablespace and most other tablespaces.
Regards
Michel
[Updated on: Thu, 05 July 2012 06:50] Report message to a moderator
|
|
|
|
Re: DB_BLOCK_SIZE [message #559671 is a reply to message #559654] |
Thu, 05 July 2012 08:04   |
John Watson
Messages: 8965 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
The Oracle Uni Performance Tuning course manual includes this sentence:
"In recent years all the TPC performance tests have used an 8 KB block size. Larger and smaller block sizes have not given significant performance benefits."
That tells me that I can choose block size purely for administration convenience, ie, if I want datafiles bigger than 32G, then use 16K or 32K blocks. But I would like some confirmation of that statement. Anyone seen anything more official than just a note in a training manual?
|
|
|
|
|
|
|
|
|
|
|