§ 03 — Database Administration
Logical design answers what data should exist. Physical design answers how that data is stored and accessed efficiently.
A database may have correct tables and still perform poorly if the physical design is weak. This is where a DBA starts thinking about:
At a simple level, when the DBMS stores table data, it places rows into storage structures. Reading the needed rows may involve scanning many pages or using shortcuts such as indexes.
A full table scan is sometimes acceptable, especially for small tables. But for large operational tables like payments, admissions, or transactions, repeated full scans can overload the system.
Physical design is a trade-off:
The DBA's job is not to "add indexes everywhere." The DBA studies workload patterns first.
An index is a structure that helps the DBMS locate rows faster for certain search conditions.
A common analogy is a book index. Instead of reading every page to find a topic, you check the index and jump closer to the target.
Indexes are especially useful for:
WHERE student_id = 101WHERE payment_date >= '2026-06-01'But indexes are not magic. They work best when:
Example:
SELECT *
FROM payments
WHERE student_id = 101;
An index on student_id is often useful here.
But if you write:
WHERE UPPER(student_name) = 'ANA CRUZ'
the DBMS may not use a basic index on student_name efficiently, depending on the system and index type.
DBAs also consider composite indexes, where multiple columns are indexed together. These can be powerful, but the column order matters.
Pro2 reviewers locked
Part of this subject's paid reviewers. Not included in this printout.
Done with this module? Track it — your progress shows on the subject list.
Studying with blockmates? Send them this lesson.
Up next
Lesson 4: Administrative SQL and Schema Objects→←Previous: Lesson 2: Logical Design, Normalization, and Metadata Control