查询 Oracle 多维数据集时出现 java.sql.SqlRecoverableException
当我尝试从 Java 程序查询多维数据集(基于 Oracle Olap 11gr2)时,出现以下错误 java.sql.SqlRecoverableException:没有更多数据可从套接字读取。
此错误有时会发生,有时不会发生。
我们观察到,如果许多人同时尝试查询多维数据集,就会出现错误。
这是一个错误还是有解决方案或方法来处理这种情况
I get the following error when I try to query a cube (based on Oracle Olap 11gr2) from a Java program
java.sql.SqlRecoverableException: no more data to read from the socket.
This error occurs sometimes and sometimes it does not occur.
We observed that if many people simultaneously try to query the cube the error crops up.
Is this a bug or is there a solution or a method to deal with this sort of situation
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您要么遇到错误,要么达到服务器资源限制。
从技术上讲,原因是 Oracle 在没有“告诉”您的情况下终止了您的连接。每当您的客户端想要继续使用连接时,就会失败并显示上述消息。
通常 Oracle 会在关闭连接之前写入故障转储。询问您的 DBA 在您的服务器的警报日志中是否有匹配的条目。您可以通过
SELECT * FROM V$DIAG_INFO;
查询警报日志配置并使用
V$DIAG_ALERT_EXT
查询警报日志本身,请参阅Oracle 警报日志文档 和 Don Burleson 关于警报日志的博客
You are either experiencing a bug or you are reaching your servers resource limits.
Technically the reason is Oracle ending your connection without "telling" you. Whenever your client want to go on using the connection, this fails with above message.
Normally Oracle will write a crash dump before closing down your connection. Ask your DBA if you have a matching entry in the alert log of your Server. You can query the alert log configuration with
SELECT * FROM V$DIAG_INFO;
and query the alert log itself by using
V$DIAG_ALERT_EXT
See Oracle Documentation for alert logs and Don Burleson's Blog on Alert Logs