Database Systems · Introduction and Architecture
Definition of Data
Overview
Data is defined in this course as any fact that can be recorded and stored. This definition matters because it is the basis for defining a database as a collection of related data, and it shows that data is not limited to text and numbers.
Key concepts
- Data: any fact that can be recorded and stored. The single test is: if you can record it, it is data.
- Other definitions: many definitions of data exist elsewhere, but the definition above is the one used in this course.
- Forms of data: data can take any form, because each form is a fact that can be recorded — text, numbers, images, videos, and speech/audio.
- Database (basis): this definition of data becomes the basis for defining a database as a collection of related data.
How it works
- Text — for example, a person's name. A name is a fact, and it is stored as text.
- Numbers — for example, a phone number.
- Images — pictures that we take (photographs) are also data.
- Videos — for example, a recording of a lecture.
- Speech / audio — another type of recordable data.
The reasoning is the same for every type: if it can be recorded, it is data.
Worked examples
| Fact | Form of data |
|---|---|
| A person's name | Text |
| An address | Text |
| A phone number | Numbers |
| A photograph | Image |
| A lecture recording | Video |
| A voice recording | Speech / audio |
Revision summary
- Data = any fact that can be recorded and stored (the definition used in this course).
- The only criterion is recordability: if it can be recorded, it is data.
- Data is not limited to text and numbers; images, videos and speech are also data.
- Many other definitions of data exist, but they are not the ones used here.
- This definition is the basis for defining a database as a collection of related data.
Previous-year exam insights
- Data is raw, unprocessed facts; information is data that has been processed/organised into a meaningful form, and knowledge is information combined with experience/context.
- A database is an organised collection of interrelated data (usually stored electronically); a DBMS is the software that manages, stores, retrieves and controls access to that data.
- Metadata is data about data — it describes the structure of the database (schema, data types, constraints) and is stored in the data dictionary/system catalog.
- The main advantages of a DBMS over file systems are controlled redundancy, data consistency, data sharing, integrity enforcement, security, backup/recovery and concurrent access.
- Data can be structured (tables/records), semi-structured (XML, JSON) or unstructured (text, images, audio, video); a DBMS traditionally handles structured data.
- The three levels of data abstraction are physical (internal) level, logical (conceptual) level and view (external) level; the physical level describes how data is stored, the logical level what data is stored and relationships, and the view level user-specific portions.