Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Chapter 10: Designing Databases
The Hierarchical Model
C6 Databases.
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 3 The Relational Model Transparencies © Pearson Education Limited 1995, 2005.
ETEC 100 Information Technology
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Database Management: Getting Data Together Chapter 14.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Data Base Management System
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
IST Databases and DBMSs Todd S. Bacastow January 2005.
The Relational Database Model
What is a Database? A database is any collection of data.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
Chapter 4 The Relational Model Pearson Education © 2014.
Chapter 4 The Relational Model.
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Database Technical Session By: Prof. Adarsh Patel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Introduction to Database Systems
Concepts and Terminology Introduction to Database.
311: Management Information Systems Database Systems Chapter 3.
Prof. Sujata Rao Introduction to Computers & MIS Data Base Concepts Lesson 8.
Chapter 3 The Relational Model. 2 Chapter 3 - Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Database Concepts. Data :Collection of facts in raw form. Information : Organized and Processed data is information. Database : A Collection of data files.
Database Systems, 9th Edition 1.  In this chapter, students will learn: That the relational database model offers a logical view of data About the relational.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Lection №4 Development of the Relational Databases.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Session 1 Module 1: Introduction to Data Integrity
Object storage and object interoperability
Chapter 3 The Relational Database Model. Database Systems, 10th Edition 2 * Relational model * View data logically rather than physically * Table * Structural.
Chapter-1- Basic Concepts Reference: Prof. Mona Mursi Lecture notes
The Relational Model © Pearson Education Limited 1995, 2005 Bayu Adhi Tama, M.T.I.
Chapter 4 The Relational Model Pearson Education © 2009.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Fundamental of Database Systems
Logical Database Design and the Rational Model
DATABASE CONCEPT Class XI Presented by : Dinesh Patel PGT [Comp. Sc.]
Chapter 4 Relational Databases
Database Concepts.
Database.
Chapter 4 The Relational Model Pearson Education © 2009.
Databases.
Data Model.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Database Design Hacettepe University
Chapter 4 The Relational Model Pearson Education © 2009.
DATABASE Purpose of database
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND

What is the Database?  A database is a collection of interrelated data stored together to serve multiple application.  It work like a container which contains the various object like Tables, Queries, Reports, Procedures in organized way.

What is the Database Management System (DBMS)?  A DBMS refers to a software that is responsible for storing, maintaining and utilizing database in an efficient way.  A Database along with DBMS software is called Database System.  Example of DBMS software are Oracle, MS SQL Server, MS Access, Paradox,DB2 and MySQL etc.  MySQL is open source freeware DBMS.

Why Database System is used?  Databases reduces Redundancy: It removes duplication of data because data are kept at one place and all the application refers to the centrally maintained database.  Database controls Inconsistency: When two copies of the same data do not agree to each other, then it is called Inconsistency. By controlling redundancy, the inconsistency is also controlled.  Database facilitate Sharing of Data: Data stored in the database can be shared among several users.

 Database ensures Security: Data are protected against accidental or intentional disclosure to unauthorized person or unauthorized modification.  Database maintains Integrity: It enforces certain integrity rules to insure the validity or correctness of data. For ex. A date cant be like 25/25/2000.  Database enforces Standard: Database is maintained in a standard format which help to data interchange or migration of data between two systems.

 Duplication of data is known as Data Redundancy.  Data Security refers to protection of data against accidental or intentional disclosure to unauthorized person, or unauthorized modification or destruction.  Privacy of data: The right of individuals and organizations to determine for themselves when, how, and to what extent information about them is to be transmitted to others.  it a collection of interrelated files and a set of programs that allow users to access and modify these files is known as a data management system.

 What is Database Abstraction? A Database system being a collection of files and set of programs, allows access data in secure way. It provides the required information to various types of users like end users, Administrator but hides the technical details that how data is stored ?  A database is implemented through three general levels-  Internal Level (Physical Level): Describes how the data are actually stored on the storage media. At this level low-level data structure are described. It is more closure to Physical storage.  Conceptual Level (Logical Level): This level describes What data are actually stored in the database.In this level database is represented in logically in terms of simple data- structure. It also describes the relationships exists among data.

 External Level (View Level): This level is concerned with the way in which the data are viewed by individual users. This level is more closure to users. Since users are not concerned with the technical how and what Data is stored. Instead they need only relevant data through a query.

What is Data Independence?  As discussed earlier, a Database is organized in three levels of abstractions, any change in one level may affect other level’s schema.  The Ability to modify a schema definition (structure) in one level without affecting a schema definition in the next higher level is called Data Independence.  Two types of Data independence may be-  Physical Data Independence: This is the ability to change in Physical Level without affecting Logical or Conceptual level. This Independence refers the change of physical structure without affecting the Application programs and structure of the database.

 Logical Data Independence: This is the ability to change in Logical level without affecting View or External level. This Independence refers the change of Logical structure without affecting the Application programs or User interface at User end.

 What is Data Model?  At External Level or Conceptual level of Database system, certain data model (Presentations) are used which shows ‘How data is organized or stored in the database. These Data Presentations are known as Data Models.  There are three types of data model  Relational Data Model: In this model data is organized into Relations or Tables (i.e. Rows and Columns). A row in a table represents a relationship of data to each other and also called a Tuple or Record. A column is called Attribute or Field.

 Network Data Model: In this model, data is represented by collection of records and relationship among data is shown by Links.  Hierarchical Data Model: In this model, Records are organized as Trees. Records at top level is called Root record and this may contains multiple directly linked children records.  Object Oriented Data Model: In this model, records are represented as a objects. The collection of similar types of object is called class.

 Various Terms used in the Relational Model  Relational Model was developed by E.F.codd of the IBM and used widely in the most of the DBMS.  Relation (Table): A Relation or Table is Matrix like structure arranged in Rows or Columns.  It has the following properties-  All items in a column are homogeneous i.e. same data type.  Each column assigned a unique name and must have atomic (indivisible) value.  All rows of a relation are distinct i.e. no two identical rows (record) are present in the Relation.  Ordering or Rows (Records) or Columns (fields) are immaterial.

 Domain: It is collection of values from which the value is derived for a column.  Tuple / Entity / Record: Rows of a table is called Tuple or Record.  Attribute/ Field: Column of a table is called Attribute or Field.  Degree: Number of columns (attributes) in a table.  Cardinality: Number of Records in a table.  Views: is a table that does not really exist in its own right but is instead derived from one or more underlying base tables.

Concept of Keys  As discussed earlier, In a Relation each record must be unique i.e. no two identical records are allowed in the Database. A key attribute identifies the record and must have unique value.  Primary Key: A set of one or more attribute that can identify a record uniquely in the relation is called Primary Key.  Candidate Key: All attribute combinations that can serve as primary key are called Candidate keys as they are candidate to become as primary key.  Alternate Key: A Candidate Key that is not a Primary key is called Alternate key.

 Foreign Key: A non-key attribute whose values are derived from the primary key of some other table is called Foreign key in its current table.  Primary key of one table is a foreign key of other table  Foreign Key is used to implement Referential Integrity in the Database.  Referential Integrity: It is a system of rules that a DBMS uses to ensure that relationships between records in related tables are valid, and that users don’t accidentally delete or change related data.