Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Cơ sở dữ liệu
Database System: Chapter 10 - Query Processing and Optimization
Đang chuẩn bị liên kết để tải về tài liệu:
Database System: Chapter 10 - Query Processing and Optimization
Nguyên Ðan
73
28
ppt
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Database System: Chapter 10 - Query Processing and Optimization Introduction to Query Processing, Translating SQL Queries into Relational Algebra, Translating SQL Queries into Relational Algebra, Using Selectivity and Cost Estimates in Query Optimization, Overview of Query Optimization in Oracle. | Chapter 10 Query Processing and Optimization Copyright © 2004 Pearson Education, Inc. 5/14/2020 4:10:15 AM Outline Introduction to Query Processing Translating SQL Queries into Relational Algebra Using Heuristics in Query Optimization Using Selectivity and Cost Estimates in Query Optimization Overview of Query Optimization in Oracle Slide 10 - Query optimization: the process of choosing a suitable execution strategy for processing a query. Two internal representations of a query Query Tree Query Graph Introduction to Query Processing (1) Slide 10 - Introduction to Query Processing (2) Slide 10 - Translating SQL Queries into Relational Algebra (1) Query block: the basic unit that can be translated into the algebraic operators and optimized. A query block contains a single SELECT-FROM-WHERE expression, as well as GROUP BY and HAVING clause if these are part of the block. Nested queries within a query are identified as separate query blocks. Aggregate operators in SQL . | Chapter 10 Query Processing and Optimization Copyright © 2004 Pearson Education, Inc. 5/14/2020 5:23:42 AM Outline Introduction to Query Processing Translating SQL Queries into Relational Algebra Using Heuristics in Query Optimization Using Selectivity and Cost Estimates in Query Optimization Overview of Query Optimization in Oracle Slide 10 - Query optimization: the process of choosing a suitable execution strategy for processing a query. Two internal representations of a query Query Tree Query Graph Introduction to Query Processing (1) Slide 10 - Introduction to Query Processing (2) Slide 10 - Translating SQL Queries into Relational Algebra (1) Query block: the basic unit that can be translated into the algebraic operators and optimized. A query block contains a single SELECT-FROM-WHERE expression, as well as GROUP BY and HAVING clause if these are part of the block. Nested queries within a query are identified as separate query blocks. Aggregate operators in SQL must be included in the extended algebra. Slide 10 - Translating SQL Queries into Relational Algebra (2) SELECT LNAME, FNAME FROM EMPLOYEE WHERE SALARY > ( SELECT MAX (SALARY) FROM EMPLOYEE WHERE DNO = 5); SELECT MAX (SALARY) FROM EMPLOYEE WHERE DNO = 5 SELECT LNAME, FNAME FROM EMPLOYEE WHERE SALARY > C πLNAME, FNAME (σSALARY>C(EMPLOYEE)) ℱMAX SALARY (σDNO=5 (EMPLOYEE)) Slide 10 - Using Heuristics in Query Optimization(1) Process for heuristics optimization The parser of a high-level query generates an initial internal representation; Apply heuristics rules to optimize the internal representation. A query execution plan is generated to execute groups of operations based on the access paths available on the files involved in the query. The main heuristic is to apply first the operations that reduce the size of intermediate results. E.g., Apply SELECT and PROJECT operations before applying the JOIN or other binary operations. Slide 10 - Using Heuristics in Query Optimization .
TÀI LIỆU LIÊN QUAN
Lecture Database system concepts - Chapter 20: Database system architectures
Lecture Database system concepts - Chapter 7: Relational database design
Lecture Database Systems - Chapter 1: Database System Concepts and Architecture (Nguyen Thanh Tung)
Lecture Database system concepts - Chapter 17: Recovery system
Lecture Database system concepts (6/e): Chapter 8 - Silberschatz, Korth, Sudarshan
Lecture Database system concepts (5/e): Chapter 7 - Silberschatz, Korth, Sudarshan
Lecture Database system concepts - Chapter 14: Query optimization
Lecture Database system concepts - Chapter 15: Transactions
Lecture Database system concepts - Chapter 16: Concurrency control
Lecture Database system concepts - Chapter 18: Data analysis and mining
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.