Introduction to Database Systems and Architecture
- Data Definition: Raw or unorganized facts and figures such as alphabets, numbers, and symbols (e.g., Student Roll No, Name, CGPA, or User Profiles).
- Data Transformation Sequence: Data → Information → Knowledge → Growth of Business/Organization.
- Domain Categories: Transport, Geographical, Natural, Metrological, Statistical, Cultural, Scientific, and Financial.
Data Storage and Retrieval Aspects
- Data Storage Formats: Text Files, Spreadsheets, Relational Database (Tabular), and Key-value Pairs.
- Information Retrieval Methods: Sequential/Manual, Query Based, and Natural Language Based.
- Data Storage Evolution: File Storage → Indexed Storage → Data-warehouse → Cloud Storage.
Data Types Classification

- Numeric: bit, tinyint, smallint, int, bigint, decimal, numeric, float, real
- Date/Time: Date, Time, Datetime, Timestamp, Year
- Character/String: Char, Varchar, Varchar (max), Text
- Unicode Character/String: NChar, NVarchar, NVarchar (max), NText
- Binary: Binary, Varbinary, Varbinary (max), image
- Miscellaneous: Clob, Blob, XML, JSON
File-Based Systems vs. Database Systems
- Flat File Storage: Non-relational text files containing delimiter-separated data without structural links between files.
- Limitations of File Systems:
- Data redundancy and inconsistency
- Difficulty in accessing data
- Data isolation across multiple files and formats
- Integrity problems
- Atomicity of updates
- Multi-user concurrent access problems
- Security vulnerabilities
Database Management Systems (DBMS)
- Database: A structured collection of interrelated data belonging to an enterprise.
- DBMS Definition: A set of software programs used to create, maintain, and interact with a database conveniently and efficiently.

- Architecture Role: Serves as an interface between users and the physical database; end users do not directly interact with raw stored database files.
Three-Schema Architecture and Abstraction Levels

- External Level (View Schema):
- Provides user-specific views while hiding unrelated data types.
- Restricts access to sensitive data fields (such as salary details) for security.
- Conceptual Level (Logical Schema):
- Describes the overall logical structure of the full database.
- Defines entities, relationships, data types, constraints, and user operations.
- Internal Level (Physical Schema):
- Details physical storage layout, low-level record formats, and access paths.