oracle_ORA-27092: size of file exceeds file size limit
(2013-09-04 18:16:14)
标签:
filesizelimitoraclehacmpit |
分类: oraerror |
新系统创建表空间时报错如下:
CREATE TABLESPACE KPI_DATA DATAFILE
ORA-01119: error in creating database file '/oraprod/oradata/KPIPROD/kpi_data.dbf'
ORA-27039: create file failed, file size limit reached
Additional information: 1
没有设置ORACLE用户的limits
修改 /etc/security/limits
oracle:
或者使用smitty chuser 修改相应 limits
time(seconds)
file(blocks)
data(kbytes)
stack(kbytes)
memory(kbytes)
coredump(blocks)
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user)
P740A:oracle:/home/oracle$exit
# su - oracle
P740A:oracle:/home/oracle$ulimit -a
time(seconds)
file(blocks)
data(kbytes)
stack(kbytes)
memory(kbytes)
coredump(blocks)
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user)
修改成功后,再次创建,还是报错。
P740A:oracle:/home/oracle$sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 4 16:51:57 2013
Copyright (c) 1982, 2011, Oracle.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
*
ERROR at line 1:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/oraprod/oradata/KPIPROD/kpi_data.dbf'
DDE rules only execution for: ORA 1110
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/oraprod/oradata/KPIPROD/kpi_data.dbf01'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071 (xxxxx)
Additional information: 393217 (yyyyy)
where xxxxx is the filesize limit, and yyyyy is the datafile size (both in Oracle blocks).
决定重启系统shutdown -Fr
重启后创建成功。