Skip to content

Database Management System syllabus

ITM 2038 units · 83 topicsAcademic year 2083/84
Browse the units

1Database Management System

2Database Concepts and Architecture

  1. 2.1
    Data, database and Database Management System (DBMS)
  2. 2.2
    File-processing system vs database approach, advantages of databases
  3. 2.3
    Database users: administrator, designers, application programmers and end users
  4. 2.4
    Schemas and instances
  5. 2.5
    Categories of data models (conceptual, logical, physical)
  6. 2.6
    Three-schema architecture, logical and physical data independence
  7. 2.7
    Database languages (DDL, DML, DCL, TCL) and interfaces
  8. 2.8
    Database system environment and components
  9. 2.9
    Centralized and client/server (1-, 2- and 3-tier) architectures
  10. 2.10
    Data models and classification: relational, object-oriented, hierarchical, network and NoSQL

3Data Modelling Using the ER/EER Model and the Relational Model

  1. 3.1
    High level conceptual models and the database design process
  2. 3.2
    Entity types and entity sets
  3. 3.3
    Attributes (simple, composite, multivalued, derived, identifier/key)
  4. 3.4
    Keys (super key, candidate key and primary key)
  5. 3.5
    Relationship types and sets, roles and degree
  6. 3.6
    Mapping cardinalities and participation constraints
  7. 3.7
    Weak entity types
  8. 3.8
    Relationship types of degree higher than two
  9. 3.9
    ER diagrams, naming conventions and ER design issues
  10. 3.10
    Enhanced ER (EER) concepts: specialization and generalization, disjoint and overlapping constraints, total and partial specialization constraints, aggregation
  11. 3.11
    Relational model concepts: relation, tuple, attribute, domain, degree and cardinality
  12. 3.12
    Characteristics of relations, relational schema and relational database state
  13. 3.13
    Relational keys (super, candidate, primary, alternate, composite and foreign key)
  14. 3.14
    Integrity constraints: domain, key, entity integrity and referential integrity
  15. 3.15
    Handling constraint violations during insert, delete and update
  16. 3.16
    Mapping ER/EER diagrams into relational tables: strong and weak entities, simple, composite and multivalued attributes
  17. 3.17
    Mapping 1:1, 1:N and M:N relationships, higher-degree relationships, specialization and generalization
  18. 3.18
    Case study: designing an ER/EER schema for a real-world system and converting it into relational tables

4Database Normalization

  1. 4.1
    Informal design guidelines for relation schemas
  2. 4.2
    Update, insertion and deletion anomalies
  3. 4.3
    Functional dependencies
  4. 4.4
    Closure of a set of functional dependencies and of attribute sets
  5. 4.5
    Properties of relational decomposition: lossless-join and dependency preservation
  6. 4.6
    Normal forms based on primary keys: First, Second and Third Normal Forms
  7. 4.7
    Boyce-Codd Normal Form (BCNF) and comparison of BCNF and 3NF
  8. 4.8
    Multivalued dependency and Fourth Normal Form

5Structured Query Language (SQL)

  1. 5.1
    Data Definition Language: data and domain types, create, alter, drop, rename, truncate, schema definition
  2. 5.2
    Specifying constraints: NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK, DEFAULT and referential actions
  3. 5.3
    Data Manipulation Language: SELECT, INSERT, UPDATE and DELETE
  4. 5.4
    FROM and WHERE clauses, SQL alias, tuple variables, string operations (LIKE), ORDER BY, DISTINCT
  5. 5.5
    Set operations (UNION, INTERSECT, EXCEPT)
  6. 5.6
    Aggregate functions, GROUP BY and HAVING, null values
  7. 5.7
    Joined relations: INNER, OUTER, CROSS and NATURAL joins and join conditions
  8. 5.8
    Nested subqueries: set membership, set comparison, test for empty relations, test for absence of duplicate tuples
  9. 5.9
    Views: creating, querying and updating views
  10. 5.10
    Transaction Control Language (begin, commit, rollback, savepoint, rollback to) and Data Control Language (GRANT, REVOKE)
  11. 5.11
    Introduction to stored procedures and functions
  12. 5.12
    DML triggers (insert, update, delete)
  13. 5.13
    Indexing: clustered and non-clustered indexes
  14. 5.14
    Introduction to embedded and dynamic SQL

6Transaction Processing, Concurrency Control and Recovery

  1. 6.1
    Introduction to transaction processing, transaction and system concepts, transaction states
  2. 6.2
    Desirable properties of transactions (ACID)
  3. 6.3
    Schedules: serial, serializable, conflict-serializable and recoverable schedules
  4. 6.4
    Concurrency problems: lost update, dirty read, unrepeatable read and phantom
  5. 6.5
    Lock-based protocols, two-phase locking and its types
  6. 6.6
    Timestamp-ordering protocol
  7. 6.7
    Recovery concepts, log-based recovery
  8. 6.8
    Deferred update (NO-UNDO/REDO), immediate update (UNDO/REDO)
  9. 6.9
    Shadow paging
  10. 6.10
    Database backup and recovery from failures

7NoSQL Databases

  1. 7.1
    Limitations of relational databases at web scale: vertical and horizontal scaling, schema flexibility and join overhead in distributed environments
  2. 7.2
    Definition and historical development of NoSQL, RDBMS vs NoSQL
  3. 7.3
    ACID vs BASE (basically available, soft state, eventual consistency)
  4. 7.4
    CAP theorem: consistency, availability and partition-tolerance trade-offs, eventual consistency
  5. 7.5
    NoSQL data models: key-value, document, wide-column (column-family) and graph
  6. 7.6
    Representative NoSQL database systems and their applications
  7. 7.7
    Advantages, limitations and criteria for selecting and avoiding NoSQL databases
  8. 7.8
    Document model and MongoDB fundamentals: documents and collections, JSON and BSON, flexible schema, _id field and ObjectId, embedding and referencing
  9. 7.9
    Insertion: insertOne(), insertMany()
  10. 7.10
    Querying: find(), findOne(), comparison operators ($gt, $lt, $gte, $in) and logical operators ($and, $or)
  11. 7.11
    Projection and sorting: field inclusion and exclusion, sort(), limit(), skip()
  12. 7.12
    Updates: updateOne(), updateMany(), update operators ($set, $inc, $push)
  13. 7.13
    Deletion: deleteOne(), deleteMany()
  14. 7.14
    Basic indexing: purpose of indexes and impact on query performance
  15. 7.15
    Database backup and restore

8Advanced Topics

  1. 8.1
    Database security: access control, authentication and authorization (privileges and roles)
  2. 8.2
    Introduction to SQL injection and encryption
  3. 8.3
    Database performance tuning: query tuning, index selection and execution plans
  4. 8.4
    Parallel database: advantages and disadvantages
  5. 8.5
    Distributed databases: characteristics, advantages, disadvantages, components, distributed database design
  6. 8.6
    Fragmentation (horizontal and vertical), replication and allocation
  7. 8.7
    Introduction to big data (volume, velocity, variety) and its link to NoSQL