Database environment consists of 3 components
Advantages of using a database environment
Disadvantages of using a database environment
Database users
End-users
Capture data in the database and extract information form the database using database management system software
Application programmers
Responsible for creating, maintaining, updating and managing the application and DBMS software
Database administrator
Responsible for managing and controlling the organisation’s databases
Database administrator functions
Data administrator
Also called database analyst. Responsible for managing and controlling the data in the organisation’s databases
Database management systems (DBMS)
Integrated set of software that provides a user-friendly interface to the users for all data interactions between the user and the physical database
DBMS functions
Three-level database architecture
External level
User view, is the individual end-user’s view if the data and the database
Conceptual level
Complete view of the entire database
Internal level
Physical view, is the low-level view of how the data is physically stored on a storage device
DBMS Key components
* Database languages
Database dictionary
centralized file containing detailed information about the database and the data contained in the database
Information a database dictionary contains
Database language
Database users use different database languages to interact with the database.
Database languages
Data definition language (DDL)
Used to define a database and includes commands to:
Data control language (DCL)
Controls the security and user access to the database objects and data in the database
Data manipulation language (DML)
Routine operation of the database to insert, delete, modify and maintain the data stored on the database
Data query language
Used to retrieve data from the database