Presentation on theme: "DBMS1 Database Management System (DBMS) Introductory Concepts Week-1."— Presentation transcript:
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1
DBMS2 Database Management System DATA & INFORMATION FILE-BASED SYSTEMS DATABASE DATABASE MANAGEMENT SYSTEMS (DBMS) DB LANGUAGES DB USERS DB SCHEMAS DBMS FACILTIES DATA DICTONARY HISTORY – DATABASE MODELS Topics Overview
DBMS3 What are Data? Data are raw facts or figures. What is Information ? Information is processed data which gives meaning to the user. Data and Information Information is produced by processing data. Information is used to give the meaning of data. Good, relevant, and timely information is the key to good decision making. Good decision making is the key to organizational success.
DBMS4 What is a File Base System ? It is the storage area in a computer system where user stores programs and data permanently. User programs and data are stored in individual files in the file system. A file is a collection of data or program instructions.
DBMS5 Examples of Files a file named “ students" might contain information about the different students in the college. a file named “teachers" might contain information about the different teachers working in the college. a file named "Aircraft" might contain information about the different types of aircraft used by a particular airline company.
DBMS6 LIMITATIONS OF FILE-BASE SYSTEM REDUNDANCY ( DUPLICATION ) The use of individual data files lead to situations in which an organization maintains many copies of the same basic information. INCONSISTENCY (NOT CORRECT) SEPARATION AND ISOLATION NO SHARING OF DATA PROGRAM & DATA DEPENDENCE
DBMS7 DATABASE Definition A DATABASE IS A COLLECTION OF SELF-DESCRIBING, INTEGRATED AND ORGANISED DATA. (It is a collection of related files) Examples of Manual System: DICTIONARY (English Words - Meaning) NEWSPAPER BOOK INDEX
DBMS8 DATABASE MANAGEMENT SYSTEM (DBMS) Definition A DBMS is a set of programs that allow users to create the database and also allow to access, modify, print, add and delete the data from a database. Different DBMS Software are : ORACLE ACCESS SQL SERVER DB2
DBMS9 Examples of Database Applications: Student Registration System Computerized Library Systems Stock/Inventory Management Systems Flight Reservation Systems Automated teller machines Hotel Management System Hospital Management System
DBMS10 ADVANTAGES OF DATABASE MANAGEMENT SYSTEMS CONTROL REDUNDANCY CONSISTENCY INTEGRITY SECURITY DATA SHARING EASY MAINTENANCE MORE INFORMATION BACKUP & RECOVERY DATA STANDARD
DBMS12 USERS/ROLES IN DATABASE ENVIRONMENT DATABASE DESIGNER designing logical & physical database APPLICATION PROGRAMMER writing programs to create the database using DBMS software DATA ADMINISTRATOR & DATABASE ADMINISTRATOR doing database administration works END-USER users of the system
DBMS13 Duties or Responsibilities of Database Administrator Makes policy and strategic decisions. E.g. Purpose of the database, which data processing is done by the DBMS? Defining Security & Integrity Rules E.g. Create user-ids and passwords Defines Backup procedures E.g. When to take backup and what data is to be backed-up? Monitoring performance and responding to changing requirements. E.g. Is the query fast enough? Does the report satisfy the mangers? Defines the conceptual schema E.g. Design the schema based on users’ views Defines the internal schema E.g. How should the schema be implemented – Relational DBMS?
DBMS15 Database Languages A special database language called (SQL) Structured Query Language is used to create the database, query the database, process the data and maintain the data base. SQL includes three types of languages: DATA DEFINITION LANGUAGE (DDL) DATA MANIPULATION LANGUAGE (DML) Procedural DML Non-procedural DML DATA CONTROL LANGUAGE (DCL) Also another language called Fourth-Generation Language used for creating Forms, reports, graphics, & applications.
DBMS17 Database Schemas The over all design of the database is called database schema. The user’s view of database is called subschema or external schema. The process of designing the database using the models based on user’s view is called conceptual schema. The physical implementation of database is called internal schema.
DBMS18 DATABASE MANAGEMENT SYSTEM (DBMS) FACILITIES SECURITY SYSTEM INTEGRITY SYSTEM BACKUP & RECOVERY SYSTEM QUERY LANGUAGES CATALOG MANAGEMENT APPLICATION GENERATOR
DBMS19 SYSTEM CATALOG Data Dictionary It is a data about data. It contains complete information about the database such as what are the tables, data items, constraints, grants, users, etc. Common Eg : File Manager in windows
DBMS20 HISTORY OF DBMS - Database Models FIRST GENERATION –HIERARCHICAL MODEL INFORMATION MANAGEMENT SYSTEM (IMS) –NETWORK MODEL CONFERENCE ON DATA SYSTEM LANGUAGES (CODASYL) DATA BASE TASK GROUP (DBTG) SECOND GENERATION –RELATIONAL MODEL DB2, ORACLE THIRD GENERATION –OBJECT-RELATIONAL DATA MODEL –OBJECTED-ORIENTED DATA MODEL