SlideShare uma empresa Scribd logo
1 de 23
Introduction to Databases
     Transparencies




   © Pearson Education Limited 1995, 2005
Chapter 1 - Objectives

  Some common uses of database systems.
  Characteristics of file-based systems.
  Problems with file-based approach.
  Meaning of the term database.
  Meaning of the term Database Management
  System (DBMS).




               © Pearson Education Limited 1995, 2005
Chapter 1 - Objectives
  Typical functions of a DBMS.
  Major components of the DBMS environment.
  Personnel involved in the DBMS environment.
  History of the development of DBMSs.
  Advantages and disadvantages of DBMSs.




               © Pearson Education Limited 1995, 2005
Examples of Database Applications

  Purchases from the supermarket
  Purchases using your credit card
  Booking a holiday at the travel agents
  Using the local library
  Taking out insurance
  Renting a video
  Using the Internet
  Studying at university

                © Pearson Education Limited 1995, 2005
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.




                 © Pearson Education Limited 1995, 2005
File-Based Processing




               © Pearson Education Limited 1995, 2005
Limitations of File-Based Approach
  Separation and isolation of data
   – Each program maintains its own set of data.
   – Users of one program may be unaware of
     potentially useful data held by other programs.

  Duplication of data
   – Same data is held by different programs.
   – Wasted space and potentially different values
     and/or different formats for the same item.


                  © Pearson Education Limited 1995, 2005
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 needs1995,new program.
                 © Pearson Education Limited a 2005
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).



                  © Pearson Education Limited 1995, 2005
Database
  Shared collection of logically related data (and
  a description of this data), designed to meet the
  information needs of an organization.

  System catalog (metadata) provides description
  of data to enable program–data independence.

  Logically related data comprises entities,
  attributes, and relationships of an
  organization’s information.

                 © Pearson Education Limited 1995, 2005
Database Management System (DBMS)

  A software system that enables users to define,
  create, maintain, and control access to the
  database.

  (Database) application program: a computer
  program that interacts with database by
  issuing an appropriate request (SQL
  statement) to the DBMS.


                © Pearson Education Limited 1995, 2005
Database Management System (DBMS)




             © Pearson Education Limited 1995, 2005
Database Approach

  Data definition language (DDL).
   – Permits specification of data types, structures and
     any data constraints.
   – All specifications are stored in the database.


  Data manipulation language (DML).
   – General enquiry facility (query language) of the
     data.



                   © Pearson Education Limited 1995, 2005
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.


                  © Pearson Education Limited 1995, 2005
Views

  Allows each user to have his or her own view of
  the database.

  A view is essentially some subset of the
  database.




                 © Pearson Education Limited 1995, 2005
Views - Benefits
   Reduce complexity
   Provide a level of security
   Provide a mechanism to customize the
   appearance of the database
   Present a consistent, unchanging picture of the
   structure of the database, even if the
   underlying database is changed



                 © Pearson Education Limited 1995, 2005
Components of DBMS Environment




            © Pearson Education Limited 1995, 2005
Components of DBMS Environment
  Hardware
   – Can range from a PC to a network of
     computers.
  Software
   – DBMS, operating system, network software (if
     necessary) and also the application programs.
  Data
  – Used by the organization and a description
    of this data called the schema.


                 © Pearson Education Limited 1995, 2005
Components of DBMS Environment

  Procedures
   – Instructions and rules that should be applied to
     the design and use of the database and DBMS.
  People




                 © Pearson Education Limited 1995, 2005
History of Database Systems

  First-generation
   – Hierarchical and Network

  Second generation
   – Relational

  Third generation
   – Object-Relational
   – Object-Oriented


                  © Pearson Education Limited 1995, 2005
Advantages of DBMSs
  Control of data redundancy
  Data consistency
  More information from the same amount of
  data
  Sharing of data
  Improved data integrity
  Improved security
  Enforcement of standards
  Economy of scale

               © Pearson Education Limited 1995, 2005
Advantages of DBMSs

  Balance conflicting requirements
  Improved data accessibility and responsiveness
  Increased productivity
  Improved maintenance through data
  independence
  Increased concurrency
  Improved backup and recovery services



                © Pearson Education Limited 1995, 2005
Exercise : (lab session 9/8/07)
Discuss the roles of following personnel in database
environment: (people)

    Data Administrator (DA)
    Database Administrator (DBA)
    Database Designers (Logical and Physical)
    Application Programmers
    End Users (naive and sophisticated)




                     © Pearson Education Limited 1995, 2005

Mais conteúdo relacionado

Mais procurados

Relational database
Relational database Relational database
Relational database Megha Sharma
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Userssontumax
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management systemSaibee Alam
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Database management systems
Database management systemsDatabase management systems
Database management systemsJoel Briza
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...Dipen Parmar
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.yhen06
 
Peoplesoft Basic App designer
Peoplesoft Basic App designerPeoplesoft Basic App designer
Peoplesoft Basic App designermbtechnosolutions
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Rabin BK
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management Systemcpjcollege
 

Mais procurados (20)

Relational database
Relational database Relational database
Relational database
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Dbms.ppt
Dbms.pptDbms.ppt
Dbms.ppt
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management system
 
Database management system
Database management systemDatabase management system
Database management system
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Dbms and rdbms ppt
Dbms and rdbms pptDbms and rdbms ppt
Dbms and rdbms ppt
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
Peoplesoft Basic App designer
Peoplesoft Basic App designerPeoplesoft Basic App designer
Peoplesoft Basic App designer
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Dbms and rdbms
Dbms and rdbmsDbms and rdbms
Dbms and rdbms
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management System
 
Database
DatabaseDatabase
Database
 

Destaque

Database Management system
Database Management systemDatabase Management system
Database Management systemVijay Thorat
 
Database management system
Database management systemDatabase management system
Database management systemFaizan Shabbir
 
File Processing System
File Processing SystemFile Processing System
File Processing SystemDMMMSU-SLUC
 
data resource management
 data resource management data resource management
data resource managementsoodsurbhi123
 
Dbms role advantages
Dbms role advantagesDbms role advantages
Dbms role advantagesjeancly
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. <
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems) raj upadhyay
 
Role of Database Management in Information Systems
Role of Database Management in Information SystemsRole of Database Management in Information Systems
Role of Database Management in Information SystemswaQas ilYas
 
Advantages of database management system
Advantages of database management system Advantages of database management system
Advantages of database management system Nafeesa Naeem
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 

Destaque (20)

Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Kotler Keller - Marketing Management 15th edition, Chapter 01
Kotler Keller - Marketing Management 15th edition, Chapter 01Kotler Keller - Marketing Management 15th edition, Chapter 01
Kotler Keller - Marketing Management 15th edition, Chapter 01
 
Database Management system
Database Management systemDatabase Management system
Database Management system
 
Advantages of DBMS
Advantages of DBMSAdvantages of DBMS
Advantages of DBMS
 
Database management system
Database management systemDatabase management system
Database management system
 
Dbms9
Dbms9Dbms9
Dbms9
 
File Processing System
File Processing SystemFile Processing System
File Processing System
 
Database planning
Database planningDatabase planning
Database planning
 
data resource management
 data resource management data resource management
data resource management
 
Dbms role advantages
Dbms role advantagesDbms role advantages
Dbms role advantages
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
 
Disadvantages of file management system (file processing systems)
Disadvantages of file management system(file processing systems)Disadvantages of file management system(file processing systems)
Disadvantages of file management system (file processing systems)
 
Role of Database Management in Information Systems
Role of Database Management in Information SystemsRole of Database Management in Information Systems
Role of Database Management in Information Systems
 
Advantages of database management system
Advantages of database management system Advantages of database management system
Advantages of database management system
 
DbMs
DbMsDbMs
DbMs
 
DBMS
DBMSDBMS
DBMS
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 

Semelhante a File system-and-database-chapter01-connoly

0321210255 ch01
0321210255 ch010321210255 ch01
0321210255 ch01MsKamala
 
0321210255 ch01
0321210255 ch010321210255 ch01
0321210255 ch01MsKamala
 
Database Design and Developlment basics.pptx
Database Design and Developlment basics.pptxDatabase Design and Developlment basics.pptx
Database Design and Developlment basics.pptxMungaiKagechu
 
FDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database UsersFDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database UsersHarsh Verdhan Raj
 
Chapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptxChapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptxMaxamedAbiib1
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.pptChSheraz3
 
1_Chapter_One_Introduction_to_Database_Management_System_2.ppt
1_Chapter_One_Introduction_to_Database_Management_System_2.ppt1_Chapter_One_Introduction_to_Database_Management_System_2.ppt
1_Chapter_One_Introduction_to_Database_Management_System_2.pptabdu328357
 
Ans mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-iiAns mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-iizafarishtiaq
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environmentguest8fdbdd
 

Semelhante a File system-and-database-chapter01-connoly (20)

0321210255 ch01
0321210255 ch010321210255 ch01
0321210255 ch01
 
0321210255 ch01
0321210255 ch010321210255 ch01
0321210255 ch01
 
ch01.ppt
ch01.pptch01.ppt
ch01.ppt
 
Database Design and Developlment basics.pptx
Database Design and Developlment basics.pptxDatabase Design and Developlment basics.pptx
Database Design and Developlment basics.pptx
 
Database Enviornment
Database EnviornmentDatabase Enviornment
Database Enviornment
 
FDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database UsersFDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database Users
 
Comp107 chep6
Comp107 chep6Comp107 chep6
Comp107 chep6
 
Lecture2 is331 data&infomanag(databaseenv)
Lecture2 is331 data&infomanag(databaseenv)Lecture2 is331 data&infomanag(databaseenv)
Lecture2 is331 data&infomanag(databaseenv)
 
Chapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptxChapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptx
 
Database System Concepts
Database System ConceptsDatabase System Concepts
Database System Concepts
 
Db lecture 1
Db lecture 1Db lecture 1
Db lecture 1
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
Dbms models
Dbms modelsDbms models
Dbms models
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
 
Chapter one
Chapter oneChapter one
Chapter one
 
1_Chapter_One_Introduction_to_Database_Management_System_2.ppt
1_Chapter_One_Introduction_to_Database_Management_System_2.ppt1_Chapter_One_Introduction_to_Database_Management_System_2.ppt
1_Chapter_One_Introduction_to_Database_Management_System_2.ppt
 
Ans mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-iiAns mi0034-database management system-sda-2012-ii
Ans mi0034-database management system-sda-2012-ii
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environment
 

File system-and-database-chapter01-connoly

  • 1. Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005
  • 2. Chapter 1 - Objectives Some common uses of database systems. Characteristics of file-based systems. Problems with file-based approach. Meaning of the term database. Meaning of the term Database Management System (DBMS). © Pearson Education Limited 1995, 2005
  • 3. Chapter 1 - Objectives Typical functions of a DBMS. Major components of the DBMS environment. Personnel involved in the DBMS environment. History of the development of DBMSs. Advantages and disadvantages of DBMSs. © Pearson Education Limited 1995, 2005
  • 4. Examples of Database Applications Purchases from the supermarket Purchases using your credit card Booking a holiday at the travel agents Using the local library Taking out insurance Renting a video Using the Internet Studying at university © Pearson Education Limited 1995, 2005
  • 5. 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. © Pearson Education Limited 1995, 2005
  • 6. File-Based Processing © Pearson Education Limited 1995, 2005
  • 7. Limitations of File-Based Approach Separation and isolation of data – Each program maintains its own set of data. – Users of one program may be unaware of potentially useful data held by other programs. Duplication of data – Same data is held by different programs. – Wasted space and potentially different values and/or different formats for the same item. © Pearson Education Limited 1995, 2005
  • 8. 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 needs1995,new program. © Pearson Education Limited a 2005
  • 9. 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). © Pearson Education Limited 1995, 2005
  • 10. Database Shared collection of logically related data (and a description of this data), designed to meet the information needs of an organization. System catalog (metadata) provides description of data to enable program–data independence. Logically related data comprises entities, attributes, and relationships of an organization’s information. © Pearson Education Limited 1995, 2005
  • 11. Database Management System (DBMS) A software system that enables users to define, create, maintain, and control access to the database. (Database) application program: a computer program that interacts with database by issuing an appropriate request (SQL statement) to the DBMS. © Pearson Education Limited 1995, 2005
  • 12. Database Management System (DBMS) © Pearson Education Limited 1995, 2005
  • 13. Database Approach Data definition language (DDL). – Permits specification of data types, structures and any data constraints. – All specifications are stored in the database. Data manipulation language (DML). – General enquiry facility (query language) of the data. © Pearson Education Limited 1995, 2005
  • 14. 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. © Pearson Education Limited 1995, 2005
  • 15. Views Allows each user to have his or her own view of the database. A view is essentially some subset of the database. © Pearson Education Limited 1995, 2005
  • 16. Views - Benefits Reduce complexity Provide a level of security Provide a mechanism to customize the appearance of the database Present a consistent, unchanging picture of the structure of the database, even if the underlying database is changed © Pearson Education Limited 1995, 2005
  • 17. Components of DBMS Environment © Pearson Education Limited 1995, 2005
  • 18. Components of DBMS Environment Hardware – Can range from a PC to a network of computers. Software – DBMS, operating system, network software (if necessary) and also the application programs. Data – Used by the organization and a description of this data called the schema. © Pearson Education Limited 1995, 2005
  • 19. Components of DBMS Environment Procedures – Instructions and rules that should be applied to the design and use of the database and DBMS. People © Pearson Education Limited 1995, 2005
  • 20. History of Database Systems First-generation – Hierarchical and Network Second generation – Relational Third generation – Object-Relational – Object-Oriented © Pearson Education Limited 1995, 2005
  • 21. Advantages of DBMSs Control of data redundancy Data consistency More information from the same amount of data Sharing of data Improved data integrity Improved security Enforcement of standards Economy of scale © Pearson Education Limited 1995, 2005
  • 22. Advantages of DBMSs Balance conflicting requirements Improved data accessibility and responsiveness Increased productivity Improved maintenance through data independence Increased concurrency Improved backup and recovery services © Pearson Education Limited 1995, 2005
  • 23. Exercise : (lab session 9/8/07) Discuss the roles of following personnel in database environment: (people) Data Administrator (DA) Database Administrator (DBA) Database Designers (Logical and Physical) Application Programmers End Users (naive and sophisticated) © Pearson Education Limited 1995, 2005