database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
ㆍSybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Sybase Q&A 1379 게시물 읽기
No. 1379
에러로그 좀 봐주세요[감사감사]
작성자
배덕한(bdh09)
작성일
2005-12-12 13:22
조회수
5,681

00:00000:00015:2005/12/10 14:38:52.82 server Space available in the log segment has fallen critically low in database 'em613'. All future modifications to this database will be suspended until the log is successfully dumped and space becomes available.
00:00000:00018:2005/12/10 14:38:52.92 server Error: 2812, Severity: 16, State: 5
00:00000:00018:2005/12/10 14:38:52.92 server Stored procedure 'sp_thresholdaction' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).
00:00000:00018:2005/12/10 16:03:55.48 server Error: 1608, Severity: 18, State: 4
00:00000:00018:2005/12/10 16:03:55.48 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.

이 글에 대한 댓글이 총 4건 있습니다.

아래꺼하고 그 밑에밑에 거하고 같은 내용이네요~~

 

좀 찾아 보시지~~

 

 

DML에대한 log를 저장하는 syslogs라는 table은 logsegment에 저장이 되는데요

 

그 영역이 full되었다는 겁니다.

 

 

truncate on checkpoint 옵션이 있으면 use em613해서 checkpoint하심되고요

 

없으면 dump tran em613 with trucate_only하시면 됩니다.

 

 

물론 한 트랜잭션이면 위 와 같이 해도 해결되지 않습니다.

 

 

실제는 지금 은 사용하실수 있습니다. 조금 더쓰다가 Error : 1105가 발생하면 진짜 db가 suspend되지요~~

 

 

수고하세요

지연님이 2005-12-12 17:36에 작성한 댓글입니다. Edit

1>sp_helpdb em613

1>dbcc checktable(syslogs)

해서 사용율 확인해보면 100% full 나질 않았는데도

다음과 같이 메세지가 나오네요.

 

server Space available in the log segment has fallen critically low in database 'em613'. All future modifications to this database will be suspended until the log is successfully dumped and space becomes available

 

Sysbase vesion 은 Adaptive Server Enterprise/12.0.0.7/

어디선가 찾아보니 bug 인것 같기도 하고....

 

배덕한(bdh09)님이 2005-12-12 19:10에 작성한 댓글입니다.

이건 버그가 아닌것 같은데요...버그는 sp_helpdb db_name했을때,

 

log영역이 이상하케 나오는 거로 기억되는데요,

 

하여간 이제 12.0도 예전거라~~

 

 

 

dbcc checktable(syslogs)하시면 몇 %가 free로 나오는 지요?

 

 

지연님이 2005-12-13 09:29에 작성한 댓글입니다. Edit

해당 DB에서

 

1> sp_helpthreshold

2> go

해보세요.

 

아래와 같이 나온다면,

 segment name                   free pages  last chance? threshold procedure                                                                                                                                                                                                                                            
 ------------------------------ ----------- ------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 logsegment                            5528            1 sp_thresholdaction                                                                                                                                                                                                                                             

(1 row affected)

logsegment의 free pages가 5528(11,056 KBytes) 이면 sp_thresholdaction이 수행되도록 설정이 되어 있습니다.

DBA가 해당 DB의 logsegment가 특정 free size에 다다랐을 때 sp_thresholdaction과 같은 프로시저를 생성하여 자동으로 logsegment를 비우도록 할 수 있다는 것입니다.

자세한 내용은 웹 검색이나 Admin 매뉴얼을 참조하시면 될 겁니다.

존넘님이 2005-12-15 09:39에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
1382asiq에서 테이블생성시 remark를 달수 있나요? [2]
김종길
2005-12-14
3805
1381엑세스 권한에 대해서.. 급합니다.. [2]
지니
2005-12-14
4808
1380ASA 보안관련 문의 [1]
초보
2005-12-12
3364
1379에러로그 좀 봐주세요[감사감사] [4]
배덕한
2005-12-12
5681
1378에러좀 봐주세요. [1]
홍상준
2005-12-08
3680
1377프로시져 수행시 에러 [1]
초보사용자
2005-12-07
4104
1376log가 full 찼을 때.. [1]
체리쥬빌레
2005-12-07
4413
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.021초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다