Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Query my block size oracle

Tags:

Is there a way I can tell the block size of my Oracle database if I don't have access to the v$parameter view?

Thanks!

f.

like image 436
filippo Avatar asked Feb 01 '11 12:02

filippo


People also ask

What is Oracle database block size?

DB_BLOCK_SIZE specifies (in bytes) the size of Oracle database blocks. Typical values are 4096 and 8192 . The value of this parameter must be a multiple of the physical block size at the device level. The value for DB_BLOCK_SIZE in effect at the time you create the database determines the size of the blocks.

What is tablespace block size?

Block size also affects the total amount of data that an Oracle database can store. As of Oracle 10g, each data file of the database can store 4 billion blocks, and each database can have up to 65,536 files. With these limits, the maximum database size is shown for each block size in Table 9.

How do I change the block size in Oracle 19c?

The block size in an Oracle database CANNOT be changed after the database is created. The reason is because Oracle tracks a lot of information based on block number.

How do I change my db block size?

The DB block size is one of the Oracle system parameters. The default DB block size cannot be changed once the database is created, but multiple DB block sizes can be set up to meet the requirement.


1 Answers

You could do this:

select distinct bytes/blocks from user_segments; 
like image 68
Tony Andrews Avatar answered Oct 01 '22 00:10

Tony Andrews