Database Management System CCPS1533 Dr. Abdulsamad Ebrahim.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Content 15.1 Basic features Types of database Data structures 15.2 Creating a database Screen layout Entering data Editing data 15.3 Displaying data Searching.
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Management Information Systems, Sixth Edition
Database Management: Getting Data Together Chapter 14.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Databases and Database Management Systems
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Chapter 1 Introduction to Databases
CSC 351 FUNDAMENTALS OF DATABASE SYSTEMS
Are you keeping records of any of your day to day activities?
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Database Management System Lecture 2 Introduction to Database management.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
2.3 Organising Data for Effective Retrieval
Database Lecture # 1 By Ubaid Ullah.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Database Management System Lecture 6 The Relational Database Model – Keys, Integrity Rules.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Introduction: Databases and Database Users
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Management Information Systems By Effy Oz & Andy Jones
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
Databases and Database Management Systems
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Database Management System Lecture 4 The Relational Database Model- Introduction, Relational Database Concepts.
© 2007 by Prentice Hall 1 Introduction to databases.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Database Terminology Database Terminology. DATA: Data is a collection of raw facts and figures and is represented in alphabets, digits and special characters.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
CS 1308 Computer Literacy and the Internet
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
Introduction to Database Tonga Institute of Higher Education NOS 215.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Database Concepts Track 3: Managing Information using Database.
Unit 5 Advanced Databases The Purpose and features of a relational database.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
1 Lecture1 Introduction to Databases Systems Database 1.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Outline Types of Databases and Database Applications Basic Definitions
Introduction to Computing
DATA MODELS.
Chapter 12 Information Systems.
Chapter 4 Relational Databases
What is a Database and Why Use One?
Chapter 2 Database Environment.
Data Model.
DATABASES WHAT IS A DATABASE?
Presentation transcript:

Database Management System CCPS1533 Dr. Abdulsamad Ebrahim

Lecture 1 Introduction to Database Management

Learning Outcomes Grasp the definition of a database. Get introduced to the main building blocks for a database. Understand the requirements of database applications Understand and explain basic database characteristics. Appreciate how databases can be categorized based on size.

Terminology Data Information to be manipulated, stored, combined, analysed etc. Database A collection of related information stored in a structured format DBMS Database management system. A programs which lets you manage information in dat abases

Table A single store of related information. A table consists of records, and each record is made up of a number of fields - FieldElementary piece of data - RecordSet of fields

Database Definition A database is an environment for : Storing a large amount of information in a structured way And allowing the rapid retrieval and update of information and the combination of data in complex ways This environment must be coherent, reliable and secure

Examples of database applications Booking systems Bank clients management, Backend storage for an e-commerce web site, Books and readers management in a library

Main building blocks for a traditional database A field is the smallest granularity of information, A record is set of fields combining a number of data items possibly of different types, A file is a collection of records.

Database example A library in the real physical world contains books borrowed by readers. A database supporting a library could logically maintain the data related to a library as follows:

A library file which is composed of a collection of: - book - reader and - borrowing records

Book record Each book in the library can be represented in the database as a: book record which could be composed of the following fields: title authors publisher and publication date.

Book records in a library database Book identifierTitleAuthorsPublisherPublication date 1A Tale of Two CitiesCharles Dickens London: Chapman & Hall For Whom the Bell Tolls Ernest HemingwayCharles Scribner's Sons 1940

Reader record Each reader who is a member of the library can be represented by a: reader record which contains the following fields: first name last name address subscription date.

Reader records in a library database Reader identifier Firs tnameLast nameAddress subscription date 1JohnSeaman 50 Dover Street, London 11/11/03 2BarbaraJames22 Northbourne Road, London 06/07/99

Borrowing records Library borrowing can be represented by: borrowing records each of which can be composed of book : identifier, reader identifier, start date and end date.

Borrowing records in a library database Borrowing identifierBook identifierReader identifierStart dateEnd date 12207/09/1011/12/ /06/1007/08/10

Database Application Requirements 1-Presentation Requirement A graphical standard should be used to visualize the database irrespective of the underlying computing technology used to support the database.

Example: consider a Library database which has book, author and reader entities. It includes borrow and write actions. Such database can be graphically modeled as shown in flowing Figure

2-Data Creation/Modification Requirements Inserting new data to the database (e.g. inserting new books, new readers, registering borrowing, etc.) To be able to modify and eventually deleting a set of data (e.g. modifying the address of a reader, deleting a reader or a book)

3-Interrogation Requirements An application should be able to query a database to: - Retrieve data that meets certain conditions.

Examples of an application queries to a library database could be : Information on every book in the database which has been borrowed only by one reader. Information on readers with subscription date before 01/01/2000 Information on a book written byOsama Ahmad and borrowed by Khalid Jamal.

4. Accuracy / Consistency Requirements A database system must guarantee that data inserted and manipulated by an application are kept accurate and consistent without errors. For example: A book copy can never be borrowed by two readers at the same time. The start date of borrowing must be before the end date

Database Characteristics A number of main characteristics must be commonly found in any database which include: A database is an integrated structure with semantic links between its entities. Integrity constraints must be met while data is manipulated to ensure data accuracy and consistency. Security constraints must exist to manage database access..

Supporting data manipulation operations including data insertion, deletion, updating and searching. Data insertion and update must be coherent, shared, reliable and secure

Database Sizes Databases can be classified according to their size : Personal Database: this type of database is small in size and usually used by a single user. It is usually installed on a PC. The size of such database is 100KB- 100MB. Typical Professional Database: generally used by SMEs (Small to Medium Enterprises). Their size varies between 100MB and 1TB. Very Large Database (VLDB): The size of such database usually exceeds 1 TB.

Summary The definition of database notion. The requirements of database applications. The basic characteristics of a database. Database types based on size.

Exercises What are the requirements of database applications Explain how fields, records and files are building blocks of a database system. What is the size of a typical VLDB database

Thank You