Chapter 1
Chapter 1
[email protected]
Course Content
• Introduction
• Definitions
• Classifications
• Data Modelling
• Relational Databases
• Querying Relational Databases
• Development of Relational Database Systems
• Database Development
• Database Application Development
• Transaction Management
Bibliography
• Definitions
• Components of a database system
• Internal architecture of database systems
• Advantages of database systems
• Classification of database systems
• Data modelling
• Evolution of database systems
Definitions
• Software:
• Operating systems, libraries, development tools, interfaces
• Database Management System ( DBMS) - receives user requests for access to
the database, interprets them, executes the corresponding operations and
returns the result
• Database Applications - programs that create and use databases
Components of a database system
• Users:
• Database administrator
• Analysts and designers of databases
• Application developers
• End users
Components of a database system
• Main advantages:
• High data compaction
• High speed for DML operations (insert, update, delete)
• Representing complex associations between data
• Controlled (and lower) data redundancy
• Independence of data over the hardware used
• Data security: user authentication and access authorization
• Integrity restrictions (constraints) on inserting and updating data
• Maintaining the integrity of data in case of failures: rescue and restoration
• Possibility to share data among several types of users with concurrent access
Classification of database systems
• Strong entities
• CUSTOMERS (Username, First name, Last name, Email, etc.)
• CATEGORIES (Name)
• PRODUCTS (Name, Price, Description, etc.)
• Weak entities
• ORDERS (Date, etc.) – depends on CUSTOMERS and PRODUCTS
• Associations:
• PRODUCTS – CATEGORIES (M:M)
• CUSTOMERS – ORDERS (1:M)
• ORDERS – PRODUCTS (M:M)
Entity-Relationship (ER) Diagram