Failure recovery (15) (Khôi phục lỗi trong hệ thống tính toán dữ liệu chuyên sâu) (Tiếng Anh)
Tài liệu trình bày về khôi phục lỗi (failure recovery) trong hệ thống tính toán dữ liệu chuyên sâu, bao gồm các ràng buộc nhất quán, giao dịch và phương pháp ghi nhật ký hoàn tác.
미리보기 생성 중...
CPS216: Data-intensive Computing Systems Failure Recovery Shivnath Babu 1 Integrity or correctness of data Would like data to be “accurate” or “correct” at all times EMP Name Age White 52 Green 3421 Blue 1 2 Integrity or consistency constraints Predicates data must satisfy Examples: x is key of relation R x → y holds in R (functional dependency) Domain(x) = {Red, Blue, Green} a is valid index for attribute x of R no employee should make more than twice the average salary 3 Definition: Consistent state: satisfies all constraints Consistent DB: DB in consistent state 4 Constraints (as we use here) may not capture “full correctness” Example 1 Transaction constraints When salary is updated, new salary > old salary When account record is deleted, balance = 0 5 Note: could be “emulated” by simple constraints, e.g., account Acct # …. balance deleted? 6 Constraints (as we use here) may not capture “full correctness” Example 2 DB Database should reflect real world Reality 7 in any case, continue with constraints... Observation: DB cannot be consistent always! Example: a1 + a2 +…. an = TOT (constraint) Deposit $100 in a2: a2 a2 + 100 TOT TOT + 100 8 Example: a1 + a2 +…. an = TOT (constraint) Deposit $100 in a2: a2 a2 + 100 TOT TOT + 100 a2 TOT . . 50 . . 1000 . . 150 . . 1000 . . 150 . . 1100 9 Transaction: collection of actions that preserve consistency Consistent DB T Consistent DB’ 10 Assumption: If T starts with DB in consistent state + T executes in isolation T leaves DB in consistent state 11 Correctness (informally) If we stop running transactions, DB left consistent Each transaction sees a consistent DB 12 How can constraints be violated? Transaction bug DBMS bug Hardware failure e.g., disk crash alters balance of account Data sharing e.g.: T1: give 10% raise to programmers T2: change programmers systems analysts 13 How can we prevent/fix violations? Due to failure
… 전체 문서를 읽으려면 원본 파일을 다운로드하세요.
- 문서명
- Failure recovery (15) (Khôi phục lỗi trong hệ thống tính toán dữ liệu chuyên sâu) (Tiếng Anh)
- 학교 / 강의
- Duke University · Big Data
- 내용
- Tài liệu này trình bày các khái niệm cốt lõi về tính toàn vẹn dữ liệu, các loại ràng buộc, mô hình lỗi hệ thống và các kỹ thuật phục hồi lỗi, đặc biệt là trong bối cảnh các giao dịch và tính nguyên tử, sử dụng phương pháp ghi nhật ký.
- 목차
- Integrity or correctness of data
- Integrity or consistency constraints
- Definition: Consistent state
- Constraints (as we use here) may not capture “full correctness”
- Observation: DB cannot be consistent always!
- Transaction: collection of actions that preserve consistency
- Assumption: If T starts with DB in consistent state + T executes in isolation
- Correctness (informally)
- How can constraints be violated?
- How can we prevent/fix violations?
- Will not consider:
- Recovery
- Events
- Our failure model
- Undesired expected events:
- Undesired Unexpected:
- Is this model reasonable?
- Storage hierarchy
- Operations:
- Key problem Unfinished transaction
- Need atomicity: execute all actions of a transaction or none at all
- One solution: undo logging (immediate modification)
- Undo logging (Immediate modification)
- One “complication”
- 페이지 수
- 62 페이지
- 업로더
- Giang Le
자주 묻는 질문
이 문서는 무료인가요?
네. “Failure recovery (15) (Khôi phục lỗi trong hệ thống tính toán dữ liệu chuyên sâu) (Tiếng Anh)” 문서는 무료입니다. 로그인 후 '다운로드'를 클릭하여 원본 파일을 받으세요.
이 문서는 몇 페이지로 되어 있나요?
이 문서는 62페이지입니다, Big Data 과정용. 다운로드하기 전에 온라인으로 미리 볼 수 있습니다.
다운로드하기 전에 미리 볼 수 있나요?
네. 이 페이지의 온라인 리더를 통해 문서를 미리 본 후 다운로드 여부를 결정할 수 있습니다.

댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!