Course objectives
- To understand the need of databases, its architecture and schemas.
- To familiarize students with representing domains using entity-relationship modelling.
- How to design a normalized schema in the relational data model.
- Develop skills in students to implement schema and query using SQL.
- Develop ability to develop database applications based on the requirements.
Unit I
Basic Concepts of Data and Information, Overview of Information Systems, File organization and access methods; Introduction to DBMS, Difference between DBMS and traditional file storage system. Characteristics of DBMS. Data Models, Schemas and Instances, DBMS architecture, Components of DBMS. Data Independence. Study of Entity Relationship Model, Type of attributes, Entity types, Relationship and Cardinalities, Participation, Roles and constraints.
Unit II
Relational Data Model: Domains, Tuples, Attributes, Relations, keys and types of keys, Integrity Constraints, Relational Algebra: Queries using Select operation, project operation, renaming, joins, union, intersection, difference, division, and product etc. Relational Calculus, Tuple calculus. Query Language: SQL – basic SQL queries, functions, constraints, joins and nested queries, QBE (Query By Example), Indexing, and PL/SQL.
Unit III
Normalization Theory and Database methodologies: Relation Schemas, Functional Dependencies- Definition and rules of axioms, Normal forms- 1NF, 2NF, 3NF and BCNF, Dependency preservation, properties, loss less join decomposition. Query Processing and Optimization: Various algorithms to implement select, project & join operation of relational algebra, complexity measures.
Unit IV
Transaction Processing: Introduction to Concurrency and Recovery, Read and Write Operations, Transaction properties, Transaction states, Schedules, Serializability, types of serializability and test for serializability, Concurrency Control: Types of Locks, Timestamp Based, Validation Based etc. Multiversion schemes, Recovery: Basic concepts, techniques based on deferred update and immediate update, Shadow paging, check points.
Unit V
Storage structure: Secondary Storage Devices, RAID, Heap Files and Sorted files, Hashing techniques, Indexing techniques: Bitmap Indices, Case Study of any contemporary DBMS.
Course outcomes
After completing the course student should be able to:
- Knowledge of basic concepts, components & applications of database systems as well as Entity-Relationship model.
- Learn basics of SQL and use of commercial relational database system (Oracle) by writing Queries using SQL.
- Use the design principles for logical design of databases, including the E-R method and normalization approach. Applying relational algebra expressions for queries.
- Knowledge of basic issues of transaction processing and concurrency control & basic database storage structures and access techniques.
Text books
- Korth H.F. & Silberschatz A., Sudarshan, “Database Systems”, McGraw-Hill, Sixth edition, 2013.
- Elmasri R., Navathe S.B., “Fundamentals of Database Systems”, Seventh Edition, Pearson, 2016.