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
- 形式
- PPT
- サイズ
- 334 KB
- Trường
- Duke University
- 閲覧数
- 0
- コメント
- 0
- Lượt tải
- 0
プレビューを生成中...
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.
- ドキュメント名
- 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 ページ
- アップロード者
- Uni24h
説明
Trích nội dung tài liệu
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)」は無料です。ログインして「ダウンロード」をクリックするだけで、元のファイルを取得できます。
このドキュメントは何ページありますか?
このドキュメントは 62 ページあります(Big Data コース用)。ダウンロードする前にオンラインでプレビューできます。
ダウンロードする前にプレビューできますか?
はい。このページにあるオンラインリーダーでドキュメントをプレビューし、その後ダウンロードするかどうかを決めることができます。
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)
プレビューを生成中...
Trích nội dung tài liệu
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 ページ
- アップロード者
- Uni24h
コメント (0)
まだコメントはありません。最初のコメントを書きましょう!
Stream (11) (Xử lý luồng dữ liệu) - Julian M. Kunkel
Krone (09) (Sự phát triển của dữ liệu) (Tiếng Anh)
Parallel mf (09) (Thuật toán phân tán phân tích ma trận dữ liệu lớn)
Big Data Analytics - Phân tích dữ liệu lớn (Lecture 5)
NoSQL db (06) (Cơ sở dữ liệu NoSQL)
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang

コメント (0)
まだコメントはありません。最初のコメントを書きましょう!