从数据读取数据,后台报如下错误:
java.sql.SQLException: 无法从套接字读取更多的数据
开始从程序找问题,发现如果加载数据,系统就报错;不加载数据,系统正常。于是怀疑问题在数据库上面。
从oracle的日志文件中查看
(日志文件路径: /u01/app/oracle/admin/mydb/bdump)
发现如下错误:
Sun Aug 14 19:52:28 2011
Completed: ALTER DATABASE OPEN
Sun Aug 14 19:54:48 2011
ORA-1652: unable to extend temp segment by 128 in
tablespace FSDBUSER_TEMP_TBS
Sun Aug 14 19:54:49 2011
Errors in file
/u01/app/oracle/admin/mydb/udump/mydb_ora_9542.trc:
ORA-00600: 内部错误代码, 参数: [729], [32], [space leak],
[], [], [], [], []
Sun Aug 14 19:54:49 2011
Errors in file
/u01/app/oracle/admin/mydb/udump/mydb_ora_9542.trc:
ORA-00600: 内部错误代码, 参数: [1234], [], [], [], [], [], [],
[]
ORA-00600: 内部错误代码, 参数: [729], [32], [space leak],
[], [], [], [], []
Sun Aug 14 19:54:52 2011
ORA-1652: unable to extend temp segment by 128 in
tablespace FSDBUSER_TEMP_TBS
Sun Aug 14 19:54:52 2011
Errors in file
/u01/app/oracle/admin/mydb/udump/mydb_ora_9546.trc:
ORA-00600: 内部错误代码, 参数: [729], [36], [space leak],
[], [], [], [], []
Sun Aug 14 19:54:53 2011
Errors in file
/u01/app/oracle/admin/mydb/udump/mydb_ora_9546.trc:
ORA-00600: 内部错误代码, 参数: [1234], [], [], [], [], [], [],
[]
ORA-00600: 内部错误代码, 参数: [729], [36], [space leak],
[], [], [], [], []
Sun Aug 14 19:54:58 2011
ORA-1652: unable to extend temp segment by 128 in
tablespace FSDBUSER_TEMP_TBS
Sun Aug 14 19:54:58 2011
Errors in file
结果发现临时表空间不能自动扩展了。
问题找到了,于是通过如下办法进行解决:
1、新建一个临时表空间
2、将当前用户的临时表空间切换到新建的临时表空间上