Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Review Indra Budi Fakultas Ilmu Komputer UI 2 Database Introduction Database vs File Processing Main purpose of database Database Actors.
Review for Final Test Indra Budi
Accounting System Design
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
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.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
...Looking back Why use a DBMS? How to design a database? How to query a database? How does a DBMS work?
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Entity-Relationship Design
Chapter One Overview of Database Objectives: -Introduction -DBMS architecture -Definitions -Data models -DB lifecycle.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
Web-Enabled Decision Support Systems
Database Technical Session By: Prof. Adarsh Patel.
Introduction to Databases A line manager asks, “If data unorganized is like matter unorganized and God created the heavens and earth in six days, how come.
Database Management Systems Accounting Information Systems, 5 th edition James A. Hall COPYRIGHT © 2007 Thomson South-Western, a part of The Thomson Corporation.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Q1: What is DBMS and explain its architecture. Q2: Explain Data Independence in detail. Q3: What is database user and explain the types of database user.
Concepts and Terminology Introduction to Database.
CS 474 Database Design and Application Terminology Jan 11, 2000.
SQL Structured Query Language Programming Course.
1 CS 430 Database Theory Winter 2005 Lecture 16: Inside a DBMS.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Database Design Methodology. Lesson 1: Introduction to Databases.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
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.
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Relational Data Model, Review Relation Tuple Attribute Domains Candidate key, primary key Key attribute, non-key attribute.
CS4222 Principles of Database System
Database Management Systems
DBMS Questions and Answers.
Introduction to the database systems (1)
An Introduction to database system
Conceptual and Physical Database Design
Information Systems Today: Managing in the Digital World
Functions of a Database Management System
Database Management System
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Databases and Database Management Systems Chapter 9
CPSC-310 Database Systems
Chapter 4 Relational Databases
Payroll Management System
Database Management System
Translation of ER-diagram into Relational Schema
Chapter 9 Designing Databases
Introduction to Database Management System
Accounting System Design
File Systems and Databases
Physical Database Design
Practical Database Design and Tuning
Introduction to Database Systems CSE 444 Lecture 23: Final Review
Data Model.
Accounting System Design
CMPE/SE 131 Software Engineering March 9 Class Meeting
Chapter 17 Designing Databases
CSE594: REVIEW.
Advanced Database System
Question 1: Basic Concepts (45 %)
Introduction to Database Systems CSE 444 Lecture 23: Final Review
The Database Environment
Final Review Friday, December 8, 2006.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Presentation transcript:

Review #1 Intro stuff What is a database, 4 parts, 3 users, etc. Architecture Data independence Three levels, two mappings Jobs of the DBA

Review #1 Entity Relationship Model Entities, Relationships, E-R Diagram Relationship types Conversion to a set of tables. GRADUATE STUDENTS: Extended ER Features, such as multivalued attributes, total participation, cardinality limits, etc. Relational Model (Informal) Primary and Foreign Keys Ability to add additional constraints

Review #1 ORACLE/SQL: Creating tables Inserting, deleting, updating (Lab 1) Querying Simple queries Joins Non-Relational Queries – Group By, etc. (Lab 2) Something from the text.

Sample Question: (5 pts) What is a database?

Sample (Bad) Answer #1: (5 pts) What is a database? A set of tables.

Sample (Bad) Answer #2: (5 pts) What is a database? A database is a collection of related data. A Relational Database is one that stores this data in a set of tables. Example 1: A banks stores customer information, their accounts and transactions. Example 2: A university stores information about its students, courses, and registration information. Databases consist of data, hardware, software, and end users. The data is called persistent data; the software is called the DataBase Management System. There are 3 types of users: end users, application programmers, and database administrators.

Sample (Bad) Answer #2 (cont): A database is designed in 3 levels: internal, conceptual, and external. To do the conceptual level design, we use the Entity Relationship Model. This requires us to decide upon our entities, relationships, draw an E-R Diagram, decide on the type of relationships, and then develop a set of tables from this completed diagram. There are 3 types of relationships: 1 to1, 1 to many, and many to many. The external level is what the individual users are permitted to see; the internal level consists of the file structures, which are B-Trees, Clustered B-Trees, Hashing, and Clustered Files.

Sample (Good) Answer #3: (5 pts) What is a database? Informally, a database is a collection of related data. The most common model is the Relational model, which groups the data into tables with linkages (known as Foreign Keys) to model the relationships.

Review #2 Relational Model Definitions Properties of relations Keys -- Candidate, Primary, Alternate, Foreign Integrity Constraints. Relational Algebra English  Relational Algebra  Tables Optimization Relational Calculus English  Relational Calculus  Tables

Review #2 Internal Level design/ External Level design File Structures and Analysis GRADUATE STUDENTS: Advanced File Structures GRADUATE STUDENTS: Extended Relational Algebra English <==> Extended RA ORACLE/SQL Views (need to review Querying for this) Privileges Creating File Structures in SQL Advanced CREATE TABLE options LAB 3

Final Review (updated for Spring 2018) Intro Stuff Architecture Three levels, two mappings File Structures – What and when to use E-R Model Design Relational Model Keys, Integrity constraints, etc. Query Optimization Using Relational Algebra. Relational Algebra or Relational Calculus Queries GRADUATE STUDENTS – Know BOTH.

Final Review 2 GRADUATE STUDENTS: Extended Relational Algebra Conversion from RC to RA (not on final) Functional Dependencies Definitions, Axioms Spot them Proof of Candidate Keys Graduate Students: Proof of Minimality Normal Forms, 1NF Definition Spot violations Normalization

Final Review 3 Normal Forms, 2NF, 3NF, BCNF Definitions -- Formal and Informal Spot violations Normalization through decomposition Multi-Value Dependencies Definitions, Axioms Find them, using quick & dirty method and t1, t2, t3 method. 4NF Definition, find violations, normalization GRADUATE STUDENTS: Join dependencies and 5NF

Final Review 4 Hierarchical Model – Not on FINAL Definition, Advantages, Disadvantages Type, Occurrence Trees, Virtual Links Design Transaction Analysis Locks, Commit & Rollback Buffers, Checkpoints, Transaction Logs Recovery Algorithm Oracle/SQL Labs 1, 2, 3 Lab 4 – Code SEGMENT only