Data, Information and Databases
Data is raw recorded fact, information is data placed in context, and a database is an organised, shared, self describing collection of related data. Getting these three apart is the first step in DBMS.
-
DBMS Fundamentals
- Data, Information and Databases
- What a DBMS Is and Why It Exists
- File System versus DBMS
- Advantages and Limitations of a DBMS
- Database Users and the Role of the DBA
- Three Level Architecture and Data Abstraction
- Logical and Physical Data Independence
- Schema, Instance and Metadata
- Database Applications and the Database System Environment
- Database Architecture
- Data Models
-
ER Model
- Entities, Entity Sets and Entity Types
- Types of Attributes in the ER Model
- Keys in the ER Model
- Relationships, Relationship Sets and Degree
- Cardinality and Participation Constraints
- Strong and Weak Entities
- Drawing and Reading ER Diagrams
- Extended ER: Generalisation, Specialisation and Aggregation
- Converting an ER Diagram into Relational Tables
- ER Design Projects
- Relational Model
- Relational Algebra
- Functional Dependencies
-
Normalisation
- Why Normalisation Exists: Anomalies and Redundancy
- First Normal Form
- Second Normal Form and Partial Dependency
- Third Normal Form and Transitive Dependency
- BCNF and BCNF Decomposition
- 4NF, 5NF, Multivalued and Join Dependencies
- Lossless Decomposition and Dependency Preservation
- Complete Worked Normalisation: Unnormalised to BCNF
- Denormalisation and When to Use It
Concept
Three words are used loosely in conversation and precisely in this subject.
| Term | Meaning | Example |
|---|---|---|
| Data | Raw recorded facts with no interpretation attached. | 87, Meera, 2026-03-14 |
| Information | Data placed in a context that answers a question. | Meera scored 87 in the March 2026 test. |
| Knowledge | Patterns drawn from information, used to decide something. | Students who attend labs score about 15 marks higher. |
A database is an organised collection of related data, stored so it can be retrieved, updated and shared by many users and many programs at once.
The word related is doing real work. A folder holding a photograph, a song and a tax form is a collection of files, not a database. A collection of students, the courses they take and the marks they earn is a database, because the pieces refer to one another.
The four properties every database has
- It represents some part of the real world. That part is called the mini world or the universe of discourse. When the real world changes, the database must change with it.
- It is a logically coherent collection. Random data thrown together is not a database.
- It is designed and populated for a purpose. There is an intended group of users and an intended set of questions it must answer.
- It is self describing. A database stores not only the data but also a description of its own structure. That description is the metadata, and it is what separates a database from a plain file.
Why the self describing property matters
A PLAIN FILE A DATABASE
------------ ----------
students.txt table: students
87,Meera,2026-03-14 id INT not null, key
91,Ravi,2026-03-14 name VARCHAR(50)
test_on DATE
The meaning of each column lives The meaning is stored WITH the data,
only inside the program that in the catalog, so any program or
reads the file. Change the file user can discover the structure
and every program breaks. without reading anyone code.This is why a database can be shared. Because the structure is stored centrally, a new application can be written against the same data without asking the original programmer what column three meant.
Important terminology
| Term | Meaning |
|---|---|
| Mini world | The slice of reality the database models. |
| Metadata | Data about the data: table names, column names, types, constraints, relationships. |
| Data dictionary | Also called the system catalog. Where the metadata is stored. |
| Record | One complete set of related values, such as one student. |
| Field | One named item inside a record, such as the student name. |
| Data item | The smallest named unit of data. |
| Entity | A real world object or concept the database stores facts about. |
Example
A small college database, shown as its structure rather than its contents. This same example is reused throughout the path, so it is worth reading carefully.
-- Illustration only. This path teaches DBMS concepts;
-- SQL is used here purely to make the structure concrete.
students ( roll_no, name, dob, dept_code )
courses ( course_code, title, credits, dept_code )
enrolments ( roll_no, course_code, semester, marks )
departments( dept_code, dept_name, head )The four tables are related: an enrolment refers to a student and to a course, and both students and courses belong to a department. Remove those references and you no longer have a database, only four lists.
Data versus a database versus a DBMS
| Layer | What it is |
|---|---|
| Data | The recorded facts themselves. |
| Database | The organised, self describing collection of those facts. |
| DBMS | The software that creates, stores, protects and queries the database. |
| Database system | The database plus the DBMS plus the applications built on top. |
Common mistakes
- Calling any file a database. A spreadsheet holds data, but it has no catalog, no controlled sharing and no concurrency control.
- Confusing the database with the DBMS. MySQL is a DBMS. The college records held inside it are the database. Interviewers ask this deliberately.
- Treating data and information as the same word. Data becomes information only when a context makes it answer something.
- Forgetting the self describing property. It is the property most often missed in exams and the one that explains most of the advantages later.
Exam and interview questions
- Define data, information and knowledge with one example each.
- List the four properties of a database and explain the self describing property in your own words.
- What is the difference between a database and a DBMS?
- Why is a collection of unrelated files not a database?
- What is a data dictionary and what does it contain?
Practice
- Write down five data items from your college identity card. Turn each into a sentence of information.
- Name the mini world of a railway reservation database and list four entities it must store.
- Explain, in three sentences, what would break if a database stopped storing its own metadata.
Conclusion
Data is raw, information is data in context, and a database is a purposeful, related, self describing collection managed for many users at once. Every advantage discussed in the rest of this phase grows out of those four properties.