HOW TO
Instructions provided describe how to create Oracle tablespaces using multiple DB blocks.
In some cases, it is necessary to restore Oracle databases using exactly the same settings as the original ones. 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.
SQL> show sga Total System Global Area 419430400 bytes Fixed Size 2073288 bytes Variable Size 251661624 bytes Database Buffers 159383552 bytes Redo Buffers 6311936 bytes SQL> select name, block_size, current_size from v$buffer_pool; NAME BLOCK_SIZE CURRENT_SIZE -------------------- ---------- ------------ DEFAULT 8192 152
SQL> create tablespace test_tbs4k datafile '/i6052/ora10g3/oracle/oradata/patricia/test_tbs4k.dbf' size 10M blocksize 4K; create tablespace test_tbs4k datafile '/i6052/ora10g3/oracle/oradata/patricia/test_tbs4k.dbf' size 10M blocksize 4K * ERROR at line 1: ORA-29339: tablespace block size 4096 does not match configured block sizes
SQL> alter system set db_4k_cache_size = 60M; System altered.
SQL> create tablespace test_tbs4k datafile '/i6052/ora10g3/oracle/oradata/patricia/test_tbs4k.dbf' size 100M blocksize 4K; Tablespace created.
SQL> select name, block_size, current_size from v$buffer_pool; NAME BLOCK_SIZE CURRENT_SIZE -------------------- ---------- ------------ DEFAULT 8192 92 DEFAULT 4096 60
Get help from ArcGIS experts
Download the Esri Support App