Wednesday, May 30, 2018

ORA-03206: maximum file size of (6553600) blocks in AUTOEXTEND clause is out of range

I received below error while extending the datafile. You might see below error when creating tables space too.

SQL> alter database datafile '/oradata1/ORCL/orcl101.dbf' autoextend ON maxsize 50g;
alter database datafile '/oradata1/ORCL/orcl101.dbf' autoextend ON maxsize 50g;
*
ERROR at line 1:
ORA-03206: maximum file size of (6553600) blocks in AUTOEXTEND clause is out of range


The reason is maximum file size for an autoenxtendable file has exceeded the maximum number of blocks allowed. Note that Oracle allows only up to 32GB datafile with 8k blocks. If you want to create a tablespace or datafile more than 32GB then you must use BIGFILE keyword.

To calicuate max datafile size:
max datafile size = db_block_size * maximum number of blocks

Solution: create a file less than 32 GB size or if you need to create datafile more than 32GB then use BIGFILE keyword.

SQL> alter database datafile '/oradata1/ORCL/orcl101.dbf' autoextend ON maxsize 32767M ;
Tablespace altered.

Hope this helps,

Regards
Satishbabu Gunukula, Oracle ACE
http://oracleracexpert.com

8 comments:

  1. hmm, https://tanvirhossain.com.bd

    ReplyDelete
  2. This is a savvy blog. I would not joke about this. You have such a great amount of learning about this issue, thus much energy. You additionally know how to make individuals rally behind it, clearly from the reactions.
    memory of Tatooine
    The set jogs my
    wows netizens
    TV rankings
    agani" scores
    darkish coloured pores and skin
    ABagani March
    Four Oras June 6

    ReplyDelete
  3. Packers and Movers Bangalore 100% Affordable Local Household Shifting Services. Compare Relocation Charges, Get Free Best Price Quotes: Verified and Trusted Packers and Movers in Bangalore, Cheap and Safe Local, Domestic House Shifting @
    Packers And Movers In Bangalore Local

    ReplyDelete
  4. Your blog is great. I read a lot of interesting things from it. Thank you very much for sharing. Hope you will update more news in the future.
    - USPS Tracking

    ReplyDelete