ORA-03214:File Size specified is smallerthan minimum required问题解决

报错:

ERROR at line 1:

ORA-03214: File Size specified is smallerthan minimum required


这个报错一般先检查下自己的命令是不是没有给定单位

如:

本意  alter ...add datafile ...... size 1024M...;

却写成 alter ...add datafile ...... size 1024 ...;


这样报错就出来了,一般希望创建size极小的数据文件需求基本不会有,如果真有就给稍大一点也就可以了。



其他原因可参考:

Problem Description
-------------------

You are using a database which is based on 8k database blocks.

You create a tablespace and get the following error message:

   SQL> create tablespace verysmall 
     2  datafile '/ora/ora901/oradata/V901/small01.dbf'
     3  size 50k;
   create tablespace verysmall datafile '/ora/ora901/oradata/V901/small01.dbf' 
   *
   ERROR at line 1:
   ORA-03214: File Size specified is smaller than minimum required


Solution Description
--------------------
1. Either increase the size for the datafile :
 
   SQL> create tablespace verysmall
     2  datafile '/ora/ora901/oradata/V901/small01.dbf'
     3  size 88k;

   Tablespace created.

2. Or specify the size of the extent allocation:

   SQL> create tablespace verysmall
     2  datafile '/ora/ora901/oradata/V901/small01.dbf'
     3  size 34k
     4  uniform size 10k;

   Tablespace created.


Explanation
-----------
1. In 9i, when you create a tablespace, it is by default created as a Locally 
   Managed Tablespace with a minimum extent size of 64K, if the local management
   is system managed.

   Therefore, you must allocate size datafiles to 64 Kbytes + 3 blocks for the bitmap blocks.
   In solution 1, the datafile size could not be set less than 64K + (3*8k)= 88k

2. If you supply the UNIFORM parameter, size the datafiles to 3 blocks + one extent size
   minimum. It offers the means to allocate the first extent without problem.
 
   Therefore in solution 2, the datafile cannot be set less than 
   10K + (3*8k) = 34K

   SQL> create tablespace verysmall
     2  datafile '/ora/ora901/oradata/V901/small01.dbf'
     3  size 32k
     4  uniform size 10K;
   create tablespace verysmall
   *
   ERROR at line 1:
   ORA-03214: File Size specified is smaller than minimum required


References
----------

Note:111666.1  Locally Managed Tablespace with Uniform Extent Size Need 64K 
                 Per Datafile
Note:109627.1  Migrating a Tablespace from Dictionary to Locally Managed 
                 Requires Space

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值