Homework 8. Revision : 2015/04/14 08:13
|
|
|
- Kristina Caldwell
- 10 years ago
- Views:
Transcription
1 Carnegie Mellon University Department of Computer Science /615- Database Applications C. Faloutsos & A. Pavlo, Spring 2015 Prepared by Hong Bin Shim DUE DATE: Thu, 4/23/2015, 1:30pm Homework 8 IMPORTANT Deposit hard copy of your answers in class at 1:30pm on Thu, 4/23/2015. Separate answers, as usually, i.e., please each question on a separate page, with the usual info (andrewid, etc) Reminders Plagiarism: Homework may be discussed with other students, but all homework is to be completed individually. Typeset all of your answers whenever possible. Illegible handwriting may get no points, at the discretion of the graders. Late homeworks: please late homeworks to all TAs with the subject line exactly Homework Submission (HW 8) and the count of slip-days you are using. For your information: Graded out of 100 points; 4 questions total Rough time estimate: 4 hours ( 1 hour for each question) Revision : 2015/04/14 08:13 Question Points Score Serializability and 2PL 20 Deadlock Detection and Prevention 30 Hierarchical Locking - Oscar Nominations 30 B+ tree Locking 20 Total: 100 1
2 15-415/615 Homework 8, Page 2 of 6 Thu, 4/23/2015, 1:30pm Question 1: Serializability and 2PL [20 points] (a) Yes/No questions: i. [2 points] Conflict Serializability always permits as many schedules as View Serializability does. ii. [2 points] A schedule is conflict serializable if its dependency graph is acyclic. iii. [2 points] In the Shrinking phase of 2PL, the transaction can be granted lock requests. iv. [2 points] All serializable schedules are allowed by 2PL. v. [2 points] Schedules under strict 2PL could have cascading aborts. (b) Serializability: Consider the schedule given below in Table 1. R( ) and W( ) stand for Read and Write, respectively. time t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t 10 t 11 T 1 R(A) W(A) R(C) W(C) T 2 R(B) W(B) T 3 R(A) W(A) R(B) W(B) R(C) W(C) Table 1: A schedule with 3 transactions i. [1 point] Is this schedule serial? ii. [3 points] Give the dependency graph of this schedule. iii. [1 point] Is this schedule conflict serializable? iv. [3 points] If you answer yes to (iii), provide the equivalent serial schedule. If you answer no, briefly explain why. v. [2 points] Could this schedule have been produced by 2PL? Homework 8 continues...
3 15-415/615 Homework 8, Page 3 of 6 Thu, 4/23/2015, 1:30pm Question 2: Deadlock Detection and Prevention..... [30 points] (a) Deadlock Detection: Consider the following lock requests in Table 2. And note that S( ) and X( ) stand for shared lock and exclusive lock, respectively. T 1, T 2, and T 3 represent three transactions. LM stands for lock manager. time t 1 t 2 t 3 t 4 t 5 t 6 t 7 T 1 S(D) S(A) X(C) S(B) T 2 S(A) X(D) T 3 S(C) LM g Table 2: Lock requests of 3 transactions i. [6 points] For the lock requests in Table 2, determine which lock will be granted or blocked by the lock manager. Please write g in the LM row to indicate the lock is granted and b to indicate the lock is blocked. For example, in the table, the first lock (S(D) at time t 1 ) is marked as granted. ii. [4 points] Give the wait-for graph for the lock requests in Table 2. iii. [3 points] Determine whether there exists a deadlock in the lock requests in Table 2, and briefly explain why. (b) Deadlock Prevention: Consider the following lock requests in Table 3. Again, S( ) and X( ) stand for shared lock and exclusive lock, respectively. T 1, T 2, T 3, and T 4 represent four transactions. LM represents a lock manager. time t 1 t 2 t 3 t 4 t 5 t 6 T 1 S(D) S(B) T 2 S(C) X(D) T 3 X(B) T 4 X(C) LM g Table 3: Lock requests of 4 transactions Question 2 continues...
4 15-415/615 Homework 8, Page 4 of 6 Thu, 4/23/2015, 1:30pm i. [6 points] For the lock requests in Table 3, determine which lock request will be granted, blocked or aborted by the lock manager (LM), if it has no deadlock prevention policy. Please write g for grant, b for block and a for abort. Again, example is given in the first column. ii. [5 points] Give the wait-for graph for the lock requests in Table 3. Determine whether there exists a deadlock in the lock requests in Table 3 under LM, and briefly explain why. iii. [3 points] To prevent deadlock, we use the lock manager (LM) that adopts the Wait-Die policy. We assume that in terms of priority: T 1 > T 2 > T 3 > T 4. Determine which lock request will be granted ( g ), blocked ( b ) or aborted ( a ). Follow the same format as the previous question. iv. [3 points] Now we use the lock manager (LM) that adopts the Wound-Wait policy. We assume that in terms of priority: T 1 > T 2 > T 3 > T 4. Determine which lock request will be granted ( g ), blocked ( b ) or aborted ( a ). Follow the same format as the previous question. Homework 8 continues...
5 15-415/615 Homework 8, Page 5 of 6 Thu, 4/23/2015, 1:30pm Question 3: Hierarchical Locking - Oscar Nominations[30 points] Consider a Database (D) consisting of two tables, Actors (A) and Nominations (N). Specifically, Actors(aid, first name, last name), spans 300 pages, namely A 1 to A 300 Nominations(nid, aid, year, movie, character, won), spans 600 pages, namely N 1 to N 600 Further, each page contains 100 records, and we use the notation A 3 : 20 to represent the 20 th record on the third page of the Actors table. Similarly, N 5 : 10 represents the 10 th record on the fifth page of the Nominations table. We use Multiple-granularity locking, with S, X, IS, IX and SIX locks, and four levels of granularity: (1) database-level (D), (2) table-level (A, N), (3) page-level (A 1 A 300, N 1 N 600 ), (4) record-level (A 1 : 1 A 300 : 100, N 1 : 1 N 600 : 100). For each of the following operations on the database, please determine the sequence of lock requests that should be generated by a transaction that want to carry out these operations efficiently. Please follow the format of the examples listed bellow: write IS(D) for a request of database-level IS lock write X(N 2 : 30) for a request of record-level X lock for the 30 th record on the second page of the Nominations table write S(N 2 : 30 N 3 : 100) for a request of record-level S lock from the 30 th record on the second page of the Nominations table to the 100 th record on the third page of the Nominations table. (a) [6 points] Read 100 th record on page A 1. (b) [6 points] Read ALL records on page A 1 through A 15, and modify the records A 10 : 10 through A 10 : 100. (c) [6 points] Modify the first record on EACH and EVERY page of the Nominations table (these are blind writes that do not depend on the original contents in the pages). (d) [6 points] For EACH record in the Actors table, capitalize the English letters in the last name if it is not capitalized. That is, Redmayne will be modified as REDMAYNE but MOORE will be left unchanged. (e) [6 points] Delete ALL the records from ALL tables. Homework 8 continues...
6 15-415/615 Homework 8, Page 6 of 6 Thu, 4/23/2015, 1:30pm Question 4: B+ tree Locking [20 points] Consider the following B+ tree: Figure 1: B+ tree locking To lock this B+ tree, we would like to use the Bayer-Schkolnick algorithm (described in lecture notes #22 1, slide 32-35). Important: we use the version as presented in the lecture, which does not use lock upgrade. For each of the following transactions, give the sequence of lock/unlock requests. For example, please write S(A) for a request of shared lock on node A, X(B) for a request of exclusive lock on node B and U(C) for a request of unlock node C. Important notes: Each of the following transactions is applied on the original tree, i.e., please ignore any change to the tree from earlier problems. For simplicity, ignore the changes on the pointers between leaves. (a) [5 points] Search for data entry 37* (b) [5 points] Delete data entry 7* (c) [5 points] Insert data entry 30* (d) [5 points] Insert data entry 47* 1 End of Homework 8
Concurrency Control. Chapter 17. Comp 521 Files and Databases Fall 2010 1
Concurrency Control Chapter 17 Comp 521 Files and Databases Fall 2010 1 Conflict Serializable Schedules Recall conflicts (WR, RW, WW) were the cause of sequential inconsistency Two schedules are conflict
Concurrency Control. Module 6, Lectures 1 and 2
Concurrency Control Module 6, Lectures 1 and 2 The controlling intelligence understands its own nature, and what it does, and whereon it works. -- Marcus Aurelius Antoninus, 121-180 A. D. Database Management
Course Content. Transactions and Concurrency Control. Objectives of Lecture 4 Transactions and Concurrency Control
Database Management Systems Fall 2001 CMPUT 391: Transactions & Concurrency Control Dr. Osmar R. Zaïane University of Alberta Chapters 18 and 19 of Textbook Course Content Introduction Database Design
Lecture 7: Concurrency control. Rasmus Pagh
Lecture 7: Concurrency control Rasmus Pagh 1 Today s lecture Concurrency control basics Conflicts and serializability Locking Isolation levels in SQL Optimistic concurrency control Transaction tuning Transaction
Transaction Management Overview
Transaction Management Overview Chapter 16 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Transactions Concurrent execution of user programs is essential for good DBMS performance. Because
Database Tuning and Physical Design: Execution of Transactions
Database Tuning and Physical Design: Execution of Transactions David Toman School of Computer Science University of Waterloo Introduction to Databases CS348 David Toman (University of Waterloo) Transaction
Concurrency control. Concurrency problems. Database Management System
Concurrency control Transactions per second (tps) is the measure of the workload of a operational DBMS; if two transactions access concurrently to the same data there is a problem: the module who resolve
Goals. Managing Multi-User Databases. Database Administration. DBA Tasks. (Kroenke, Chapter 9) Database Administration. Concurrency Control
Goals Managing Multi-User Databases Database Administration Concurrency Control (Kroenke, Chapter 9) 1 Kroenke, Database Processing 2 Database Administration All large and small databases need database
Transactions and Concurrency Control. Goals. Database Administration. (Manga Guide to DB, Chapter 5, pg 125-137, 153-160) Database Administration
Transactions and Concurrency Control (Manga Guide to DB, Chapter 5, pg 125-137, 153-160) 1 Goals Database Administration Concurrency Control 2 Database Administration All large and small databases need
Concurrency Control: Locking, Optimistic, Degrees of Consistency
CS262A: Advanced Topics in Computer Systems Joe Hellerstein, Spring 2008 UC Berkeley Concurrency Control: Locking, Optimistic, Degrees of Consistency Transaction Refresher Statement of problem: Database:
CMU - SCS 15-415/15-615 Database Applications Spring 2013, C. Faloutsos Homework 1: E.R. + Formal Q.L. Deadline: 1:30pm on Tuesday, 2/5/2013
CMU - SCS 15-415/15-615 Database Applications Spring 2013, C. Faloutsos Homework 1: E.R. + Formal Q.L. Deadline: 1:30pm on Tuesday, 2/5/2013 Reminders - IMPORTANT: Like all homeworks, it has to be done
Transactional properties of DBS
Transactional properties of DBS Transaction Concepts Concurrency control Recovery Transactions: Definition Transaction (TA) Unit of work consisting of a sequence of operations Transaction principles (ACID):
Transactions: Definition. Transactional properties of DBS. Transactions: Management in DBS. Transactions: Read/Write Model
Transactions: Definition Transactional properties of DBS Transaction Concepts Concurrency control Recovery Important concept Transaction (TA) Unit of work consisting of a sequence of operations Transaction
č é é č Á Ě Č Á š Á Ó Á Á ď ú ď Š ň Ý ú ď Ó č ď Ě ů ň Č Š š ď Ň ď ď Č ý Ž Ý Ý Ý ČÚ Ž é úč ž ý ž ý ý ý č ů ý é ý č ý ý čů ý ž ž ý č č ž ž ú é ž š é é é č Ž ý ú é ý š é Ž č Ž ů Ů Ť ý ý ý Á ý ý Č Ť É Ď ň
Database Sample Examination
Part 1: SQL Database Sample Examination (Spring 2007) Question 1: Draw a simple ER diagram that results in a primary key/foreign key constraint to be created between the tables: CREATE TABLE Salespersons
Roadmap. 15-721 DB Sys. Design & Impl. Detailed Roadmap. Paper. Transactions - dfn. Reminders: Locking and Consistency
15-721 DB Sys. Design & Impl. Locking and Consistency Christos Faloutsos www.cs.cmu.edu/~christos Roadmap 1) Roots: System R and Ingres 2) Implementation: buffering, indexing, q-opt 3) Transactions: locking,
CS 245 Final Exam Winter 2013
CS 245 Final Exam Winter 2013 This exam is open book and notes. You can use a calculator and your laptop to access course notes and videos (but not to communicate with other people). You have 140 minutes
CMSC724: Concurrency
CMSC724: Concurrency Amol Deshpande April 1, 2008 1 Overview Transactions and ACID Goal: Balancing performance and correctness Performance: high concurrency and flexible buffer management STEAL: no waiting
Part I: Entity Relationship Diagrams and SQL (40/100 Pt.)
Part I: Entity Relationship Diagrams and SQL (40/100 Pt.) Q.1.1) Translate the following E-R Schema to SQL-DDL tables using the CREATE Table Statement and check constraints, if needed: LatinName EnglishName
Module 3 (14 hrs) Transactions : Transaction Processing Systems(TPS): Properties (or ACID properties) of Transactions Atomicity Consistency
Module 3 (14 hrs) Transactions : A transaction is a logical unit of program execution It is a combination of database updates which have to be performed together It is a logical unit of work. It is a unit
Distributed Databases
C H A P T E R19 Distributed Databases Practice Exercises 19.1 How might a distributed database designed for a local-area network differ from one designed for a wide-area network? Data transfer on a local-area
1 Choosing the right data mining techniques for the job (8 minutes,
CS490D Spring 2004 Final Solutions, May 3, 2004 Prof. Chris Clifton Time will be tight. If you spend more than the recommended time on any question, go on to the next one. If you can t answer it in the
Applying Attribute Level Locking to Decrease the Deadlock on Distributed Database
Applying Attribute Level Locking to Decrease the Deadlock on Distributed Database Dr. Khaled S. Maabreh* and Prof. Dr. Alaa Al-Hamami** * Faculty of Science and Information Technology, Zarqa University,
Introduction to Database Systems CS4320. Instructor: Christoph Koch [email protected] CS 4320 1
Introduction to Database Systems CS4320 Instructor: Christoph Koch [email protected] CS 4320 1 CS4320/1: Introduction to Database Systems Underlying theme: How do I build a data management system? CS4320
Proposed course outline for: ICB Business Management 1
Proposed course outline for: ICB Business Management 1 48 contact hours using STANDARD version of Study & Solutions Kit Note: Should learners use the PRO version of the Study & Solutions Kit; the contact
Comp 5311 Database Management Systems. 16. Review 2 (Physical Level)
Comp 5311 Database Management Systems 16. Review 2 (Physical Level) 1 Main Topics Indexing Join Algorithms Query Processing and Optimization Transactions and Concurrency Control 2 Indexing Used for faster
THE UNIVERSITY OF TRINIDAD & TOBAGO
THE UNIVERSITY OF TRINIDAD & TOBAGO FINAL ASSESSMENT/EXAMINATIONS SEPTEMBER/DECEMBER 2014 Course Code and Title: DBST5001 - Advanced Databases Programme: Masters of Science (MSc.) in Information and Communications
DATA STRUCTURES USING C
DATA STRUCTURES USING C QUESTION BANK UNIT I 1. Define data. 2. Define Entity. 3. Define information. 4. Define Array. 5. Define data structure. 6. Give any two applications of data structures. 7. Give
SUBQUERIES AND VIEWS. CS121: Introduction to Relational Database Systems Fall 2015 Lecture 6
SUBQUERIES AND VIEWS CS121: Introduction to Relational Database Systems Fall 2015 Lecture 6 String Comparisons and GROUP BY 2! Last time, introduced many advanced features of SQL, including GROUP BY! Recall:
Textbook and References
Transactions Qin Xu 4-323A Life Science Building, Shanghai Jiao Tong University Email: [email protected] Tel: 34204573(O) Webpage: http://cbb.sjtu.edu.cn/~qinxu/ Webpage for DBMS Textbook and References
CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006
CSE331: Introduction to Networks and Security Lecture 8 Fall 2006 Announcements Reminders: Project I is due on Monday, Sept. 25th. Homework 1 is due on Friday, Sept. 29th. CSE331 Fall 2004 2 Internet Protocol
Database Concurrency Control and Recovery. Simple database model
Database Concurrency Control and Recovery Pessimistic concurrency control Two-phase locking (2PL) and Strict 2PL Timestamp ordering (TSO) and Strict TSO Optimistic concurrency control (OCC) definition
CS 2302 Data Structures Spring 2015
1. General Information Instructor: CS 2302 Data Structures Spring 2015 Olac Fuentes Email: [email protected] Web: www.cs.utep.edu/ofuentes Office hours: Tuesdays and Thursdays 2:00-3:30, or by appointment,
1 Solving LPs: The Simplex Algorithm of George Dantzig
Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.
CS 2112 Spring 2014. 0 Instructions. Assignment 3 Data Structures and Web Filtering. 0.1 Grading. 0.2 Partners. 0.3 Restrictions
CS 2112 Spring 2014 Assignment 3 Data Structures and Web Filtering Due: March 4, 2014 11:59 PM Implementing spam blacklists and web filters requires matching candidate domain names and URLs very rapidly
INFO/CS 4302 Web Information Systems. FT 2012 Week 1: Course Introduction
INFO/CS 4302 Web Information Systems FT 2012 Week 1: Course Introduction Who We Are - Instructors Bernhard Haslhofer Theresa Velden [email protected] Office hours: TUE / THU 1:30-3:00 [email protected]
University of Pune Revised Structure for the B. Sc. (Computer Science) Course (Second Year to be implemented from Academic Year 2014-2015)
University of Pune Revised Structure for the B. Sc. (Computer Science) Course (Second Year to be implemented from Academic Year 2014-2015) S. Y. B. Sc. (Computer Science) No Paper Title: Semester I Title:
CS 525 Advanced Database Organization - Spring 2013 Mon + Wed 3:15-4:30 PM, Room: Wishnick Hall 113
CS 525 Advanced Database Organization - Spring 2013 Mon + Wed 3:15-4:30 PM, Room: Wishnick Hall 113 Instructor: Boris Glavic, Stuart Building 226 C, Phone: 312 567 5205, Email: [email protected] Office Hours:
CHAPTER 6: DISTRIBUTED FILE SYSTEMS
CHAPTER 6: DISTRIBUTED FILE SYSTEMS Chapter outline DFS design and implementation issues: system structure, access, and sharing semantics Transaction and concurrency control: serializability and concurrency
Transactions. SET08104 Database Systems. Copyright @ Napier University
Transactions SET08104 Database Systems Copyright @ Napier University Concurrency using Transactions The goal in a concurrent DBMS is to allow multiple users to access the database simultaneously without
48 contact hours using STANDARD version of Study & Solutions Kit
Proposed course outline for: ICB Cost and Management Accounting 48 contact hours using STANDARD version of Study & Solutions Kit Note: Should learners use the PRO version of the Study & Solutions Kit,
CSE 326: Data Structures B-Trees and B+ Trees
Announcements (4//08) CSE 26: Data Structures B-Trees and B+ Trees Brian Curless Spring 2008 Midterm on Friday Special office hour: 4:-5: Thursday in Jaech Gallery (6 th floor of CSE building) This is
CS 1301 Homework 6 Scribbler Line Sensing Due: Friday March 13th, before 11:55pm PM EST. Out of 130 points Files to submit:
CS 1301 Homework 6 Scribbler Line Sensing Due: Friday March 13th, before 11:55pm PM EST. Out of 130 points Files to submit: hw6.py For Help: - TA Helpdesk Schedule posted on class website. - Email TAs
Vector storage and access; algorithms in GIS. This is lecture 6
Vector storage and access; algorithms in GIS This is lecture 6 Vector data storage and access Vectors are built from points, line and areas. (x,y) Surface: (x,y,z) Vector data access Access to vector
IE 680 Special Topics in Production Systems: Networks, Routing and Logistics*
IE 680 Special Topics in Production Systems: Networks, Routing and Logistics* Rakesh Nagi Department of Industrial Engineering University at Buffalo (SUNY) *Lecture notes from Network Flows by Ahuja, Magnanti
COURSE OUTLINE OF RECORD
Math 023 Essentials of Algebra I Course Syllabus Spring 2013 (T/R First 8 Weeks) Instructor: Heidi Trumbull Phone Number: 260 481 2284 E Mail: [email protected] Office: HM2306 Office Hours: MON/WED
Chapter 7: Deadlocks!
The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still
Normalization. Reduces the liklihood of anomolies
Normalization Normalization Tables are important, but properly designing them is even more important so the DBMS can do its job Normalization the process for evaluating and correcting table structures
Course Content Concepts
CS 1371 SYLLABUS, Spring, 2016 Revised 1/8/16 Computing for Engineers Course Content Concepts The students will be expected to be familiar with the following concepts, either by writing code to solve problems,
High-Performance Concurrency Control Mechanisms for Main-Memory Databases
High-Performance Concurrency Control Mechanisms for Main-Memory Databases Per-Åke Larson 1, Spyros Blanas 2, Cristian Diaconu 1, Craig Freedman 1, Jignesh M. Patel 2, Mike Zwilling 1 Microsoft 1, University
Distributed Transactions
Distributed Transactions 1 Transactions Concept of transactions is strongly related to Mutual Exclusion: Mutual exclusion Shared resources (data, servers,...) are controlled in a way, that not more than
b. Examine the following histories. Draw their serialization graph and identify which of them is serializable given reasons.
SELECTED SOLUTIONS TO THE EVISION EECISES: 1. In the following questions the operations are as follows rn() transaction n reads data item, wn () transaction n writes data item, cn transactions n commits,
The Basics of Graphical Models
The Basics of Graphical Models David M. Blei Columbia University October 3, 2015 Introduction These notes follow Chapter 2 of An Introduction to Probabilistic Graphical Models by Michael Jordan. Many figures
Cost Model: Work, Span and Parallelism. 1 The RAM model for sequential computation:
CSE341T 08/31/2015 Lecture 3 Cost Model: Work, Span and Parallelism In this lecture, we will look at how one analyze a parallel program written using Cilk Plus. When we analyze the cost of an algorithm
A Quick Guide to Constructing an SPSS Code Book Prepared by Amina Jabbar, Centre for Research on Inner City Health
A Quick Guide to Constructing an SPSS Code Book Prepared by Amina Jabbar, Centre for Research on Inner City Health 1. To begin, double click on SPSS icon. The icon will probably look something like this
48 contact hours using STANDARD version of Study & Solutions Kit
Proposed course outline for: ICB Payroll and Monthly SARS Returns 48 contact hours using STANDARD version of Study & Solutions Kit Note: Should learners use the PRO version of the Study & Solutions Kit,
Parameter Fields and Prompts. chapter
Parameter Fields and Prompts chapter 23 Parameter Fields and Prompts Parameter and prompt overview Parameter and prompt overview Parameters are Crystal Reports fields that you can use in a Crystal Reports
CSE 562 Database Systems
UB CSE Database Courses CSE 562 Database Systems CSE 462 Database Concepts Introduction CSE 562 Database Systems Some slides are based or modified from originals by Database Systems: The Complete Book,
Distributed Database Management Systems
Distributed Database Management Systems (Distributed, Multi-database, Parallel, Networked and Replicated DBMSs) Terms of reference: Distributed Database: A logically interrelated collection of shared data
Introduction to Database Management Systems
Database Administration Transaction Processing Why Concurrency Control? Locking Database Recovery Query Optimization DB Administration 1 Transactions Transaction -- A sequence of operations that is regarded
1.00 Lecture 1. Course information Course staff (TA, instructor names on syllabus/faq): 2 instructors, 4 TAs, 2 Lab TAs, graders
1.00 Lecture 1 Course Overview Introduction to Java Reading for next time: Big Java: 1.1-1.7 Course information Course staff (TA, instructor names on syllabus/faq): 2 instructors, 4 TAs, 2 Lab TAs, graders
(Pessimistic) Timestamp Ordering. Rules for read and write Operations. Pessimistic Timestamp Ordering. Write Operations and Timestamps
(Pessimistic) stamp Ordering Another approach to concurrency control: Assign a timestamp ts(t) to transaction T at the moment it starts Using Lamport's timestamps: total order is given. In distributed
CSCI-UA:0060-02. Database Design & Web Implementation. Professor Evan Sandhaus [email protected] [email protected]
CSCI-UA:0060-02 Database Design & Web Implementation Professor Evan Sandhaus [email protected] [email protected] Lecture #27: DB Administration and Modern Architecture:The last real lecture. Database
Lecture 18: Reliable Storage
CS 422/522 Design & Implementation of Operating Systems Lecture 18: Reliable Storage Zhong Shao Dept. of Computer Science Yale University Acknowledgement: some slides are taken from previous versions of
LMS User Manual LMS Grade Book NUST LMS [email protected]
LMS User Manual LMS Grade Book NUST LMS [email protected] Setting up LMS Grade book Setting up LMS gradebook involves followings main steps: 1. Create gradebook categories 2. Add grade items in grade
Row Echelon Form and Reduced Row Echelon Form
These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation
! Volatile storage: ! Nonvolatile storage:
Chapter 17: Recovery System Failure Classification! Failure Classification! Storage Structure! Recovery and Atomicity! Log-Based Recovery! Shadow Paging! Recovery With Concurrent Transactions! Buffer Management!
Parallelization: Binary Tree Traversal
By Aaron Weeden and Patrick Royal Shodor Education Foundation, Inc. August 2012 Introduction: According to Moore s law, the number of transistors on a computer chip doubles roughly every two years. First
Useful Number Systems
Useful Number Systems Decimal Base = 10 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} Binary Base = 2 Digit Set = {0, 1} Octal Base = 8 = 2 3 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7} Hexadecimal Base = 16 = 2
Applicants: How to apply for a Commonwealth PhD Scholarship
Applicants: How to apply for a Commonwealth PhD Scholarship Log On/Register Apply for a Scholarship A. Application Details B. Personal Information C. Career To Date D. References E. Endorsement F. Proposed
Turn editing on and under Add an Activity use the drop down list and click on Questionnaire.
Making a Questionnaire or Survey in Moodle Turn editing on and under Add an Activity use the drop down list and click on Questionnaire. Setting up the Questionnaire Name name of the questionnaire and the
System model. Section 7.1. Operating Systems: Deadlock p. 1/15
System model Section 7.1 Resources: CPU, memory, files, devices, semaphores, etc. divided into several types each type has one or more identical instances Processes: 1. Request resource. (If resource cannot
V30 Software Update Instruction. 2.3 Software upgrading
2.3 Software upgrading 2.3.1 Download and install V30 update client Step1: Download the V30 update client from Autoboss website http://www.autoboss.net Step2: Install the V30 update client on your PC.
Computer and Network Security
Computer and Network Security Dr. Arjan Durresi Louisiana State University Baton Rouge, LA 70810 [email protected] These slides are available at: http://www.csc.lsu.edu/~durresi/csc4601_07/ Louisiana
Managing the Schedule of Classes
Managing the Schedule of Classes Index In Index Search for Classes -------------------------------------------------------------------------------------- Section 1 Schedule New Course/Maintain Schedule
Using the System ORDER YOUR BELL EXPRESSVU PROGRAMMING. Page 3-1
Using the System ORDER YOUR BELL EXPRESSVU PROGRAMMING This procedure notifies the Bell ExpressVu Customer Service Call Centre that your system is on-line and installed. You need to have your services
Information Technology Services will be updating the mark sense test scoring hardware and software on Monday, May 18, 2015. We will continue to score
Information Technology Services will be updating the mark sense test scoring hardware and software on Monday, May 18, 2015. We will continue to score all Spring term exams utilizing the current hardware
Last Class Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications
Last Class Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications C. Faloutsos A. Pavlo Lecture#23: Crash Recovery Part 2 (R&G ch. 18) Write-Ahead Log Checkpoints Logging Schemes
Files. Files. Files. Files. Files. File Organisation. What s it all about? What s in a file?
Files What s it all about? Information being stored about anything important to the business/individual keeping the files. The simple concepts used in the operation of manual files are often a good guide
PostgreSQL Concurrency Issues
PostgreSQL Concurrency Issues 1 PostgreSQL Concurrency Issues Tom Lane Red Hat Database Group Red Hat, Inc. PostgreSQL Concurrency Issues 2 Introduction What I want to tell you about today: How PostgreSQL
Financial Management FIN 300, Sections 004, 005 Fall 2011 University of Michigan, Ross School of Business
Ing-Haw Cheng Assistant Professor of Finance University of Michigan 701 Tappan Street, Room R5466 Ann Arbor, Michigan 48109 [email protected] webuser.bus.umich.edu/ingcheng Financial Management FIN 300,
HMIS Client Services User Guide
HMIS Client Services User Guide Washington State HMIS AES Adaptive Enterprise Solutions unlocking the dawn of better results for your organization 2009 AdSystech, Inc. This document is not to be photocopied
Recovery System C H A P T E R16. Practice Exercises
C H A P T E R16 Recovery System Practice Exercises 16.1 Explain why log records for transactions on the undo-list must be processed in reverse order, whereas redo is performed in a forward direction. Answer:
Dynamic Programming. Lecture 11. 11.1 Overview. 11.2 Introduction
Lecture 11 Dynamic Programming 11.1 Overview Dynamic Programming is a powerful technique that allows one to solve many different types of problems in time O(n 2 ) or O(n 3 ) for which a naive approach
Configuration Manager
After you have installed Unified Intelligent Contact Management (Unified ICM) and have it running, use the to view and update the configuration information in the Unified ICM database. The configuration
Creating and grading assignments
Creating and grading assignments An assignment activity provides a simple way for an instructor to provide a task for students to complete before a given deadline, collect work form student and assign
Consistency Management for Multiple Perspective Software Development
Consistency Management for Multiple Perspective Software Development Wai Leung Poon Anthony Finkelstein Dept. of Computing, Dept. of Computer Science, Imperial College, City University, 180 Queen's Gate,
LANGARA COLLEGE Course Outline
Course Format: Four hours per week in a mix of instruction and tutorial work on problems as required. Course Prerequisites: None. LANGARA COLLEGE Course Outline Course: Philosophy 1102: Introduction to
Syllabus for Course 1-02-326: Database Systems Engineering at Kinneret College
Syllabus for Course 1-02-326: Database Systems Engineering at Kinneret College Instructor: Michael J. May Semester 2 of 5769 1 Course Details The course meets 9:00am 11:00am on Wednesdays. The Targil for
Fundamentals of Computer Programming CS 101 (3 Units)
Fundamentals of Computer Programming CS 101 (3 Units) Overview This course introduces students to the field of computer science and engineering. An overview of the disciplines within computer science such
18-742 Lecture 4. Parallel Programming II. Homework & Reading. Page 1. Projects handout On Friday Form teams, groups of two
age 1 18-742 Lecture 4 arallel rogramming II Spring 2005 rof. Babak Falsafi http://www.ece.cmu.edu/~ece742 write X Memory send X Memory read X Memory Slides developed in part by rofs. Adve, Falsafi, Hill,
Data Structures Fibonacci Heaps, Amortized Analysis
Chapter 4 Data Structures Fibonacci Heaps, Amortized Analysis Algorithm Theory WS 2012/13 Fabian Kuhn Fibonacci Heaps Lacy merge variant of binomial heaps: Do not merge trees as long as possible Structure:
Chapter 15: Recovery System
Chapter 15: Recovery System Failure Classification Storage Structure Recovery and Atomicity Log-Based Recovery Shadow Paging Recovery With Concurrent Transactions Buffer Management Failure with Loss of
