--表空间大小测试
--创建临时表空间icer_temp1
create temporary tablespace icer_temp1
tempfile 'D:\oracle\icer_temp1.dbf'
size 1m
autoextend on
next 1m maxsize 1024m
extent management local;
--创建临时表空间icer_temp2
create temporary tablespace icer_temp2
tempfile 'D:\oracle\icer_temp2.dbf'
size 2m
autoextend on
next 2m maxsize 1024m
extent management local;
--创建临时表空间icer_temp3
create temporary tablespace icer_temp3
tempfile 'D:\oracle\icer_temp1.dbf'
size 3m
autoextend on
next 3m maxsize 1024m
extent management local;
结果:
在行 4 上开始执行命令时出错:
create temporary tablespace icer_temp1
tempfile 'D:\oracle\icer_temp1.dbf'
size 1m
autoextend on
next 1m maxsize 1024m
extent management local
命令出错, 行: 4 列: 1
错误报告:
SQL 错误: ORA-03214: 指定的文件大小小于所需的最小值
03214. 00000 - "File Size specified is smaller than minimum required"
*Cause: File Size specified for add/resize datafile/tempfile does not
allow for the minimum required of one allocation unit.
*Action: Increase the specification for file size
temporary TABLESPACE 已创建。
temporary TABLESPACE 已创建。
结论:
表空间最小值大于1M。