11.07.2015 Views

DB2 9 vs Oracle 10g Admin. Technology - IBM

DB2 9 vs Oracle 10g Admin. Technology - IBM

DB2 9 vs Oracle 10g Admin. Technology - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DB2</strong> Information ManagementMVRC 와 ANSI 분리 레벨<strong>DB2</strong> 분리 레벨• <strong>DB2</strong>는 ANSI 표준 분리 레벨을 사용• RR – 모든 참조되는 행을 잠금• RS - 모든 검색된 행에 대해 잠금• CS – 현재 처리되고 있는 행에 대해서만 잠금• UR – 어떤 행도 잠그지 않음• 현재의 확약된 데이터만을 읽도록 트랜잭션을 나열하는 게 기본• UR 분리 레벨은 Dirty Read를 허용하여, Reader가 Writer를 기다리지 않게 함• <strong>DB2</strong>는 Undo(rollback) 오버헤드를 가지지 않음• <strong>DB2</strong>는 행 수준 잠금은 진정한 행 수준 잠금이며, 메모리에 저장• <strong>Oracle</strong>의 SCN은 물리 데이터 블록의 헤더에 저장• <strong>Oracle</strong>의 SCN은 동일한 페이지의 행을 필요로 하는 다른 트랜잭션에 의해 변경될 수 있음.• 자주 commit을 하지 않도록 짜여진 <strong>Oracle</strong>응용프로그램을 <strong>DB2</strong>로 전환 시에는 많은 Locking을유발하게 됨. 그러나 반대로,• 자주 commit을 하도록 짜여진 <strong>DB2</strong> 응용프로그램을 <strong>Oracle</strong>에 전환 시에는 많은 ORA-01555 에러가발생될 수 있다MVRC가 벤치마크에서 어떻게 사용되었는가?• TPC-H (warehousing), SAP, PeopleSoft, Baan (OLTP) 테스트에서 <strong>DB2</strong> 가선두!• TPC-C테스트에서, ORACLE은ƒ MVRC와 ORA-01555의 에러핸들링을Skip하며 코딩했는가?ƒ 왜 결과를 얻기 위해 serializable 분리 레벨을 사용했는가?ƒ 그럼에도 불구하고 왜 여전히 <strong>DB2</strong>에 비해 처리량이 낮은가?<strong>DB2</strong> 9 <strong>vs</strong> <strong>Oracle</strong> <strong>10g</strong>© 2008 <strong>IBM</strong> Corporation 99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!