Home > Database > Mysql Tutorial > ORA-01114错误原因及解决方法(临时表空间坏掉、或者满了)

ORA-01114错误原因及解决方法(临时表空间坏掉、或者满了)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:07:07
Original
1899 people have browsed it

ORA-01114错误原因及解决方法(临时表空间坏掉、或者满了)

今天应用服务器后台报一下错误:

java.sql.SQLException: ORA-01114: 将块写入文件 201 时出现 IO 错误 (块 # 1015305)

ORA-27069: skgfdisp: 尝试在文件范围外执行 I/O

OSD-04026: 传递的参数无效。 (OS 1015311)

ORA-01114: 将块写入文件 201 时出现 IO 错误 (块 # 1015305)

ORA-27069: skgfdisp: 尝试在文件范围外执行 I/O

OSD-04026: 传递的参数无效。 (OS 1015311)

在网上找资料说,是数据库临时表空间满了或者坏掉了。

查询临时表空间的大小

select name, bytes/1024/1024 as "大小(M)" from v$tempfile order by bytes;

看到系统中最大数据文件D:\Oracle\ORADATA\TFJS\TEMP.DBF 大小为8G,初步估计是temp表空间无法扩展的原因。

解决办法:

1、查询该用户下的默认临时表空间

select * from database_properties where property_name='DEFAULT_TEMP_TABLESPACE';

2、创建新的临时表空间

create temporary tablespace temp01   tempfile 'D:\ORACLE\ORADATA\TFJS\TEMP01.DBF'

size 1000M autoextend on;

3、修改默认表空间

alter database default temporary tablespace temp01;

linux

Related labels:
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