§ 03 — Database Administration
Database Administration is the discipline of keeping a database available, secure, correct, and fast enough for real work. In a class on programming, your main concern is often whether your code runs. In Database Administration, the concern is wider: Can users trust the data? Can the system recover after failure? Can it handle growth?
A Database Administrator (DBA) usually works on these responsibilities:
In Philippine settings, think of a student information system, an LGU records system, a payroll platform, or a hospital registry. The database is not just a file cabinet. It is a core service. If it goes down, enrollment stops, payroll is delayed, or records become unreliable.
A useful way to remember the DBA mindset is this:
Developers build features. DBAs protect service quality.
That does not mean the DBA works alone. The DBA collaborates with system analysts, developers, network administrators, security officers, and management. In many organizations, especially smaller ones, one person may wear multiple hats. Still, the administration perspective remains distinct because it focuses on continuity, control, and operational readiness.
A strong DBA balances four goals:
A database system has several layers, and a DBA must understand how they fit together.
At the top are the users and applications. These may be web apps, mobile apps, desktop systems, or reporting tools. They do not usually touch data files directly. Instead, they send requests to the Database Management System (DBMS).
The DBMS handles major services such as:
Under the DBMS are the physical files, memory structures, and storage devices where data is actually stored.
You should also distinguish common database objects:
| Object | Purpose |
|---|---|
| Database | The overall container of related data |
| Table | Stores rows and columns |
| View | A virtual table based on a query |
| Index | Speeds up data access for certain searches |
| Constraint | Enforces rules such as keys and valid values |
| Transaction log | Records changes for recovery |
| User / Role | Controls access permissions |
| Backup copy | Restorable copy of data and sometimes logs |
A DBA also works across environments:
This separation matters because unsafe testing in production can damage real data. In practice, one of the earliest signs of good administration is discipline in environments, naming, and change control.
Database Administration is not one single task. It is a lifecycle.
A typical administration cycle looks like this:
Students often imagine database work as "write SQL and done." Real administration is more like managing a living service. Even a correct schema can fail in production if backups are missing, permissions are too broad, or the indexes no longer match the workload.
You should also think in terms of risk:
A DBA reduces these risks through standards, routines, and testing. Administration becomes professional when tasks are repeatable, not improvised.
Review Questions
Worked Exam-Style Problems
Problem 1. A university office says: "Our database is correct, so we don't need a DBA." Explain why this statement is incomplete.
Step-by-step solution
Final answer: The statement is incomplete because correctness alone does not guarantee service quality. A DBA is needed for security, backups, recovery, monitoring, tuning, and availability.
Problem 2. Classify each task as primarily Development or Administration: writing the enrollment module; creating user accounts; tuning a slow reporting query; defining business rules for student data entry; scheduling nightly backups; checking failed login attempts.
Step-by-step solution
Final answer: Administration focuses on security, reliability, recovery, and performance in operation.
Hands-on Exercise
Use the systems table in the playground.
system_name and owner_unit of active systems.Suggested solution path
SELECT * FROM systems WHERE environment = 'production';
SELECT environment, COUNT(*) AS total_systems
FROM systems
GROUP BY environment;
UPDATE systems
SET environment = 'production'
WHERE system_name = 'ClinicDB';
SELECT system_name, owner_unit
FROM systems
WHERE status = 'active';
How to Pass This Topic
CREATE TABLE systems (
system_id INTEGER PRIMARY KEY,
system_name VARCHAR(50),
owner_unit VARCHAR(50),
environment VARCHAR(20),
status VARCHAR(20)
);
INSERT INTO systems VALUES
(1, 'EnrollmentDB', 'Registrar', 'production', 'active'),
(2, 'PayrollDB', 'HR', 'production', 'active'),
(3, 'ClinicDB', 'Health Services', 'testing', 'active'),
(4, 'LibraryDB', 'Library', 'development', 'active');Free Sample
That was the free sample: 2 of 16 reviewers with answer keys in Database Administration. Unlock the rest for the semester.
Unlock all reviewers →Done with this module? Track it — your progress shows on the subject list.
Studying with blockmates? Send them this lesson.
Up next
Lesson 2: Logical Design, Normalization, and Metadata Control→