Thông tin tài liệu
Trường đại học Bách khoa TP Hồ Chí Minh Khoa khoa học kỹ thuật máy tính Self-tuning database systems Master of Computer Science 2015 - Semester 1, 2015-2016 Advanced Database Systems Nhóm 1570212-Trần Vinh Khải 7140239-Đinh Kim Quốc Khải 1570214-Nguyễn Văn Kiên Nội dung trình bày • Tổng quan báo • Thiết kế sở liệu vật lý • Self-tuning Tổng quan báo • Tiến self-tuning database (1997 – 2007) • Các vấn đề trình phát triển cách giải • Tập trung vấn đề tự động thiết kế CSDL vật lý Thiết kế CSDL vật lý • Công cụ thiết kế CSDL vật lý (bài báo 1997) hỗ trợ lựa chọn index • Kiến trúc phân tích “What – if” • Material view • Partitioning Tiến thiết kế CSDL vật lý • Cải tiến kiến trúc “What – if” • Thiết kế CSDL vật lý phụ thuộc nhiều vào DBA cần có phương pháp hỗ trợ DBA Tiến thiết kế CSDL vật lý Offline Tuning Tuning Workload Off-line Index Advisor Recommended DBA Indexes +DBA controls Create/Drop Indexes What-if index maintenance Optimizer User Actual Workload Database Server in advance - DBA must know the workload - Limited support for interactive tuning Alerter • Khi workload thay đổi ảnh hưởng đến hiệu suất • Alerter hỗ trợ DBA định gọi physical design tool thực thi • Dựa chế lightweight Thực Alerter • Cảnh báo khi: • Có cách hội thực tối ưu • Ghi nhận yêu cầu index theo kế hoạch định trước optimizer Workload as a Sequence • Giả sử workload tập hợp thao tác cải thiện hiệu suất • Ví dụ: On-line Tuning On-line Index Advisor User DBA +Create/Drop Tuning is Indexes What-if based on actual Optimizer workload - DBA is out of theDatabase loop Server Actual Workload - Performance can become unpredictable 10 Xử lý Large Workload • Cần dùng công cụ Tracing giúp xác định workload • Để giảm tải Tracing: • Workload lớn => Nén workload nặng • Chia nhỏ workload dựa đặc điểm câu truy vấn • Thực tính toán chi phí cấu trúc câu truy vấn • Workload sau nén phải có kết thực thi xấp xỉ workload ban đầu 11 CSDL thương mại • Điều chỉnh thiết kế vật lý trực tiếp Production Server gây “non-trivial load” • Sử dụng Test Server • Điều chỉnh thiết kế vật lý trực tiếp Test Server áp dụng kết cho Production Server Tiến self-tuning • Statistics management • Selection of Statistic • Self tuning histogram • Monitoring infrastructure 13 14 Tiến self-tuning • Statistics management • Selection of Statistic • Self tuning histogram • Monitoring infrastructure • Query Progress Estimation • Ad-hoc Monitoring and Diagnostics 15 Công cụ tuning DBMS thương mại • SQL Server: • Index Tuning Wizard (index view, material view, indexed index view) • Database Tuning Advisor (+ horizontal range partitioning) • IBM's DB2:DB2 Design Advisor ( independent advisor for each design structure) • Oracle 10g: SQL Access Advisor + Oracle Automatic Tuning Advisor (index view, material view – all workload) Câu hỏi 1) số tiến thiết kế sở vật lý: a) b) c) d) What-if index Alerter Workload as Sequence Statistics management 2) số tiến self-tuning: e) f) g) h) Monitor infrastructure What-if index Workload as Sequence Statistics management Thank you for listening [...]... Tiến bộ trong self- tuning • Statistics management • Selection of Statistic • Self tuning histogram • Monitoring infrastructure 13 14 Tiến bộ trong self- tuning • Statistics management • Selection of Statistic • Self tuning histogram • Monitoring infrastructure • Query Progress Estimation • Ad-hoc Monitoring and Diagnostics 15 Công cụ tuning trong DBMS thương mại • SQL Server: • Index Tuning Wizard (index... Database Tuning Advisor (+ horizontal range partitioning) • IBM's DB2:DB2 Design Advisor ( independent advisor for each design structure) • Oracle 10g: SQL Access Advisor + Oracle Automatic Tuning Advisor (index view, material view – all workload) Câu hỏi 1) 1 số tiến bộ trong thiết kế cơ sở vật lý: a) b) c) d) What-if index Alerter Workload as Sequence Statistics management 2) 1 số tiến bộ trong self- tuning: ... (index view, material view – all workload) Câu hỏi 1) 1 số tiến bộ trong thiết kế cơ sở vật lý: a) b) c) d) What-if index Alerter Workload as Sequence Statistics management 2) 1 số tiến bộ trong self- tuning: e) f) g) h) Monitor infrastructure What-if index Workload as Sequence Statistics management Thank you for listening ...Nội dung trình bày • Tổng quan báo • Thiết kế sở liệu vật lý • Self- tuning Tổng quan báo • Tiến self- tuning database (1997 – 2007) • Các vấn đề trình phát triển cách giải •... Tiến self- tuning • Statistics management • Selection of Statistic • Self tuning histogram • Monitoring infrastructure 13 14 Tiến self- tuning • Statistics management • Selection of Statistic • Self. .. thiện hiệu suất • Ví dụ: On-line Tuning On-line Index Advisor User DBA +Create/Drop Tuning is Indexes What-if based on actual Optimizer workload - DBA is out of theDatabase loop Server Actual Workload
Ngày đăng: 09/02/2016, 13:33
Xem thêm: Thuyết trình hệ cơ sở dữ liệu nâng cao self tuning database systems , Thuyết trình hệ cơ sở dữ liệu nâng cao self tuning database systems