introduction to database chapter #9 sec 9.1. what is a database? a flat file is considered to be...
TRANSCRIPT
![Page 1: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/1.jpg)
Introduction to Database
Chapter #9 Sec 9.1
![Page 2: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/2.jpg)
What is a Database?
A flat file is considered to be one-dimensional storage system because it presents its information from a single point of view.
A collection of data that is multidimensional in the sense that internal links between its entries make the information accessible from a variety of perspectives
![Page 3: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/3.jpg)
Figure 9.1 A file versus a database organization
![Page 4: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/4.jpg)
Drawbacks of File system
Different departments such as Customer Service Department and Payroll Department were no able to share information so the same data was duplicated in various departments
Secondly when an employee moved his record was deleted from all the places in which many errors were possible
![Page 5: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/5.jpg)
Advantage of Database
If data is integrated at one place then each department can share that data.
Control of data is concentrated in the administrative position called Database Administrator (DBA)
Thus this centralized data helps in important decision making regarding the entire organization.
![Page 6: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/6.jpg)
Disadvantages
One concern is the control of access to sensitive data. For example someone working on organizations newsletter might need access to employee names and addresses but should not have access to employee payroll data. Thus the ability to control data access is important
To provide data privileges database relies on schemas and sub schemas
![Page 7: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/7.jpg)
9-7
Schemas
Schema: A description of the structure of an entire database, used by database software to maintain the database
Subschema: A description of only that portion of the database pertinent to a particular user’s needs, used to prevent sensitive data from being accessed by unauthorized personnel
![Page 8: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/8.jpg)
Example Suppose a schema for university
database indicates that each student record contains items such as name, address, phone number, academic record etc. Moreover student and faculty are linked in the form that each student has a faculty advisor.
Now the universities registrar would have a sub schema view in which he is able to see the faculties supervising students but should not be able to see the past employment history of the faculty member
![Page 9: Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its](https://reader036.vdocuments.mx/reader036/viewer/2022082613/5697bfe21a28abf838cb4234/html5/thumbnails/9.jpg)
Figure 9.2 The conceptual layers of a
database implementation