Unit 1 Lecture 1
Unit 1 Lecture 1
Database
Management
System
Basic Terms
Section - 1
Basic terms
🞂 Data
⮩ Data is raw, unorganized facts that need to be processed.
⮩ Example: Marks of students
⮩ Student_1 = 50/100, Student_2 = 25/100.
🞂 Information
⮩ When data is processed, organized, structured or presented in a given context so as to make it useful, it is
called information.
⮩ Example: Result of students (Pass or Fail)
⮩ Student_1 = Pass, Student_2 = Fail.
3
Basic terms (cont…)
🞂 Metadata
⮩ Metadata is data about data.
⮩ Data such as table name, column name, data type, authorized user and user access privileges for any table is
called metadata for that table.
Facult
y
Emp_Name Address Mobile_No Subject
Prof. ABC India 98XXXXXXXX DBMS
4
Basic terms (cont…)
🞂 Data dictionary
⮩ A data dictionary is an information repository which contains metadata.
• Table Name – Faculty
• Column Name – EmpName, Address, Mob, Subject, Salary
• Datatype – Varchar, Decimal
• Access Privileges – Read, Write (Update)
🞂 Data warehouse
⮩ A data warehouse is an information repository which stores data.
Facult
y
Emp_Name Address Mobile_No Subject
Prof. ABC India 98XXXXXXXX DBMS
Prof. XYZ USA 01XXXXXXXX OS
Exercis Why data dictionary and data warehouse are stored in the different places?
e
5
Basic terms (cont…)
🞂 Field
⮩ A field is a character or group of characters that have a specific meaning.
⮩ E.g, the value of Emp_Name, Address, Mobile_No etc are all fields of Faculty table.
Facult
y
Emp_Name Address Mobile_No Subject Fields
Prof. ABC India 98XXXXXXXX DBMS
Prof. ABC India 98XXXXXX
Prof. XYZ USA 01XXXXXXXX OS XX
🞂 Record / Tuple
⮩ A record is a collection of logically related fields.
⮩ E.g, the collection of fields (Emp_Name, Address, Mobile_No, Subject) forms a record for the Faculty.