Home > Database > Mysql Tutorial > body text

Oracle 的ORA-1563错误,因数据文件达到设置的最大值maxsize

WBOY
Release: 2016-06-07 17:04:09
Original
1557 people have browsed it

当一个数据库的数据文件达到表空间的最大值时,报ORA-1653:的错误。如下:ORA-1653: unable to extend table TEST.COMM_DTTR_SVR

当一个数据库的数据文件达到表空间的最大值时,报ORA-1653:的错误。如下:

ORA-1653: unable to extend table TEST.COMM_DTTR_SVR_LOG by64 in                tablespace TEST_SPACE

解决:

可以在该表空间中增加一个数据文件,增加的数据文件为自动扩展,无限扩大。

查看数据文件的大小和最大的值,,可以查询dba_data_files;

Sql>

alter tablespace  TEST_SPACE
adddatafile'/Oracle/oms/oradata/pub/Norm_data001.dbf'
size  10M   autoextend  on  MAXSIZE  UNLIMITED;

或者把该表空间所在的数据文件设置成自动扩张,设置该maxsize更大,unlimited表示没有限制。

SQL>

alter  database
datafile   '/oracle/oms/oradata/pub/Pub_Norm_data001.dbf'
autoextend   on   maxsize    unlimited;

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!