CMSC 461 Final Exam Study Guide

Similar documents
Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10

DATABASE MANAGEMENT SYSTEMS

ROEVER ENGINEERING COLLEGE

UNIT: 1 INTRODUCTION AND CONCEPTUAL MODELLING

E.G.S. PILLAY ENGINEERING COLLEGE (An Autonomous Institution, Affiliated to Anna University, Chennai) Nagore Post, Nagapattinam , Tamilnadu.

SYED AMMAL ENGINEERING COLLEGE


Goals for Today. CS 133: Databases. Final Exam: Logistics. Why Use a DBMS? Brief overview of course. Course evaluations

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Unit 2. Unit 3. Unit 4

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I

Database Systems Management


Unit 10.5 Transaction Processing: Concurrency Zvi M. Kedem 1

Chapter 15 : Concurrency Control

Database Management Systems Paper Solution

Conceptual (high-level, semantic)/ Physical (low-level, internal)/ Implementation (representational)

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer DBMS

SYED AMMAL ENGINEERING COLLEGE

Data Analysis. CPS352: Database Systems. Simon Miner Gordon College Last Revised: 12/13/12

CS/B.Tech/CSE/New/SEM-6/CS-601/2013 DATABASE MANAGEMENENT SYSTEM. Time Allotted : 3 Hours Full Marks : 70

Babu Banarasi Das National Institute of Technology and Management

CS6302- DATABASE MANAGEMENT SYSTEMS- QUESTION BANK- II YEAR CSE- III SEM UNIT I

Northern India Engineering College, New Delhi Question Bank Database Management System. B. Tech. Mechanical & Automation Engineering V Semester

Total No. of Questions :09] [Total No. of Pages : 02. II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC Second Semester CSE/IT DBMS

Administration Naive DBMS CMPT 454 Topics. John Edgar 2


Database Management

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g.

Systems:;-'./'--'.; r. Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington

Department of Information Technology B.E/B.Tech : CSE/IT Regulation: 2013 Sub. Code / Sub. Name : CS6302 Database Management Systems

! A lock is a mechanism to control concurrent access to a data item! Data items can be locked in two modes :

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON.

Information Management (IM)

A lock is a mechanism to control concurrent access to a data item Data items can be locked in two modes:

Transaction Management. Pearson Education Limited 1995, 2005

CSE 344 Final Review. August 16 th

References. Concurrency Control. Administração e Optimização de Bases de Dados 2012/2013. Helena Galhardas e

2 nd Semester 2009/2010

Concurrency Control Overview. COSC 404 Database System Implementation. Concurrency Control. Lock-Based Protocols. Lock-Based Protocols (2)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Transaction Management

CS 347 Parallel and Distributed Data Processing

DATABASE SYSTEM CONCEPTS

2011 DATABASE MANAGEMENT SYSTEM

M S Ramaiah Institute of Technology Department of Computer Science And Engineering

Lecture 20 Transactions

VALLIAMMAI ENGINEERING COLLEGE

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS

Name :. Roll No. :... Invigilator s Signature : DATABASE MANAGEMENT SYSTEM

CS 347 Parallel and Distributed Data Processing

Lecture 22 Concurrency Control Part 2

Database Tuning and Physical Design: Execution of Transactions

Chapter 13 : Concurrency Control

Chapter 16 : Concurrency Control

Final Review. May 9, 2017

Final Review. May 9, 2018 May 11, 2018

Administrivia. CS186 Class Wrap-Up. News. News (cont) Top Decision Support DBs. Lessons? (from the survey and this course)

FUNDAMENTALS OF. Database S wctpmc. Shamkant B. Navathe College of Computing Georgia Institute of Technology. Addison-Wesley

Database Architectures

File Structures and Indexing

BHARATHIDASAN ENGINEERING COLLEGE NATTRAMPALLI Second Year CSE/IT III SEMESTER UPDATED FAQ s Subject: CS6302/DBMS

Lecture 21 Concurrency Control Part 1

VU Mobile Powered by S NO Group All Rights Reserved S NO Group 2013

Chapter 12 : Concurrency Control

CMSC 424 Database design Lecture 22 Concurrency/recovery. Mihai Pop

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES

User Perspective. Module III: System Perspective. Module III: Topics Covered. Module III Overview of Storage Structures, QP, and TM

Chapter 10 : Concurrency Control

Concurrency Control! Snapshot isolation" q How to ensure serializability and recoverability? " q Lock-Based Protocols" q Other Protocols"

UNIT 4 TRANSACTIONS. Objective

Chapter 10: Concurrency Control! Chapter 10 : Concurrency Control! Intuition of Lock-based Protocols! Lock-Based Protocols!

Chapter 10 : Concurrency Control!

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK

Chapter 18: Parallel Databases


Professor: Pete Keleher! Closures, candidate keys, canonical covers etc! Armstrong axioms!

Final Review. CS 377: Database Systems

Transaction Management: Concurrency Control, part 2

Locking for B+ Trees. Transaction Management: Concurrency Control, part 2. Locking for B+ Trees (contd.) Locking vs. Latching

CSE 562 Final Exam Solutions

Fundamentals of Database Systems V7. Course Outline. Fundamentals of Database Systems V Jul 2018

Multiversion schemes keep old versions of data item to increase concurrency. Multiversion Timestamp Ordering Multiversion Two-Phase Locking Each

Concurrency Control. Transaction Management. Lost Update Problem. Need for Concurrency Control. Concurrency control

Transaction Processing: Concurrency Control. Announcements (April 26) Transactions. CPS 216 Advanced Database Systems

Query optimization. Elena Baralis, Silvia Chiusano Politecnico di Torino. DBMS Architecture D B M G. Database Management Systems. Pag.

FUNDAMENTALS OF SEVENTH EDITION

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Advances in Data Management Transaction Management A.Poulovassilis

Distributed KIDS Labs 1

Multi-User-Synchronization

Course Outline Faculty of Computing and Information Technology

Chapter 19: Distributed Databases

UNIT IV TRANSACTION MANAGEMENT

Lecture 13 Concurrency Control

MTA Database Administrator Fundamentals Course

DATABASE DESIGN I - 1DL300

Transcription:

CMSC 461 Final Exam Study Guide Study Guide Key Symbol Significance * High likelihood it will be on the final + Expected to have deep knowledge of can convey knowledge by working through an example problem IMPORTANT: Anything listed in this guide is a candidate for the final exam. If it is not listed in this guide, it will not be on the exam. This key is meant to provide hints only. If an item does not have an * next to it, that does NOT imply it will not be on the final. Assume any sub-item of an item inherits the symbols of that item. Chapter 1 Purpose of Database Systems Data abstraction levels Data models Database languages Basic definition of a relational database Chapter 2 Basic terms (relation, tuple, attribute schema, instance) +Keys (superkey, candidate key, primary key, foreign key) Relational operations Chapter 6 +Relational algebra selection projection union set-difference Cartesian product rename set-intersection natural join outer join left and right outer join aggregation Chapter 3, 4, 5 Definition of SQL Data types

+How to define a schema +Queries select from where natural join renaming correlation variables string function ordering set operations (union, intersection, except) aggregation (avg, min, max, sum,count) grouping joins (inner, outer, left and right outer, natural) How to delete, update, insert +Transactions (committing, rollback) Integrity constraints Understand the function of null +Privileges and Authorization grant graph +*Python (connecting, looping through resultset, creating statement, using transactions) Chapter 7 Design process/phases +Definition of ER model entity set relationship set attributes (simple, composite,single/multivalued,derived) +Constraints cardinalities (1-1,1-n,n-1,n-m) participation keys +Weak entities Roles Binary vs n-ary relationship sets +Generalization Chapter 8 +Features of good relational design +*Functional dependency keys closure trivial vs non-trivial +*Lossy vs. lossless decomposition +Atomic domains +First Normal Form +*Third Normal Form

+*BCNF +Armstrong's axioms +*Closure of Attribute Sets +*Canonical Cover extraneous attributes +*Dependency Preservation Chapter 10 Know difference between types of storage (hierarchy) primary, secondary, volatile, tertiary Magnetic disk and flash Performance measures seek time, rotational latency time, average latency time, data transfer rate, MTTF How to optimize disk block access RAID +*File organization file block fixed length records vs. variable length +Organization of records heap, sequential, hashing Data Dictionary storage what is it and how it is used metadata Database Buffer buffer manager replacement policies Chapter 11 +Basic concepts of indexing and hashing ordered vs hash-index how to evaluate +*Ordered indices clustering vs. non-clustering index-sequential files dense vs spare indices multilevel indices updating and deleting secondary indices indexing multiple keys +*B+ trees advantages vs. disadvantages know how to query, insert, update and delete (assume a single search key) difference between leaf and non-leaf nodes how to split and how to coalesce +*Static Hashing

hash function organization buckets and overflows indices +*Dynamic Hashing know how to query, update and delete difference between static and dynamic Differences between ordered indexing and hashing Chapter 12 What is query processing steps query execution plan measure of cost Chapter 14 +*Definition ACID transaction management Storage volatile, nonvolatile, stable Atomicity and Durability transaction model Isolation concurrency +*Serializability difference between serial and non-serial transactions what is a schedule what is serializable conflict serializable what is a conflict conflict equivalent precedence graph serializability order topological sorting +*Isolation and Atomicity recoverable schedules partial dependent cascadeless schedules cascading rollback Transaction Isolation Levels Transactions as sql statements *phantom phenomenon Chapter 15 +What is concurrency control, why is it needed? +*Lock-based protocols

What is lock (shared vs exclusive) requests, grants, compatibility function, wait lock compatibility matrix deadlock starvation two phase locking protocol lock manager graph based protocol (tree) database graph commit dependency +*Deadlocks how to prevent, detect, recover wait-die, would-wait lock timeouts detection wait for graph with and without cycles recovery victim rollback *Multiple granularity intention lock modes (S,X,IS, IX, SIX) multiple-granularity locking protocol +*Timestamp-based protocol how to create ts W-TS vs R-TS TS ordering protocols Thomas Write Rule *Validation based protocols phases validation test optimistic concurrency control *Multiversion schemes multiversion concurrency control multiversion ts multiversion two phase locking *Snapshot isolation first committer wins vs first updater wins write skew Chapter 19 What does distributed systems offer and when should you use How is it different than a parallel system *Difference between homogeneous and heterogeneous *Distributed data storage replication vs fragmentation Transparency

*Distributed transactions +manager vs coordinator Two phase commit protocol how to use in a distributed system +*Heterogeneous distributed databases multidatabase system unified view of database query processing (mediator) local vs global transactions *Cloud-based databases definition what is cloud computing what is a virtual machine storage *Review slides related to NoSQL databases, be prepared for questions related to NoSQL databases