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.
Vorschau wird generiert...
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
… Laden Sie die Originaldatei herunter, um das vollständige Dokument zu lesen.
- Dokumentenname
- 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)
- Schule / Kurs
- Duke University · Big Data
- Inhalt
- 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.
- Inhaltsverzeichnis
- 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
- Seiten
- 77 Seiten
- Hochgeladen von
- Giang Le
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „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)“ ist kostenlos — melden Sie sich einfach an und klicken Sie auf Herunterladen, um die Originaldatei zu erhalten.
Wie viele Seiten hat dieses Dokument?
Das Dokument hat 77 Seiten, für den Kurs Big Data. Sie können es vor dem Herunterladen online in der Vorschau ansehen.
Kann ich vor dem Herunterladen eine Vorschau ansehen?
Ja. Sie können sich dieses Dokument direkt auf dieser Seite im Online-Reader ansehen und dann entscheiden, ob Sie es herunterladen möchten.

Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!