Docsity

Database Systems: Understanding the Basics of DBMS and Databases, Lecture notes of Design history

Partial preview of the text

Download Database Systems: Understanding the Basics of DBMS and Databases and more Lecture notes Design history in PDF only on Docsity!

Introduction to Databases

Watch video: https://youtu.be/4MF5yYsphik?t=16m05s

Topics List

  • Some common uses of database systems.
  • File-based systems.
  • Meaning of the term database.
  • Meaning of the term Database Management System (DBMS).
  • Typical functions of a DBMS.

Questions:

  • What is data?
  • What is a database?
  • What are some common uses of a database?

Examples of Database Applications

  • Purchases from the supermarket
  • Purchases using your credit card
  • Booking a holiday
  • Using the local library
  • Using the Internet
  • Studying at university

File-Based Systems

  • Collection of application programs that perform services for the end users (e.g. reports).
  • Each program defines and manages its own data.

File-Based Processing

Limitations of File-Based Approach

  • Data dependence
    • File structure is defined in the program code.
  • Incompatible file formats
    • Programs are written in different languages, and so cannot easily access each other’s files.
  • Fixed Queries/Proliferation of application programs
    • Programs are written to satisfy particular functions.
    • Any new requirement needs a new program.

Database Approach

  • Arose because:
    • Definition of data was embedded in application programs, rather than being stored separately and independently.
    • No control over access and manipulation of data beyond that imposed by application programs.
  • Result:
    • the database and Database Management System (DBMS).

Database

  • Shared collection of logically related data (and a description of this data), designed to meet the information needs of an organisation.
  • System catalog (metadata) provides description of data to enable program–data independence.
  • Logically related data comprises entities, attributes, and relationships of an organisation’s information.

Topics List

  • Some common uses of database systems.
  • File-based systems.
  • Meaning of the term database.
  • Meaning of the term Database Management System (DBMS).
  • Typical functions of a DBMS.

Topics List

  • Some common uses of database systems.
  • File-based systems.
  • Meaning of the term database.
  • Meaning of the term Database Management System (DBMS).
  • Typical functions of a DBMS.

Database Management System (DBMS)

Database Approach

  • Controlled access to database may include:
    • a security system
    • an integrity system
    • a concurrency control system
    • a recovery control system
    • a user-accessible catalog.

Views

  • Allows each user to have his or her own view of the database.
  • A view is essentially some subset of the database.