Faloutsos/Pavlo C. Faloutsos – A. Pavlo Lecture#27: Final Review

Slides:



Advertisements
Similar presentations
CM20145 Concurrency Control
Advertisements

CSIS 7102 Spring 2004 Lecture 5 : Non-locking based concurrency control (and some more lock-based ones, too) Dr. King-Ip Lin.
Concurrency Control II. General Overview Relational model - SQL  Formal & commercial query languages Functional Dependencies Normalization Physical Design.
1 Supplemental Notes: Practical Aspects of Transactions THIS MATERIAL IS OPTIONAL.
CMU SCS /615Faloutsos/Pavlo1 Carnegie Mellon Univ. Dept. of Computer Science /615 – DB Applications C. Faloutsos & A. Pavlo Lecture #13: Query.
Final Exam Coverage. E/R Converting E/R to Relations. SQL. –Joins and outerjoins –Subqueries –Aggregations –Views –Inserts, updates, deletes –Ordering.
1 Review #1 l Intro stuff –What is a database, 4 parts, 3 users, etc. l Architecture –Data independence –Three levels, two mappings –Jobs of the DBA.
All of ERD (Ch 3) plus: – Class/subclass relationships – Inheritance – Specialization – Generalization – Category.
Query Optimization 3 Cost Estimation R&G, Chapters 12, 13, 14 Lecture 15.
...Looking back Why use a DBMS? How to design a database? How to query a database? How does a DBMS work?
CS505: Final Exam Review Jinze Liu. Major Topics Before Mid-Term – Security and Access Control – Indexing After Mid-Term – Transaction Management Locking,
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos Concurrency control.
CMU SCS Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications C. Faloutsos – A. Pavlo Lecture#16: Schema Refinement & Normalization.
1 Final Review Tuesday, March 6, The Final Date: Tuesday, March 13, 2007 Time: 6:30 - 8:30 Room: EE 037 You must come to campus Open book exam.
Introduction.  Administration  Simple DBMS  CMPT 454 Topics John Edgar2.
1 CSE444: REVIEW. 2 CSE444 in one slide v Logical : E/R diagram  normalized relations v Physical : files, buffering, and indexes v Logical : Relational.
Query Optimization CMPE 226 Database Systems By, Arjun Gangisetty
6340 DBMS Components. DBMS OS, application, middleware Components: storage, query optimizer, recovery manager, transaction processor, security.
Diskusi-08 Jelaskan dan berikan contoh penggunaan theta join, equijoin, natural join, outer join, dan semijoin The slides for this text are organized into.
Diskusi-5 Sebutkan perangkat (tools) yang berpotensi mendukung kebutuhan tugas-tugas manajerial (management work) Jelaskan enam karakteristik informasi.
Faloutsos/Pavlo C. Faloutsos – A. Pavlo Lecture#1: Introduction
Latihan Answer the following questions using the relational schema from the Exercises at the end of Chapter 3: Create the Hotel table using the integrity.
C. Faloutsos Concurrency control - deadlocks
Diskusi-16 Buatlah ringkasan tentang pertimbangan dalam desain yang ergonomis pada tiga perangkat utama komputer yaitu monitor, keyboard dan mouse (lihat.
Lecture#23: Concurrency Control – Part 2
Concurrency Control More !
CPSC-310 Database Systems
Latihan Create a separate table with the same structure as the Booking table to hold archive records. Using the INSERT statement, copy the records from.
Tugas-05 a. Sebutkan primary key masing-masing tabel
Introduction to Query Optimization
Concurrency Control Part 2
COSC 6340 Projects & Homeworks Spring 2002
Lecture #19 (not in book) Database Design Methodology handout
Transaction Management
Lecture#20: Overview of Transaction Management
C. Faloutsos Query Optimization – part 1
Faloutsos & Pavlo SCS /615 Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications Lecture #16: Schema Refinement & Normalization.
Lecture#12: External Sorting (R&G, Ch13)
External Sorting The slides for this text are organized into chapters. This lecture covers Chapter 11. Chapter 1: Introduction to Database Systems Chapter.
Lecture #17: Schema Refinement & Normalization - Normal Forms
11/29/2018.
Faloutsos/Pavlo CMU /615 Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications C. Faloutsos – A. Pavlo Lecture#14: Implementation.
Faloutsos/Pavlo C. Faloutsos – A. Pavlo Lecture#13: Query Evaluation
Lecture#23: Crash Recovery
Selected Topics: External Sorting, Join Algorithms, …
Lecture#21: Concurrency Control – Part 1
Concurrency Control Chapter 17
Introduction to Database Systems CSE 444 Lecture 23: Final Review
Final Review Topics Chapter 4 SQL,
Final Review Datalog (Ch 10) Rules and queries
Cse 344 June 1st – Final Review.
Concurrency Control Chapter 17
Lecture 30: Final Review Wednesday, December 6, 2000.
CS4433 Database Systems Midterm Review.
Evaluation of Relational Operations: Other Techniques
Review for Final Exam CSE462 B.Ramamurthy.
CSE594: REVIEW.
Concurrency Control R&G - Chapter 17
Transaction Management
Database Systems (資料庫系統)
Lecture 24: Final Review Friday, March 10, 2006.
Lecture 30: Final Review Wednesday, December 10, 2003.
C. Faloutsos Transactions
Introduction to Database Systems CSE 444 Lecture 23: Final Review
Final Review Friday, December 8, 2006.
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
Physical Database Design
File Organizations and Indexing
Lecture 29: Final Review Wednesday, December 11, 2002.
Presentation transcript:

Faloutsos/Pavlo C. Faloutsos – A. Pavlo Lecture#27: Final Review CMU 15-415/615 Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications C. Faloutsos – A. Pavlo Lecture#27: Final Review

Administrivia – Final Exam Who: You What: http://cmudb.io/f16-final When: Tuesday Dec 13th @ 5:30pm Where: Margaret Morrison Room 103: 'Chen' to 'Lyu' (inclusive) Room A14: 'Merigoux' to 'Zimmerman‘ Why: Because otherwise Christos and I call your family over the break… Faloutsos/Pavlo CMU SCS 15-415/615

Administrivia – Final Exam What to bring: CMU ID Calculator Two pages of notes (double-sided) What not to bring: Live animals Faloutsos/Pavlo CMU SCS 15-415/615

Administrivia – Course Evals Your feedback is strongly needed: https://cmu.smartevals.com Things that we want feedback on: Homework Assignments Reading Materials Lectures Faloutsos/Pavlo CMU SCS 15-415/615

Extended Office Hours Andy: Christos: Friday Dec. 9th @ 1:00pm-2:30pm Monday Dec. 12th @ 12:00pm-3:00pm Faloutsos/Pavlo CMU SCS 15-415/615

Stuff Before Mid-Term SQL Sorting Faloutsos/Pavlo CMU SCS 15-415/615

Query Optimization & Evaluation Operator Algorithms: Selections: Access paths Projections & Group Bys: Hashing vs. Sorting Joins: Nested Loop, Index Nested Loop, Sort-Merge, Grace Hash Cost Estimations Faloutsos/Pavlo CMU SCS 15-415/615

Schema Refinement Functional Dependencies Armstrong’s Axioms Closures Canonical Covers Super Key vs. Candidate Key Faloutsos/Pavlo CMU SCS 15-415/615

Normalization Decomposition: Normal Forms Loseless Joins Dependency Preserving Redundancy Avoidance Normal Forms 1NF, 3NF, BCNF Faloutsos/Pavlo CMU SCS 15-415/615

Database Design & Tuning Index Selection & Clustering Denormalization Decomposition Faloutsos/Pavlo CMU SCS 15-415/615

Transactions ACID Conflict Serializability: View Serializability How to check? How to ensure? View Serializability Faloutsos/Pavlo CMU SCS 15-415/615

Transactions Two-Phase Locking Multiple Granularity Locking Strict vs. Non-Strict Deadlock Detection & Prevention Multiple Granularity Locking Intention locks B+Tree Latch Crabbing Isolation Levels / Anomalies Faloutsos/Pavlo CMU SCS 15-415/615

Transactions Timestamp Ordering Concurrency Control Thomas Write Rule Optimistic Concurrency Control Read Phase Validation Phase Write Phase Multi-Version Concurrency Control Faloutsos/Pavlo CMU SCS 15-415/615

Crash Recovery Buffer Pool Policies: Write-Ahead Logging STEAL vs. NO-STEAL FORCE vs. NO-FORCE Write-Ahead Logging Logging Schemes Basic Recovery Faloutsos/Pavlo CMU SCS 15-415/615

Distributed Databases Partitioning Schemes Two-Phase Commit Faloutsos/Pavlo CMU SCS 15-415/615

Column Stores DSM vs. NSM Compression Schemes Advantages Disadvantages Faloutsos/Pavlo CMU SCS 15-415/615

Data Warehouses + Mining Data cubes CUBE BY ROLAP vs. MOLAP Data Mining Supervised Learning (Decision Trees) Unsupervised Learning (Assoc. Rules) Faloutsos/Pavlo CMU SCS 15-415/615