qp joins (07) (Thực thi truy vấn trong hệ thống tính toán dữ liệu chuyên sâu) (Tiếng Anh)
Slide bài giảng về thực thi truy vấn trong các hệ thống tính toán dữ liệu chuyên sâu, tập trung vào các toán tử sắp xếp và kết nối.
プレビューを生成中...
Data-Intensive Computing Systems Query Execution (Sort and Join operators) Shivnath Babu Roadmap A simple operator: Nested Loop Join Preliminaries Cost model Clustering Operator classes Operator implementation (with examples from joins) Scan-based Sort-based Using existing indexes Hash-based Buffer Management Parallel Processing Nested Loop Join (NLJ) R1 B a a b d C 10 20 10 30 C 10 40 15 20 D cat dog bat rat NLJ (conceptually) for each r R1 do for each s R2 do if r.C = s.C then output r,s pair R2 Nested Loop Join (contd.) Tuple-based Block-based Asymmetric Implementing Operators Basic algorithm Scan-based (e.g., NLJ) Sort-based Using existing indexes Hash-based (building an index on the fly) Memory management Tradeoff between memory and #IOs Parallel processing Roadmap A simple operator: Nested Loop Join Preliminaries Cost model Clustering Operator classes Operator implementation (with examples from joins) Scan-based Sort-based Using existing indexes Hash-based Buffer Management Parallel Processing Operator Cost Model Simplest: Count # of disk blocks read and written during operator execution Extends to query plans Cost of query plan = Sum of operator costs Caution: Ignoring CPU costs Assumptions Single-processor-single-disk machine Will consider parallelism later Ignore cost of writing out result Output size is independent of operator implementation Ignore # accesses to index blocks Parameters used in Cost Model B(R) = # blocks storing R tuples T(R) = # tuples in R V(R,A) = # distinct values of attr A in R M = # memory blocks available Roadmap A simple operator: Nested Loop Join Preliminaries Cost model Clustering Operator classes Operator implementation (with examples from joins) Scan-based Sort-based Using existing indexes Hash-based Buffer Management Parallel Processing Notions of clustering Clustered file o
… 完全なドキュメントを読むには、元のファイルをダウンロードしてください。
- ドキュメント名
- qp joins (07) (Thực thi truy vấn 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 giới thiệu các toán tử thực thi truy vấn, bắt đầu với Nested Loop Join, sau đó thảo luận về mô hình chi phí, phân cụm, và các phương pháp triển khai toán tử khác nhau như dựa trên quét, sắp xếp, chỉ mục và băm.
- 目次
- Roadmap
- Nested Loop Join (NLJ)
- Nested Loop Join (contd.)
- Implementing Operators
- Roadmap
- Operator Cost Model
- Assumptions
- Parameters used in Cost Model
- Roadmap
- Notions of clustering
- Clustering Index
- Examples
- Operator Classes
- Roadmap
- Implementing Tuple-at-a-time Operators
- Implementing a Full-Relation Operator, Ex: Sort
- Implementing a Full-Relation Operator, Ex: Sort
- Two-phase Sort: Phase 1
- Two-phase Sort: Phase 2
- Analysis of Two-Phase Sort
- ページ数
- 77 ページ
- アップロード者
- Giang Le
よくある質問
このドキュメントは無料ですか?
はい。「qp joins (07) (Thực thi truy vấn trong hệ thống tính toán dữ liệu chuyên sâu) (Tiếng Anh)」は無料です。ログインして「ダウンロード」をクリックするだけで、元のファイルを取得できます。
このドキュメントは何ページありますか?
このドキュメントは 77 ページあります(Big Data コース用)。ダウンロードする前にオンラインでプレビューできます。
ダウンロードする前にプレビューできますか?
はい。このページにあるオンラインリーダーでドキュメントをプレビューし、その後ダウンロードするかどうかを決めることができます。

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