Docsity

Introduction to Databases: Week 1 - Data, Information, and Database Management Systems, Summaries of Database Management Systems (DBMS)

Partial preview of the text

Download Introduction to Databases: Week 1 - Data, Information, and Database Management Systems and more Summaries Database Management Systems (DBMS) in PDF only on Docsity!

Introduction to Databases

Week

Dr Seun Olukanmi

Outline

  • Introduction
  • The difference between data and information
  • What is a database
  • Database Management Systems
  • Types of databases
  • The importance of database design

Question

Mention examples of databases

you know.

Question

Why do we need Databases?

Why Databases?

  • Data is everything in life
  • All businesses and institutions revolve around data
  • We need this information to be able to easily make decisions
  • Data is usually large in size; it can range from a couple of hundred megabytes to a

few terabytes

  • How can these businesses process this much data? How can they store it all, and

then quickly retrieve just the facts that decision-makers want to know? The

answer is that they use databases.

Question

Is Data the same as Information?

YES or NO

Data

  • Raw, unprocessed facts.
  • No context, meaning, or structure.
  • Collected from various sources.
  • Quantitative or qualitative.
  • Requires analysis to become useful. Information
  • Processed, organized data.
  • Provides context and meaning.
  • Used for decision making.
  • Interpreted and structured.
  • Result of data processing and

analysis.

Data:

  • Sales figures: $20,000, $15,000, $25,
  • Dates: 1 Jan, 2 Jan, 3 Jan
  • Product names: Nike, Puma, Adidas
  • This data is just a collection of numbers and names. It doesn't tell you anything beyond the raw figures and facts. Information:
  • Adidas had the highest sales on January 3 with $25,000.
  • There was a 25% increase in sales from January 1 to January 3.
  • The average daily sales for the first three days of January were $20,000.
  • This information, derived from the raw data, provides insights and context , such as trends, performance of specific products, and overall sales efficiency. Example of data vs information

✓ Data constitutes the building blocks of

information.

✓ Information is produced by processing data.

✓ Information is used to reveal the meaning of data.

✓ Accurate, relevant, and timely information is the

key to good decision-making.

✓ Good decision-making is the key to organizational

survival in a global environment.

Key Takeaways

Introducing the idea of a Database

  • Data management - A process that focuses on data collection, storage, and retrieval. Common data management functions include addition, deletion, modification, and listing.
  • Efficient data management typically requires the use of a database
  • Database - A shared, integrated computer structure that houses a collection of related data. A database contains two types of data:
  • end-user data (raw facts) and
  • metadata. (Data about Data)

Database Management System (DBMS) - The collection of programs that manages the database structure and controls access to the data stored in the database. The DBMS serves as the intermediary between the user and the database Roles:Data Storage Management: A DBMS efficiently organizes and stores data in a structured format, such as tables, which facilitates easy access and management of data.  Data Retrieval: It allows users to retrieve specific information from the database through a query language like SQL, enabling them to access the exact data they need from the vast amounts stored in the database.  Data Security: A DBMS ensures that only authorized users can access the database, protecting sensitive data through user authentication, access controls, and, in some cases, encryption.  Data Integrity and Consistency: The DBMS enforces rules and constraints that maintain the accuracy and consistency of data throughout its lifecycle. This includes integrity constraints like primary and foreign keys. Database Management System (DBMS)

Interaction between DBMS and end users

  • The DBMS receives all application requests and translates them into the complex operations required to fulfill those requests.
  • The DBMS hides much of the database’s internal complexity from the application programs and users

Types of Databases

  • Databases can be classified based on: ▪ Number of users ▪ Location of data ▪ Type of data stored ▪ Intended data usage ▪ Structure of the data

Types of Databases – Number of users

  • Single-user database : Supports one user at a time
    • Desktop database : Runs on PC
  • Multiuser database : Supports multiple users at the same time - Workgroup databases : Supports a small number of users or a specific department (typically < 50 users) - Enterprise database : Supports many users across many departments (> 50 users)