表空间创建信息如上,但是用ALTER DATABASE DATAFILE…RESIZE语句的时候是可以大于MAXBYTES的(MAXBYTES是在AUTOEXTENT ON MAXSIZE设置的),为什么?
如图:
sql>alter database datafile '/u01/oradata/denver/tbs_02.dbf' resize 5M;
sql>select file_name, tablespace_name,autoextensible, bytes, blocks, user_bytes, user_blocks
from dba_data_files
where tablespace_name = 'TBS_01';
解释:
官方文档有说明MAXSIZE Use the MAXSIZE clause to specify the maximum disk space allowed for automatic extension of the datafile.也就是这是对于oracle的自动扩张而设置,而不是对于手动的resize。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29840459/viewspace-1588572/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29840459/viewspace-1588572/