Background Image

FORUM

?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
DB에서 이런 에러메세지를 넘겨주네요
Your transaction (index 4, dba@LoveME|3952) has been unilaterally aborted by the system.

아무래도 락으로 인해서 그런거 같은데 왜이런거져?

그리고 큐브리드에서도 ROWLOCK기능이 있나요? 


broker1_2.sql.log

09/08 13:45:24.359 (0) CAS STARTED pid 3520
09/08 13:47:58.859 (0) CLIENT IP 127.0.0.1
09/08 13:47:58.859 (0) connect db demodb user dba url 
09/08 13:47:58.859 (0) DEFAULT isolation_level 3, lock_timeout -1, auto_commit false
09/08 13:47:58.859 (0) get_version
09/08 13:47:58.859 (0) auto_commit
09/08 13:47:58.859 (0) auto_commit 0
*** 0.000

09/08 13:47:58.859 (0) check_cas 0
09/08 13:47:58.859 (0) set_db_parameter isolation_level 2
09/08 13:47:58.859 (0) check_cas 0
09/08 13:47:58.859 (0) get_version
09/08 13:47:59.515 (0) end_tran COMMIT
09/08 13:47:59.515 (0) end_tran 0 time 0.000
*** 0.656

09/08 13:47:59.515 (1) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:47:59.515 (1) prepare srv_h_id 1
09/08 13:48:08.500 (1) execute srv_h_id 1 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:48:08.500 (1) bind 1 : VARCHAR 2009-09-08 13:48:02
09/08 13:48:08.500 (1) bind 2 : VARCHAR 6
09/08 13:48:08.500 (1) bind 3 : VARCHAR 개량형
09/08 13:48:08.500 (1) bind 4 : VARCHAR 1
09/08 13:48:08.531 (1) execute error:-72 tuple 0 time 0.031, EID = 1
09/08 13:48:08.531 (0) end_tran ROLLBACK
09/08 13:48:08.531 (0) end_tran 0 time 0.000
*** 9.016

09/08 13:48:08.531 (1) close_req_handle srv_h_id 1
09/08 13:48:08.546 (0) check_cas 0
09/08 13:48:08.546 (0) con_close
09/08 13:48:08.546 (0) disconnect

09/08 13:48:08.546 (0) STATE idle
09/08 13:48:08.546 (0) END OF LOG

09/08 13:48:28.562 (0) CLIENT IP 127.0.0.1
09/08 13:48:28.578 (0) connect db demodb user dba url 
09/08 13:48:28.578 (0) DEFAULT isolation_level 3, lock_timeout -1, auto_commit false
09/08 13:48:28.578 (0) get_version
09/08 13:48:28.578 (0) auto_commit
09/08 13:48:28.578 (0) auto_commit 0
*** 0.000

09/08 13:48:28.578 (0) check_cas 0
09/08 13:48:28.578 (0) set_db_parameter isolation_level 2
09/08 13:48:28.578 (0) check_cas 0
09/08 13:48:28.578 (0) get_version
09/08 13:48:28.750 (0) end_tran COMMIT
09/08 13:48:28.750 (0) end_tran 0 time 0.000
*** 0.172

09/08 13:48:28.750 (2) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:48:28.750 (2) prepare srv_h_id 1 (PC)
09/08 13:48:28.937 (2) execute srv_h_id 1 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=?
09/08 13:48:28.937 (2) bind 1 : VARCHAR 2009-09-08 13:48:02
09/08 13:48:28.937 (2) bind 2 : VARCHAR 6
09/08 13:48:28.937 (2) bind 3 : VARCHAR 개량형
09/08 13:48:28.937 (2) bind 4 : VARCHAR 1
09/08 13:48:28.937 (2) execute 0 tuple 1 time 0.000
09/08 13:48:28.937 (0) end_tran COMMIT
09/08 13:48:28.937 (0) end_tran 0 time 0.000
*** 0.187

09/08 13:48:28.937 (2) close_req_handle srv_h_id 1
09/08 13:48:28.937 (3) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:48:28.937 (3) prepare srv_h_id 1 (PC)
09/08 13:48:58.953 (3) close_req_handle srv_h_id 1
09/08 13:48:58.953 (0) end_tran COMMIT
09/08 13:48:58.953 (0) end_tran 0 time 0.000
*** 30.016

09/08 13:48:58.953 (4) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:48:58.953 (4) prepare srv_h_id 1 (PC)
09/08 13:49:28.953 (4) close_req_handle srv_h_id 1
09/08 13:49:28.953 (0) end_tran COMMIT
09/08 13:49:28.953 (0) end_tran 0 time 0.000
*** 30.000

09/08 13:49:28.953 (5) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=?
09/08 13:49:28.953 (5) prepare srv_h_id 1 (PC)
09/08 13:49:58.953 (5) close_req_handle srv_h_id 1
09/08 13:49:58.953 (0) end_tran COMMIT
09/08 13:49:58.953 (0) end_tran 0 time 0.000
*** 30.000

09/08 13:49:58.953 (6) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=?
09/08 13:49:58.953 (6) prepare srv_h_id 1 (PC)
09/08 13:50:28.953 (6) close_req_handle srv_h_id 1
09/08 13:50:28.953 (0) end_tran COMMIT
09/08 13:50:28.953 (0) end_tran 0 time 0.000
*** 30.000

09/08 13:50:28.953 (7) prepare 0 UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:50:28.953 (7) prepare srv_h_id 1 (PC)
09/08 13:50:45.828 (0) COMMUNICATION ERROR net_read_header()
09/08 13:50:45.843 (0) disconnect

09/08 13:50:45.843 (0) STATE idle
09/08 13:50:45.843 (0) END OF LOG



broker1_1.sql.log
09/08 13:47:58.828 (0) CLIENT IP 127.0.0.1
09/08 13:47:58.828 (0) connect db demodb user dba url 
09/08 13:47:58.828 (0) DEFAULT isolation_level 3, lock_timeout -1, auto_commit false
09/08 13:47:58.828 (0) get_version
09/08 13:47:58.828 (0) auto_commit
09/08 13:47:58.828 (0) auto_commit 0
*** 0.000
UPDATE TB_Char SET ReportTime = sys_timestamp, ADDTime=?, SetCount=?, Memo=? WHERE Code=? 
09/08 13:47:58.828 (0) check_cas 0
09/08 13:47:58.828 (0) set_db_parameter isolation_level 2
09/08 13:47:58.843 (0) check_cas 0
09/08 13:47:58.843 (0) get_version
09/08 13:47:59.390 (1) prepare 0 SELECT Code, TO_CHAR(ReportTime ,'YYYY-MM-DD HH24:MI:SS') AS ReportTime FROM TB_Char WHERE SetCount=0 AND ReportTime <= sys_timestamp AND ROWNUM <= 50
09/08 13:47:59.453 (1) prepare srv_h_id 1
09/08 13:47:59.468 (2) prepare 0 UPDATE TB_Char SET CkeckDT = sys_timestamp, SetCount=1 WHERE Code=?
09/08 13:47:59.468 (2) prepare srv_h_id 2
09/08 13:47:59.468 (1) execute srv_h_id 1 SELECT Code, TO_CHAR(ReportTime ,'YYYY-MM-DD HH24:MI:SS') AS ReportTime FROM TB_Char WHERE SetCount=0 AND ReportTime <= sys_timestamp AND ROWNUM <= 50
09/08 13:47:59.468 (1) execute 0 tuple 1 time 0.000
09/08 13:47:59.531 (2) execute srv_h_id 2 UPDATE TB_Char SET CkeckDT = sys_timestamp, SetCount=1 WHERE Code=?
09/08 13:47:59.531 (2) bind 1 : VARCHAR 1
09/08 13:48:08.531 (2) execute 0 tuple 1 time 9.000
09/08 13:48:08.531 (0) end_tran COMMIT
09/08 13:48:08.531 (0) end_tran 0 time 0.000
*** 9.703

09/08 13:48:08.546 (2) close_req_handle srv_h_id 2
09/08 13:48:08.546 (1) close_req_handle srv_h_id 1
09/08 13:48:08.546 (3) prepare 0 SELECT Code, TO_CHAR(ReportTime ,'YYYY-MM-DD HH24:MI:SS') AS ReportTime FROM TB_Char WHERE SetCount=0 AND ReportTime <= sys_timestamp AND ROWNUM <= 50
09/08 13:48:08.546 (3) prepare srv_h_id 1 (PC)
09/08 13:48:08.546 (4) prepare 0 UPDATE TB_Char SET CkeckDT = sys_timestamp, SetCount=1 WHERE Code=?
09/08 13:48:08.546 (4) prepare srv_h_id 2 (PC)
09/08 13:48:08.546 (3) execute srv_h_id 1 SELECT Code, TO_CHAR(ReportTime ,'YYYY-MM-DD HH24:MI:SS') AS ReportTime FROM TB_Char WHERE SetCount=0 AND ReportTime <= sys_timestamp AND ROWNUM <= 50
09/08 13:48:08.546 (3) execute 0 tuple 0 time 0.000
09/08 13:48:08.546 (0) end_tran COMMIT
09/08 13:48:08.546 (0) end_tran 0 time 0.000


09/08 13:45:23.890 (0) CAS STARTED pid 3600
09/08 13:46:37.812 (0) CLIENT IP 127.0.0.1
09/08 13:46:37.828 (0) connect db demodb user dba url jdbc:cubrid:localhost:30000:demodb:dba::
09/08 13:46:37.828 (0) DEFAULT isolation_level 3, lock_timeout -1, auto_commit false
09/08 13:46:37.828 (0) get_version
09/08 13:46:37.828 (0) auto_commit
09/08 13:46:37.828 (0) auto_commit 0
*** 0.000

09/08 13:47:27.812 (0) check_cas 0
09/08 13:47:27.812 (0) get_db_parameter isolation_level
09/08 13:47:27.812 (1) prepare 0 insert into TB_Char (Code, User, Title)  values(1, '일반고객','식료품011203');
09/08 13:47:27.812 (1) prepare srv_h_id 1
09/08 13:47:27.812 (1) execute srv_h_id 1 insert into TB_Char (Code, User, Title)  values(1, '일반고객','식료품011203');
09/08 13:47:27.812 (1) execute error:-494 tuple 0 time 0.000, EID = 2
09/08 13:47:27.812 (0) auto_rollback
09/08 13:47:27.812 (0) auto_rollback 0
*** 0.000

09/08 13:47:35.859 (0) check_cas 0
09/08 13:47:35.859 (0) get_db_parameter isolation_level
09/08 13:47:35.859 (0) close_req_handle srv_h_id 1
09/08 13:47:35.859 (2) prepare 0 insert into TB_Char (Code, User, Title)  values(1, '일반고객','식료품011203');
09/08 13:47:35.859 (2) prepare srv_h_id 1
09/08 13:47:35.859 (2) execute srv_h_id 1 insert into TB_Char (Code, User, Title)  values(1, '일반고객','식료품011203');
09/08 13:47:35.859 (2) execute 0 tuple 1 time 0.000
09/08 13:47:35.859 (0) auto_commit
09/08 13:47:35.859 (0) auto_commit 0
*** 0.000

  • ?
    seongjoon 2009.09.09 03:55
    CUBRID도 rowlock 기능이 있습니다.
    그리고 오류는 deadlock으로 인해서 발생된 것이므로 응용단에서 deadlock이 생길만한 부분을 찾아서 수정하시면 될듯 싶습니다.

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 1264
348 큐브리드매니저에서 NULL값과 문자속성의 빈값을 구분하여 표시 필요 2 file 고영진 2009.09.23 14471
347 큐브리드2008R2.0 설치 후 매니저에서 로그인시 발생하는 오류 2 file 고영진 2009.09.23 10090
346 한글 깨짐 1 짱똘 2009.09.23 16735
345 Exception in thread "Thread-10" java.lang.NullPointerException 1 김동진81 2009.09.23 19664
344 cubrid manager 질의기능 중,,,, 3 라솔 2009.09.22 8822
343 php모듈 인식문제.. 3 호짱 2009.09.22 9057
342 HA,64bit가 적용된 R2.0 에 대한 질문입니다. 2 웃음이 2009.09.19 18639
341 질의 편집기로 부질의 유도테이블 쿼리실행에 대해 2 Chans 2009.09.17 10478
340 broker 접속 오류 1 단순미학 2009.09.16 11181
339 기본값 설정 문의 3 칸의후계자 2009.09.16 10221
338 jdbc 연결시 지속적으로 뜨는 exception. 1 김동진81 2009.09.15 10106
337 큐브리드 Windows 설치 파일에 관하여.. 2 StoneHouse 2009.09.15 9234
336 명령줄로 DB시작하는 방법은 없나요? 1 하두고 2009.09.14 9783
335 테이블 생성이 안되네요..;; 1 미야프 2009.09.14 9635
334 큐브리드2008의 DB로드/언로드 기능으로 마이그레이션 방법 문의 12 file 고영진 2009.09.11 10831
333 큐브리드2008(윈도우용) 설치 완료시 재부팅 여부 확인 과정 필요 6 file 고영진 2009.09.11 12486
332 CentOS 5.3 64bit, cubird 2008 r2.0 설치오류문제 2 비타500 2009.09.10 10659
331 큐브리드 2.0설치 XE 한글데이터값이 이상 3 나루토 2009.09.10 9137
330 PHP 로 큐브리드 사용중에 commit 부분이 안먹는거 같은데 도움좀 요청해요 ㅠ 2 addbasic 2009.09.10 8187
329 외래키 등록 오류 5 단순미학 2009.09.10 9800
Board Pagination Prev 1 ... 151 152 153 154 155 156 157 158 159 160 ... 173 Next
/ 173

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2147 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales