【问题标题】:Database Connection unresponsive - Sybase数据库连接无响应 - Sybase
【发布时间】:2013-08-21 11:13:17
【问题描述】:

我正在尝试连接到 sybase ASE 15 企业版数据库。最初连接工作正常,但突然页面变得无响应。日志中没有异常,页面上也没有显示任何错误。此外,我注意到只有与特定数据库相关的连接没有响应,其余的都工作得很好。但是,如果我重新启动服务器,一切正常。

我已尝试增加用户连接数并修改系统配置。但结果都是一样的。请帮帮我

【问题讨论】:

    标签: jdbc connection-pooling sap-ase


    【解决方案1】:

    我建议您跟踪会话以获取更多日志信息:

     1- initiate a connection to the database
     2- use the stored procedure'sp_who' to identify the spid of the process of your connection on the server side
     3- set up the trace file for this spid:
     set tracefile 'log_file' for spid
    (follow doc: http://www.sybase.com/files/White_Papers/ASE15-apptrace-070507-wp.pdf
     OR
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00743.1502/html/queryprocessing/BABJDBHJ.htm )
    4- analyze your log file
    

    如果有帮助,请告诉我们。

    【讨论】:

    • 您好文斯,我已经执行了 sp_who,但在结果中找不到任何具有我打算连接的数据库名称的条目。另外,我没有适当的权限来设置跟踪文件。有什么事吗?
    • 也许您可以要求您的数据库管理员按照文档 sybase.com/files/White_Papers/ASE15-apptrace-070507-wp.pdf 中的“5.2-如何跟踪特定登录的会话”部分进行操作
    猜你喜欢
    • 2015-07-08
    • 2013-03-22
    • 1970-01-01
    • 2017-06-12
    • 1970-01-01
    • 2016-06-04
    • 1970-01-01
    • 2011-08-22
    • 2015-09-07
    相关资源
    最近更新 更多