Databases and Database Users - In-Depth Notes
Databases and Database Users
Introduction to Databases
- Databases are crucial in modern society.
- Everyday interactions (banking, online shopping, reservation systems) often involve databases.
- Traditional database applications primarily manage textual and numerical information.
Modern Applications of Databases
- Technological advancements enable multimedia databases (images, audio, videos).
- Uses in Geographic Information Systems (GIS), data warehouses, and online analytical processing (OLAP) systems for business decision-making.
Defining a Database
- A database is a collection of related data that represents some aspect of the real world, known as the miniworld or universe of discourse (UoD).
- Key properties of a database:
- Logically coherent data collection with intrinsic meaning.
- Designed for a specific purpose with a target user group.
Database Examples
- Simple examples include personal contact lists, while complex examples include governmental systems (e.g., IRS database).
- Commercial databases like Amazon.com illustrate the vastness and complexity of data management.
Characteristics of Database Systems
- Characteristics Distinguishing Database Approach from Traditional File Systems:
- Self-describing nature through a data catalog.
- Insulation between applications and data (program-data independence).
- Support of multiple user views for access.
- Data sharing and multiuser transaction processing.
Overview of Database Management System (DBMS)
- DBMS Functionality
- Allows users to create, maintain and manipulate databases.
- Functions include defining, constructing, manipulating, sharing, and protecting databases over time.
Types of Database Users
- Actors in a database environment:
- Database Administrators (DBAs): Manage access, security, and system performance.
- Database Designers: Design the database to meet user requirements and ensure data integrity.
- End Users: Vary from casual users to naive users handling routine queries, to sophisticated users like analysts.
- System Analysts and Application Programmers: Specify user needs and implement applications.
Advantages of Using DBMS
- Controls redundancy, ensuring more efficient data management.
- Enhances security and accuracy through access controls and integrity constraints.
- Supports concurrent transactions to improve system performance.
- Provides persistent storage and efficient querying techniques.
Types of Database Models
- Relational Database Management Systems (RDBMS) and emerging object-oriented approaches.
- Legacy systems with hierarchical and network models still have applications in certain industries.
Client/Server Architecture in DBMS
- Shift from centralized to distributed systems, allowing modular processing between client devices and database servers.
- Introduces client/server architecture, including two-tier (client and server) and three-tier (client, application server, database server) designs for improved data handling.
Summary and Key Concepts
- A database is an organized collection of data that represents real-world information.
- DBMS offers a structured approach to data management, supporting integration, security, and multiple user access.
- The evolution of database applications reflects technological advancements and the complex needs of data accessibility in various sectors.
- Understanding data independence is crucial for maintaining flexibility in database design and structure adjustments without affecting users.