Docsity

Introduction aux Systèmes de Bases de Données: FWD151, Exercices de Territoire et développement durable

Aperçu partiel du texte

Télécharge Introduction aux Systèmes de Bases de Données: FWD151 et plus Exercices au format PDF de Territoire et développement durable sur Docsity uniquement!

Database Systems

FWD

TOPIC 1: Introduction to Database System

Course Description

2  This course deals with the fundamentals of database systems. It includes the following topics: introduction to database system, the relational data model, SQL data definition, constraints, and basic queries and updates, database query languages, database design fundamentals, conceptual data modeling, mapping conceptual data modeling to relational data modeling, and database anomalies & normalization. DR.ASMAA HATEM RASHID

Learning Resources

DR.ASMAA HATEM RASHID 4

Assessment Tasks for Students

5 Assessment Percentage FIRST EXAM 20% SECONDE EXAM 20% Quizzes/ Individual Homework/ Projects 20% FINAL EXAM 40% DR.ASMAA HATEM RASHID

1. Introduction to Database

7  Data: Known facts that can be recorded and have an implicit meaning.  Database: A Collection of related data elements that are systematically organized with relationships among those elements (A collection of related data).  Database Management System (DBMS): A software package/ system to facilitate the creation and maintenance of a computerized database.  Database System: The DBMS software together with the data itself. Sometimes, the applications are also included.  An example of a database is the library card: Each card, contains facts (author, title, call number) that are organized (alphabetically by title) to make finding the item much easier.

1. Introduction to Database

8

Structured

Object

Data Metadata

  • Actual Stored Data
    • Data about Data.
    • Describes the structure “tables. definitions”.

3. Simplified database system environment

10

4. Database Properties

11  Database properties refer to the fundamental characteristics and behaviors that define the structure, operations, and management of databases. Structured data: Organized in tables, rows, and columns for efficient access and relationships. Data integrity: Ensures accuracy and consistency through constraints and rules. Data independence: Logical structure separate from physical storage, enabling flexibility. Data security: Protected against unauthorized access, modification, or destruction. Data consistency: Maintained across multiple transactions and updates. Scalability: Accommodates growth in data volume and user demands without performance issues. Data recovery: Mechanisms for backup and restoration to ensure availability.

5. Main Characteristics of the Database

Approach

13 3) Data Abstraction:  A data model is used to hide storage details and present the users with a conceptual view of the database.  Programs refer to the data model constructs rather than data storage details 4)Support of multiple views of the data:  Each user may see a different view of the database, which describes only the data of interest to that user.

5) Sharing of data and multi-user transaction processing:

 Allowing a set of concurrent users to retrieve from and to update the database.  Concurrency control within the DBMS guarantees that each transaction is correctly executed or aborted  Recovery subsystem ensures each completed transaction has its effect permanently recorded in the database  OLTP (Online Transaction Processing) is a major part of database applications. This allows hundreds of concurrent transactions to execute per second.

6. Database Users

14  Database users are individuals or entities that interact with a database system to access, manipulate, or manage data. They possess varying levels of expertise and interact with databases through diverse interfaces and tools. The database user types as:

A) Roles

1) Actors on the Scene: Interact directly with the database content.

  • Database Administrators : Manage access, monitor usage, optimize operations.
  • Database Designers : Define data structure, functions, and user needs.
  • End Users : Access and manipulate data for specific tasks.
    • Casual : Occasional users with specific needs.
    • Naive/Parametric : Large group using pre-defined "canned transactions."
      • Mobile App Users : Typical examples of parametric users.
      • Transactional Workers : Bank tellers, reservation clerks.
    • Sophisticated : Familiar with system capabilities, utilize advanced tools.
    • Standalone : Maintain personal databases with packaged applications.

6. Database Users

B) Expertise Levels:

  • Naive/Parametric: Limited knowledge, rely on pre-defined functionalities.
  • Sophisticated : Advanced users with in-depth system understanding.
  • Standalone : Manage personal databases without technical expertise.

C) Access Frequency:

  • Casual : Occasional users with infrequent database interactions.
  • Frequent : Regular users accessing the database for daily tasks 16

6. Database Users

D) Interaction Methods:

• Applications: Pre-defined interfaces for data access and manipulation.

• Tools: Specialized software for advanced database tasks.

• Direct Queries: Advanced users interacting directly with the database

E) Data Manipulation:

• Read/Query: Users accessing and analyzing existing data.

• Update/Modify: Users adding, editing, or deleting data elements

17

8. Database systems components

9. Database Systems Components

DBS Components H/W CPU Memory HDD

S/W
DBMS

Application Data Users DB Analyst DB Designer DBA Developers End Users