Chapter 1 Flashcards
Database
A collection of related data
Data
Known facts that can be recorded and have implicit meaning
Mini-World
Some part of the real world about which data is stored in a database.
DBMS
A software package/ system to facilitate the creation and maintenance of a computerized database
Database system
The DBMS software together with the data itself. Sometimes the applications are also included
Functionalities of DBMS:
Define
Construct
Manipulate
Share
Functionalities of DBMS:
What is defined:
Specifying the datatype, structures and constraints for the data to be stored
Functionalities of DBMS:
Construct:
Process of storing data on some storage medium
Functionalities of DBMS:
Manipulate:
Querying the database to retrieve specific data, updating databases and generating reports.
Functionalities of DBMS:
Share
Allows multiple users and programs to access the database concurrently
Application interact with a database by generating:
Queries:that access different parts of data and formulate the result of a request
Transactions: that may read some data and update certain values or generate new data and stored that in the database
Characteristic of the database approach:
Self-describing nature of a database system
Insulation between programs and data
Data abstraction
Support of multiple views of data
Sharing data
Self-describing nature of database system
A DBMS catalog stores the description of a particular database
The description is called meta-deta
This allows the DBMS software to work with different database appltication
Insulation between program and data
Called program-data independence
Allows changing data structures and storage organization without having to change the DBMS access program
Data abstraction
A data model is used to hide storage details and present the users with a conceptual view of the database
Support of multiple views of data
Each user may see a different view of the database which describes only the data of interest to that user.
What is a view?
Is a virtual data not explicitly stored
Sharing of data
A multiuser DBMS allows multiple user to access the database at the same time.
DBMS must include concurrency control.
OLTP major part of database application.
DBMS must enforce several transaction properties:
Isolation and Atomicity
Actors on the scene
1)Database administration: administering primary/secondary resources.
2)Database designers: communicating with database users in order to know their needs.
3) end users: people whose jobs require access to database for querying and updating.
Categories of end users:
Casual end users: access to data occasionally.
Naïve: updating database using command transaction.
Sophisticated: engineers , it…
Stand-alone: Maintains personal database.
Actors behind the scene:
1)System designers: Design and implement DBMS.
2)Tool developers: persons who design and implements tools.
3)Operators and maintenance personnel: responsible for running and maintenance of hardware and software.
Advantages of using DBMS
Sharing data among multiple users
Restricting unauthorized access to data
Providing storage structures
Providing backups and recovery services
When not to use DBMS
When DBMS may be unnecessary:
When DB is simple and not expected to change.
May require additional hardware.