SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Chapter 1
Introduction to Databases
Traditional File-Based Systems

• File-Based Approach:
  A collection of application programs that
  perform services for the end-users such as the
  production of reports. Each program defines
  and manages its own data.
Limitations of the File-Based Approach

 Separation and isolation of data
• When data is isolated in separate files, it is
  more difficult to access data that should be
  available.
• The application developer must synchronize
  the processing of two files to ensure the
  correct data is extracted. This difficulty is
  compounded if we require data from more
  than two files.
Limitations of the File-Based Approach

Duplication of data
• the file-based approach encouraged, if not
  necessitated, the uncontrolled duplication of
  data.
• Duplication is wasteful. It costs time and
  money to enter the data more than once.
• It takes up additional storage space, again
  with associated costs.
• Perhaps more importantly, duplication can
  lead to loss of data integrity.
Limitations of the File-Based Approach

 Data dependence
• The physical structure and storage of the data
  files and records are defined in the application
  code. This means that changes to an existing
  structure are difficult to make.
Limitations of the File-Based Approach

 Incompatible file formats
• Because the structure of files is embedded in
   the application programs, the structures are
   dependent on the application programming
   language. For example, the structure of a file
   generated by a COBOL program may be
   different from the structure of a file generated
   by a ‘C’ program. The direct incompatibility of
   such files makes them difficult to process
   jointly.
Limitations of the File-Based Approach

  Fixed queries/proliferation of application
  programs
• file-based systems are very dependent upon
  the application developer, who has to write
  any queries or reports that are required. As a
  result, two things happened.
• the type of query or report that could be
  produced was fixed
• In other organizations, there was a
  proliferation of files and application programs.
Database Approach
• The Database
• A shared collection of logically related
  data, and a description of this data, designed
  to meet the information needs of an
  organization.
• The database is a single, possibly large
  repository of data that can be used
  simultaneously by many departments and
  users.
Database Approach
• The database is no longer owned by one
  department but is a shared corporate
  resource.
• The database holds not only the organization’s
  operational data but also a description of this
  data.
• database is also defined as a self-describing
  collection of integrated records.
• The description of the data is known as the
  system catalogue.
The Database Management System (DBMS)

• DBMS
• A software system that enables users to
  define, create, maintain, and control access to
  the database.
• It allows users to define the database, usually
  through a Data Definition Language (DDL).
  The DDL allows users to specify the data types
  and structures and the constraints on the data
  to be stored in the database.
The Database Management System (DBMS)

• It allows users to insert, update, delete, and
  retrieve data from the database, usually
  through a Data Manipulation Language
  (DML). Having a central repository for all data
  and data descriptions allows the DML to
  provide a general inquiry facility to this
  data, called a query language.
• The most common query language is the
  Structured Query Language (SQL).
The Database Management System (DBMS)

• a security system, which prevents authorized
  users accessing the database;
• an integrity system, which maintains the
  consistency of stored data;
• a concurrency control system, which allows
  shared access of the database;
• a recovery control system, which restores the
  database to a previous consistent state following
  a hardware or software failure;
• a user-accessible catalogue, which contains
  descriptions of the data in the database.
Components of the DBMS Environment

• Hardware
• The hardware can range from a single
  personal computer, to a single mainframe, to a
  network of computers.
• The particular hardware depends on the
  organization’s requirements and the DBMS
  used. Some DBMSs run only on particular
  hardware or operating systems, while others
  run on a wide variety of hardware and
  operating systems.
Components of the DBMS Environment

• Software
• The software component comprises the DBMS
  software itself and the application
  programs, together with the operating
  system, including network software if the DBMS is
  being used over a network.
• The target DBMS may have its own fourth-generation
  tools that allow rapid development of applications
  through the provision of non-procedural query
  languages, reports generators, forms
  generators, graphics generators, and application
Components of the DBMS Environment

• Data
• The database contains both the operational
  data and the metadata, the ‘data about data’.
  The structure of the database is called the
  schema.
Components of the DBMS Environment

• Procedures
• Procedures refer to the instructions and rules
  that govern the design and use of the
  database.
• The users of the system and the staff that
  manage the database require documented
  procedures on how to use or run the system.
Components of the DBMS Environment

• log on to the DBMS.
• use a particular DBMS facility or application
  program.
• start and stop the DBMS.
• make backup copies of the database.
• handle hardware or software failures.
• People
Consist of Following Categories
Data and Database Administrators
• Data and database administration are the
  roles generally associated with the
  management and control of a DBMS and its
  data.
Components of the DBMS Environment

• The Data Administrator (DA) is responsible for the
  management of the data resource including database
  planning, development and maintenance of
  standards, policies and procedures, and
  conceptual/logical database design.
• The Database Administrator (DBA) is responsible for
  the physical realization of the database, including
  physical database design and
  implementation, security and integrity
  control, maintenance of the operational system, and
  ensuring satisfactory performance of the applications
  for users.
Components of the DBMS Environment

• Database Designers
• There are two type of designers
• logical database designer
  is concerned with identifying the data, the
  relationships between the data, and the
  constraints on the data that is to be stored in
  the database.
Components of the DBMS Environment

• The physical database designer decides how
  the logical database design is to be physically
  realized.
• This involves:
• mapping the logical database design into a set of
  tables and integrity constraints;
• selecting specific storage structures and access
  methods for the data to achieve good
  performance;
• designing any security measures required on the
Components of the DBMS Environment

• Application Developers
• the application developers work from a
  specification produced by systems analysts.
  Each program contains statements that
  request the DBMS to perform some operation
  on the database.
• This includes retrieving
  data, inserting, updating, and deleting data.
• The programs are written in Programming
  Languages
Components of the DBMS Environment

• End-Users
• The end-users are the ‘clients’ for the database.
• Naïve users are typically unaware of the DBMS.
  They access the database through specially
  written application programs that attempt to
  make the operations as simple as possible.
• Sophisticated users are familiar with the
  structure of the database and the facilities
  offered by the DBMS.
Advantages and Disadvantages of DBMSs

•   Advantages
•   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
Advantages and Disadvantages of DBMSs

• Economy of scale
• Balance of conflicting requirements
• Improved data accessibility and
  responsiveness
• Increased productivity
• Improved maintenance through data
  independence
• Increased concurrency
• Improved backup and recovery services
Advantages and Disadvantages of DBMSs

•   Disadvantages
•   Complexity
•   Size
•   Cost of DBMSs
•   Additional hardware costs
•   Cost of conversion
•   Performance
•   Higher impact of a failure

Mais conteúdo relacionado

Mais procurados

Dbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersDbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersBIT Durg
 
Management information system database management
Management information system database managementManagement information system database management
Management information system database managementOnline
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environmentguest8fdbdd
 
Data & database administration hoffer
Data & database administration   hofferData & database administration   hoffer
Data & database administration hofferMohd Arif
 
Database administrator types
Database administrator typesDatabase administrator types
Database administrator typesmichel9
 
Database design process
Database design processDatabase design process
Database design processTayyab Hameed
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized designemailharmeet
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Beni Krisbiantoro
 
data base management report
data base management report data base management report
data base management report shivam tripathi
 
A database management system
A database management systemA database management system
A database management systemghulam120
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Processoudesign
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Beni Krisbiantoro
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsjayussuryawan
 
0321210255 ch01
0321210255 ch010321210255 ch01
0321210255 ch01MsKamala
 

Mais procurados (20)

Dbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersDbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database users
 
Management information system database management
Management information system database managementManagement information system database management
Management information system database management
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environment
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
 
Data & database administration hoffer
Data & database administration   hofferData & database administration   hoffer
Data & database administration hoffer
 
Database administrator types
Database administrator typesDatabase administrator types
Database administrator types
 
Database design process
Database design processDatabase design process
Database design process
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02
 
data base management report
data base management report data base management report
data base management report
 
Data base
Data baseData base
Data base
 
A database management system
A database management systemA database management system
A database management system
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
 
Distributed D B
Distributed  D BDistributed  D B
Distributed D B
 
Chapter one
Chapter oneChapter one
Chapter one
 
Dbms_class _14
Dbms_class _14Dbms_class _14
Dbms_class _14
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
0321210255 ch01
0321210255 ch010321210255 ch01
0321210255 ch01
 

Destaque (18)

Tugasan 2 new
Tugasan 2 newTugasan 2 new
Tugasan 2 new
 
Proyecto de vida cami
Proyecto de vida camiProyecto de vida cami
Proyecto de vida cami
 
Overview of working capital management
Overview of working capital managementOverview of working capital management
Overview of working capital management
 
Business Ethic
Business EthicBusiness Ethic
Business Ethic
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
Moje 86 lat życia
Moje 86 lat życiaMoje 86 lat życia
Moje 86 lat życia
 
The system unit
The system unitThe system unit
The system unit
 
Plural of nouns
Plural of nounsPlural of nouns
Plural of nouns
 
Estimation of cash flows
Estimation of cash flowsEstimation of cash flows
Estimation of cash flows
 
What Exactly Is Residual Income?
What Exactly Is Residual Income?What Exactly Is Residual Income?
What Exactly Is Residual Income?
 
Analyzing the Marketing Environment
Analyzing the Marketing EnvironmentAnalyzing the Marketing Environment
Analyzing the Marketing Environment
 
Business Ethic
Business EthicBusiness Ethic
Business Ethic
 
Business Ethic
Business EthicBusiness Ethic
Business Ethic
 
Decision-Making: The Essence of the Manager’s Job
Decision-Making: The Essence of the Manager’s JobDecision-Making: The Essence of the Manager’s Job
Decision-Making: The Essence of the Manager’s Job
 
Cash and marketable securities
Cash and marketable securitiesCash and marketable securities
Cash and marketable securities
 
ISO 9001:2008 in school
ISO 9001:2008 in schoolISO 9001:2008 in school
ISO 9001:2008 in school
 
Super computer
Super computerSuper computer
Super computer
 
Fund analysis and cash flow analysis
Fund analysis and cash flow analysisFund analysis and cash flow analysis
Fund analysis and cash flow analysis
 

Semelhante a Chapter 1

CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)Dilawar Khan
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.pptChSheraz3
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsKunal Anand
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)KavithaA19
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteRaj vardhan
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
 
databas (2).pdf
databas (2).pdfdatabas (2).pdf
databas (2).pdfJanoakre
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdfMuniraALmogren
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal gArinda oktaviana
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdfTOUSEEQHAIDER14
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_materialgayaramesh
 

Semelhante a Chapter 1 (20)

CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
Database system
Database systemDatabase system
Database system
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Intoduction- Database Management System
Intoduction- Database Management SystemIntoduction- Database Management System
Intoduction- Database Management System
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
 
1. intro
1. intro1. intro
1. intro
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Session1
Session1Session1
Session1
 
#1.pptx
#1.pptx#1.pptx
#1.pptx
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
databas (2).pdf
databas (2).pdfdatabas (2).pdf
databas (2).pdf
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdf
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal g
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 

Chapter 1

  • 2. Traditional File-Based Systems • File-Based Approach: A collection of application programs that perform services for the end-users such as the production of reports. Each program defines and manages its own data.
  • 3. Limitations of the File-Based Approach Separation and isolation of data • When data is isolated in separate files, it is more difficult to access data that should be available. • The application developer must synchronize the processing of two files to ensure the correct data is extracted. This difficulty is compounded if we require data from more than two files.
  • 4. Limitations of the File-Based Approach Duplication of data • the file-based approach encouraged, if not necessitated, the uncontrolled duplication of data. • Duplication is wasteful. It costs time and money to enter the data more than once. • It takes up additional storage space, again with associated costs. • Perhaps more importantly, duplication can lead to loss of data integrity.
  • 5. Limitations of the File-Based Approach Data dependence • The physical structure and storage of the data files and records are defined in the application code. This means that changes to an existing structure are difficult to make.
  • 6. Limitations of the File-Based Approach Incompatible file formats • Because the structure of files is embedded in the application programs, the structures are dependent on the application programming language. For example, the structure of a file generated by a COBOL program may be different from the structure of a file generated by a ‘C’ program. The direct incompatibility of such files makes them difficult to process jointly.
  • 7. Limitations of the File-Based Approach Fixed queries/proliferation of application programs • file-based systems are very dependent upon the application developer, who has to write any queries or reports that are required. As a result, two things happened. • the type of query or report that could be produced was fixed • In other organizations, there was a proliferation of files and application programs.
  • 8. Database Approach • The Database • A shared collection of logically related data, and a description of this data, designed to meet the information needs of an organization. • The database is a single, possibly large repository of data that can be used simultaneously by many departments and users.
  • 9. Database Approach • The database is no longer owned by one department but is a shared corporate resource. • The database holds not only the organization’s operational data but also a description of this data. • database is also defined as a self-describing collection of integrated records. • The description of the data is known as the system catalogue.
  • 10. The Database Management System (DBMS) • DBMS • A software system that enables users to define, create, maintain, and control access to the database. • It allows users to define the database, usually through a Data Definition Language (DDL). The DDL allows users to specify the data types and structures and the constraints on the data to be stored in the database.
  • 11. The Database Management System (DBMS) • It allows users to insert, update, delete, and retrieve data from the database, usually through a Data Manipulation Language (DML). Having a central repository for all data and data descriptions allows the DML to provide a general inquiry facility to this data, called a query language. • The most common query language is the Structured Query Language (SQL).
  • 12. The Database Management System (DBMS) • a security system, which prevents authorized users accessing the database; • an integrity system, which maintains the consistency of stored data; • a concurrency control system, which allows shared access of the database; • a recovery control system, which restores the database to a previous consistent state following a hardware or software failure; • a user-accessible catalogue, which contains descriptions of the data in the database.
  • 13. Components of the DBMS Environment • Hardware • The hardware can range from a single personal computer, to a single mainframe, to a network of computers. • The particular hardware depends on the organization’s requirements and the DBMS used. Some DBMSs run only on particular hardware or operating systems, while others run on a wide variety of hardware and operating systems.
  • 14. Components of the DBMS Environment • Software • The software component comprises the DBMS software itself and the application programs, together with the operating system, including network software if the DBMS is being used over a network. • The target DBMS may have its own fourth-generation tools that allow rapid development of applications through the provision of non-procedural query languages, reports generators, forms generators, graphics generators, and application
  • 15. Components of the DBMS Environment • Data • The database contains both the operational data and the metadata, the ‘data about data’. The structure of the database is called the schema.
  • 16. Components of the DBMS Environment • Procedures • Procedures refer to the instructions and rules that govern the design and use of the database. • The users of the system and the staff that manage the database require documented procedures on how to use or run the system.
  • 17. Components of the DBMS Environment • log on to the DBMS. • use a particular DBMS facility or application program. • start and stop the DBMS. • make backup copies of the database. • handle hardware or software failures.
  • 18. • People Consist of Following Categories Data and Database Administrators • Data and database administration are the roles generally associated with the management and control of a DBMS and its data.
  • 19. Components of the DBMS Environment • The Data Administrator (DA) is responsible for the management of the data resource including database planning, development and maintenance of standards, policies and procedures, and conceptual/logical database design. • The Database Administrator (DBA) is responsible for the physical realization of the database, including physical database design and implementation, security and integrity control, maintenance of the operational system, and ensuring satisfactory performance of the applications for users.
  • 20. Components of the DBMS Environment • Database Designers • There are two type of designers • logical database designer is concerned with identifying the data, the relationships between the data, and the constraints on the data that is to be stored in the database.
  • 21. Components of the DBMS Environment • The physical database designer decides how the logical database design is to be physically realized. • This involves: • mapping the logical database design into a set of tables and integrity constraints; • selecting specific storage structures and access methods for the data to achieve good performance; • designing any security measures required on the
  • 22. Components of the DBMS Environment • Application Developers • the application developers work from a specification produced by systems analysts. Each program contains statements that request the DBMS to perform some operation on the database. • This includes retrieving data, inserting, updating, and deleting data. • The programs are written in Programming Languages
  • 23. Components of the DBMS Environment • End-Users • The end-users are the ‘clients’ for the database. • Naïve users are typically unaware of the DBMS. They access the database through specially written application programs that attempt to make the operations as simple as possible. • Sophisticated users are familiar with the structure of the database and the facilities offered by the DBMS.
  • 24. Advantages and Disadvantages of DBMSs • Advantages • 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
  • 25. Advantages and Disadvantages of DBMSs • Economy of scale • Balance of conflicting requirements • Improved data accessibility and responsiveness • Increased productivity • Improved maintenance through data independence • Increased concurrency • Improved backup and recovery services
  • 26. Advantages and Disadvantages of DBMSs • Disadvantages • Complexity • Size • Cost of DBMSs • Additional hardware costs • Cost of conversion • Performance • Higher impact of a failure