Your transaction (index 4, dba@LoveME|3952) has been unilaterally aborted by the system.큐브리드 로그파일도 같이 넣었어요..

by 지니 posted Sep 08, 2009
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


Articles