执行一个比较复杂的查询,报如下错误:
ORA-01114: 将块写入文件 %s 时出现 IO 错误 (块 # %s)
ORA-01114 IO error writing block to file string (block # string)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.Action: Restore access to the device or remove unnecessary files to free up space.查看了一下,系统的临时表空间才用了6%,而且是online状态的。希望大家帮助我呀!非常感谢。

解决方案 »

  1.   

    http://blog.chinaunix.net/u/21848/showart_213390.html
    你参考下
      

  2.   

    增大没有用呀,执行sql时,表空间才用了6%呀,说明不是表空间的大小问题吧
      

  3.   

     If the file is a temporary file, then it is also possible that the device has run out of space如果是临时表空间,去查相关的空间大小。先确认一下你硬盘是否还有可用空间吧。
      

  4.   


    关键是temporary不够用了呀.重建temporary tablespace试试.
      

  5.   

    你试着把temporary tablespace删掉重建, 看看还有没这个问题.
      

  6.   

    查看你的临时表空间可能已经满了,可以增大临时表空间大小或者收缩临时表空间大小
    例如:增加表空间脚本,供参考
    ALTER DATABASE TEMPFILE '%ORADATADIR%\NETMAXU\TEMP01.DBF' AUTOEXTEND ON NEXT 1G MAXSIZE UNLIMITED;