[转帖]ORA-01114错误原因及解决方法(临时表空间坏掉、或者满了)_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2900 | 回复: 1   主题: [转帖]ORA-01114错误原因及解决方法(临时表空间坏掉、或者满了)        上一篇   下一篇 
liuliying930406
注册用户
等级:中校
经验:2027
发帖:210
精华:0
注册:2018-10-9
状态:离线
发送短消息息给liuliying930406 加好友    发送短消息息给liuliying930406 发消息
发表于: IP:您无权察看 2019-9-12 10:35:05 | [全部帖] [楼主帖] 楼主

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

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;




赞(0)    操作        顶端 
联动大白
注册用户
等级:列兵
经验:91
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2019-9-29 0:30:00 | [全部帖] [楼主帖] 2  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: ORA-01114

Title: IO error writing block to file string (block # string)

Description:

IO error writing block to file string (block # string)

Action:

Restore access to the device or remove unnecessary files to free up space.

Cause:

The device on which the file resides is probably offline. If the file is a temporary file, then it is also possible that the device has run out of space. This could happen because disk space of temporary files is not necessarily allocated at file creation time.


Error Id: ORA-27069

Title: attempt to do I/O beyond the range of the file

Description:

attempt to do I/O beyond the range of the file

Action:

check for trace file and contact Oracle Support

Cause:

internal error, the range of blocks being read or written is outside the range of the file, additional information indicates the starting block number, number of blocks in I/O, and the last valid block in the file


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



赞(0)    操作        顶端 
总帖数
2
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论