Skip to main content

Databases (DBMS)

DBMS

Pick a Databases (DBMS) subtopic from the cards below — ER model and relational model through SQL, normalization, indexing, and transactions — each tagged with marks weightage, importance, GATE samples, and flashcards.

7–10 marks · prioritise Must-score 7 detailed lessons Free guide

Learning outcomes

  • Map ER diagrams to relational schemas and identify keys and constraints
  • Write relational algebra expressions and SQL queries including nested and aggregate queries
  • Compute attribute closures, candidate keys, and test 3NF/BCNF and lossless decompositions
  • Test serializability, 2PL, recoverability, and B+ tree capacity questions

Overview

DBMS in GATE CSE usually carries about 7–10 marks across the ER model, relational model, relational algebra and calculus, SQL, normalization, indexing and file organization, and transactions with concurrency control.

Many questions are short calculations or traces: candidate keys and normal-form checks, lossless and dependency-preserving decompositions, SQL query outputs (including NULL and GROUP BY), B+ tree order and height, and conflict-serializability precedence graphs.

Use the weightage table to prioritise Must-score topics (normalization, SQL, transactions) first — indexing often follows — then open each lesson for concepts, samples, practice, and flashcards. Revise Algorithms (sorting and tree height) if the indexing chapter feels slow.

Marks & importance

Topic-wise weightage (indicative)

Databases (DBMS) as a whole usually contributes about 7–10 marks in GATE CSE. Ranges below split that band across subtopics for revision planning — exact marks vary by year.

Topic Typical marks Importance Why it matters
ER Model ~0.5–1 Moderate Cardinality and participation, weak entities and the minimum number of tables in an ER-to-relational mapping are quick one-mark items.
Relational Model ~0.5–1 Moderate Counting super keys, entity and referential integrity, foreign-key actions and view basics are short definition-driven marks.
Relational Algebra & Calculus ~1–1.5 High Join and division results, tuple-count bounds, query meaning and safe tuple/domain calculus expressions appear almost every year.
SQL ~1.5–2 Must-score Query-output traces with joins, GROUP BY/HAVING, nested and correlated queries, EXISTS and NULL semantics are favourite 2-mark questions.
Normalization ~1.5–2 Must-score Attribute closure, candidate-key counting, highest normal form, lossless and dependency-preserving decomposition are repeated every year.
Indexing & File Organization ~1–1.5 High Blocking factor, sparse/dense index sizes, B and B+ tree order and height, and extendible hashing are formula-driven numericals.
Transactions & Concurrency Control ~1–1.5 Must-score Precedence graphs, conflict/view serializability, 2PL variants, recoverability classes, timestamp ordering and log-based recovery.
  • Must-score Lock these first — short, high-accuracy items.
  • High Core building blocks; appear often in MCQ/NAT form.
  • Moderate Less frequent, but clean marks when prepared.
Topic map

Databases (DBMS) — detailed lessons

Open each subtopic from the left menu (or the cards below). Together they cover about ~32 hours of first-pass Databases (DBMS) aligned to the GATE CSE syllabus: ER and relational models, relational algebra and calculus, SQL with joins and nested queries, normalization with closures and decompositions, indexing with B+ trees and hashing, and transactions with serializability, locking, and recovery — with GATE-style samples, practice, and flashcards.

01

ER Model

Start Databases here: learn to read an ER diagram, decide cardinality and participation, handle weak entities, and convert any diagram into the minimum number of relational tables.

~3 hrs ~0.5–1 marks Moderate
02

Relational Model

Relations are the data structure behind every query: learn the formal vocabulary, the key hierarchy, how to count super keys, and what integrity constraints and views guarantee.

~3 hrs ~0.5–1 marks Moderate
03

Relational Algebra & Calculus

Relational algebra is the procedural core behind SQL: master the six basic operators, derive joins and division from them, and bound the size of every result.

~4 hrs ~1–1.5 marks High
04

SQL

SQL questions in GATE are traces: work out exactly what a query returns on a small table. Know the logical order of evaluation, three-valued NULL logic, and what each aggregate and join does.

~5 hrs ~1.5–2 marks Must-score
05

Normalization

Normalization is the biggest scoring block in DBMS: compute closures, find every candidate key, name the highest normal form, and test decompositions for lossless join and dependency preservation.

~6 hrs ~1.5–2 marks Must-score
06

Indexing & File Organization

Indexing questions are calculations on disk blocks: find the blocking factor, index size and search cost, then compute B+ tree order, fan-out, capacity and height.

~5 hrs ~1–1.5 marks High
07

Transactions & Concurrency Control

Transactions bring everything together: decide whether a schedule is serializable and recoverable, choose the locking protocol that guarantees it, and know how the log restores the database after a crash.

~6 hrs ~1–1.5 marks Must-score

Suggested study order

  1. ER Model → Relational Model
  2. Relational Algebra & Calculus
  3. SQL (run queries on small tables daily)
  4. Normalization (closures and candidate keys until automatic)
  5. Indexing & File Organization
  6. Transactions & Concurrency Control

After each topic, solve previous-year DBMS questions for that unit. Keep a one-page sheet of closure and candidate-key steps, BCNF/3NF tests, SQL NULL and GROUP BY rules, B+ tree order and height formulas, and serializability, 2PL and recoverability definitions. Revise Algorithms (tree height and sorting) first if the indexing calculations feel slow.

Frequently asked questions

What DBMS topics does GATE ask?

ER model and ER-to-relational mapping, relational model and keys, relational algebra and calculus, SQL (joins, aggregation, nested queries, NULLs), normalization (FDs, 3NF/BCNF, decomposition), indexing and B+ trees, and transactions (serializability, 2PL, recovery). Open each subtopic from this hub for a full lesson.

Which DBMS topics are Must-score in GATE?

Normalization (closures, candidate keys, normal forms, decompositions), SQL query outputs, and transactions (conflict serializability and 2PL) — indexing and B+ tree calculations often follow closely.

How should I practise normalization and transactions?

Compute attribute closures and candidate keys by hand until it is automatic, then test 3NF/BCNF. For schedules, draw the precedence graph and look for a cycle every time.

Do DBMS questions need long theory?

Definitions matter, but marks mostly come from short numericals and query or schedule traces — practise both.

What should I revise in the last month?

Closure and candidate-key algorithms, BCNF/3NF tests and lossless-join checks, SQL NULL and GROUP BY/HAVING behaviour, relational algebra equivalents of SQL, B+ tree order and height formulas, and serializability, 2PL and recoverability definitions. Re-solve recent PYQs under timed conditions.

Related resources