1 / 7

Mid-term Class Review

Mid-term Class Review. Relational DB Overview. System architecture of a DBMS SQL* Normal forms (BCNF) Basic concepts and its decomposition (BCNF, 3NF, 4NF (cs710 students only)) *: Bonus question(s) available!. System Aspects of SQL. Embedded SQL Call-Level Interface (CLI) JDBC

Download Presentation

Mid-term Class Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mid-term Class Review

  2. Relational DB Overview • System architecture of a DBMS • SQL* • Normal forms (BCNF) • Basic concepts and its decomposition (BCNF, 3NF, 4NF (cs710 students only)) *: Bonus question(s) available!

  3. System Aspects of SQL • Embedded SQL • Call-Level Interface (CLI) • JDBC • Dynamic SQL Basic concepts Contrast and compare….

  4. SQL Authorization and Transactions • Privileges • Grant diagram • Transactions • ACID properties • Deep understanding of the 4 isolation levels

  5. The relation R(x) consists of a set of integers --- that is, one-component tuples with an integer component. • Alice's transaction is a query: • SELECT SUM(x) FROM R; • COMMIT; • Betty's transaction is a sequence of inserts: • INSERT INTO R VALUES(10); • INSERT INTO R VALUES(20); • INSERT INTO R VALUES(30); • COMMIT; • Carol's transaction is a sequence of deletes: • DELETE FROM R WHERE x=30; • DELETE FROM R WHERE x=20; • COMMIT; • Before any of these transactions execute, the sum of the integers in R is 1000, and none of these integers are 10, 20, or 30. If Alice's, Betty's, and Carol's transactions run at about the same time, and each runs under isolation level READ COMMITTED, which sums could be produced by Alice's transaction?

  6. Hard Disk • Disk geometry … • Block access time… • Elevator algorithm, double-buffering • See Assignment 3

  7. Representing Data Elements • Hierarchy of data elements • Types of records: • Main choices: • FIXED vs VARIABLE FORMAT (SCHEMA) • FIXED vs VARIABLE LENGTH

More Related