130 likes | 274 Views
Chapter One (Introduction). Objectives Introduction to Database Management Systems (DBMS) Relational Databases Model Restrictions of RD Database Life Cycle. Definitions. Introduction to Databases. Database Management Systems(DBMS) Relational Database Management System.
E N D
Chapter One (Introduction) Objectives Introduction to Database Management Systems (DBMS) Relational Databases Model Restrictions of RD Database Life Cycle
Definitions • Introduction to Databases. • Database Management Systems(DBMS) • Relational Database Management System
Relational DBMS • RDBM: Data are represented as a set of tables (relation is a mathematical term for a table) • Originated by E.F. Codd (1970) • Based on sets theory
Structure of RDBM: • A set of relations (Tables) • Each relation has a unique name • Each relation has a set of attributes (Columns) • Each relation has a set of tuples (Rows)
Restriction on RDBM: • No two tuples are the same • No two attributes are the same • The order of tuples are immaterial • The order of attributes are immaterial • There is an attribute or a collection of attributes which identifies tuples uniquely called Primary Key • Value of attribute must be atomic
Restriction on RDB: (Continued) Example: Student ( Name, Id, Gpa );
Domains • A set of legal values for an attribute (types)
Database Life Cycle • Analysis: • Study and analyze business requirements • Interview managers and users for the information requirements • Develop a system specification
Database Lifecycle • Design (Data Models) • Entity relational model (ER) • Unify modeling language (UML) • Check the design • Build the Databases/Document/Test • Create tables and views, and programs • Produce manuals
Database Lifecycle • Product delivery • Load the software • Monitor the performance
Practice (Analysis): • Develop a System Specification for a video store: