Neso Note (5 DBMS Roles Including)
Neso Note (5 DBMS Roles Including)
Neso Note (5 DBMS Roles Including)
Definition
Data: raw, unprocessed facts
Eg: aye aye, 25, loikaw
Information: processed data
Eg: the age of aye aye is 25
Unprocessed raw data become meaningful context
Database
Collection of related data
Eg: online banking system, library management system
Online banking system database has to be related to the particular bank
The data in library management system has to be related to the particular library
Meta data: database definition
Complete description of a database
Information of the storage format, data type, constraint of the data
DBMS software must work equally well with any number of database applications.
In traditional file processing, data definition is part of application programs, work
with only one specific DB. (Structure declare in the program itself)
2. Insulation between programs and data, and data abstraction
In traditional file processing: structure of data file is embedded in the application
programs. (any changes of the structure of the data file affect the application
program and needed to change the application program)
In database approach: structure of data files is stored in the DBMS catalog, separate
from access programs (program-data independence)
(any changes of the structure of the data file does not need to change the structure
of the program)
The characteristic that allows program-data independence is called data abstraction.
DBMS provides users with conceptual representation of data
(conceptual representation: it hide the behind scene detail, complicated detail, that
are not interested the database user)
Data model: type of data abstraction- provides conceptual representation
(data model hide the storage and implementation details from the user)
Database administrators
In database environment, primary resource – database, secondary resource –
DBMS & related software
Database administrator (DBA) responsibilities:
Administering primary and secondary resources
Authorizing access to the database (they can grant to permitting to use the
database)
Coordinating and monitoring use of database
Acquiring hardware and software resources as needed
(Others are troubleshooting and security issues)
Database designers
Responsible for:
Identifying the data to be stored in the database
Choosing appropriate structures to represent and store data
Communicating with database users – understand their requirements – designs
database
End users
End users: people whose jobs require access to the database for querying, updating,
generating reports.
Several categories of end users:
Casual end users: accesses database occasionally
Typically middle or high level managers or other occasional browsers
Naïve or parametric end users: constantly querying and updating database using canned
transactions.
Sophisticated end users: engineers, scientists, business analysts
Stand-alone users: maintains personal databases – using ready-made program packages
Controlling redundancy
In traditional file system, each user group maintains its own files.
Inconsistency: update are not effect. Because data file are separated.
In the database approach, views of different users are integrated
All the data stored in only one place of the database.
Any number of user can access the database at the same time.
Duplication of data and data redundancy is controlling by DBMS approach.
This ensures consistency and saves storage space.
Disadv of DBMS
When not to use DBMS
Overhead costs of using DBMS:
High initial investment (hardware, software and training)
Overhead cost is the ongoing cost to run the DBMS.
Overhead for providing security, concurrency control, recovery
Database and applications – simple, well defined and no changes expected.
Multiple-user access – not required