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 2209
» Your transaction (index 4, dba@LoveME|3952) has been unilaterally aborted by the system.큐브리드 로그파일도 같이 넣었어요.. 1 지니 2009.09.08 27879
323 기본적인 JDBC 응용 샘플 TEST에서 2 지니 2009.09.08 13082
322 asc, desc 기능 존재 여부와 sort 속도. 1 아장아장 2009.09.08 14318
321 MS-SQL을 CUBRID로 마이그레이션 하는 방법. 1 후추 2009.09.07 9822
320 자바프로그램 연결 에러 7 지니 2009.09.07 13483
319 varchar의 최대길이가 어떻게 되나요? 2 미스트 2009.09.07 25073
318 사용자 정의 타입 지원이 안되나요? 2 단순미학 2009.09.07 9401
317 큐브리드매니저 2008 R2.0 데이터 올리기 기능 사용시 발생한 오류 12 file 고영진 2009.09.06 15575
316 큐브리드와 powerDNS 연동 1 aliveJune 2009.09.04 12118
315 CUBRID 최초 설치하고 실행시 오류 2 완초 2009.09.03 10232
314 백업 파일 복구에 대하여 질문 드립니다. 2 김우람 2009.09.01 9415
313 ODBC 에서 Fetch 할때 메모리 액세스 위반이 발생합니다. 1 ApiClasser 2009.09.01 12590
312 단독 어플리케이션에 맞는 설정법은? 4 제롬 2009.08.28 9014
311 OLE 접속 테스트가 안되네요.ㅜ.ㅜ 도와주십셔서오요~ 2 file 해커킬러 2009.08.28 9045
310 설치시... 2008 R2, Ubuntu 9.04-server 5 추추 2009.08.28 9166
309 mysql 에서 TRUNCATE 구문과 비슷하게 하는 방법좀 갈켜주세요. 1 삐따기 2009.08.27 15162
308 cubrid_broker.conf의 파라미터를조정법 1 짱똘 2009.08.27 8894
307 CUBRID-6.5.1.1004-sparc-Solaris7.sh 세팅 관련 질문입니다. 2 ooki 2009.08.27 9233
306 cubrid server start demodb 에러 2 penny 2009.08.27 12728
305 app interface 에 관해서 1 hellower 2009.08.27 8536
Board Pagination Prev 1 ... 165 166 167 168 169 170 171 172 173 174 ... 186 Next
/ 186

Contact Cubrid

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