2013-08-21 53 views
0

我試圖連接到sybase ASE 15企業版數據庫。最初連接工作正常,但突然間頁面變得無響應。日誌中沒有例外,也沒有任何錯誤顯示在頁面上。另外我也注意到只有與某個特定數據庫相關的連接沒有響應,並且剩下的都工作得很好。但是,如果我重新啓動服務器,一切工作正常。數據庫連接無響應 - Sybase

我試圖增加用戶連接數和修改的系統配置。但結果都是一樣的。請幫我出

回答

0

我建議你跟蹤會話以獲得更多的日誌信息:

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 

讓我們知道,如果它幫助。

+0

你好文斯, 我已經執行sp_who,並找不到任何條目的結果中有我想連接的數據庫的名稱。另外,我沒有適當的權限來設置跟蹤文件。有什麼不妥? –

+0

也許您可以要求您的數據庫管理員遵循文檔http://www.sybase.com/files/White_Papers/ASE15-apptrace-070507-wp.pdf中的「5.2 - 如何跟蹤特定登錄的會話」一節 – Vince

相關問題