GATE CSE 2027 DBMS: Syllabus, Weightage, SQL, Normalization, Indexing, Transactions & Solved Problems
ER model, relational algebra, tuple calculus, SQL, keys and normal forms, B/B+ tree indexing, and transactions with concurrency control: the complete Databases section for GATE CSE 2027, with worked questions.
By Piyush Wairale (M.Tech, IIT Madras) · Former Instructor, IIT Madras BS Degree Programme · Mentor to 20,000+ GATE aspirants · Updated November 2026
Quick Answer
• Databases (DBMS) is Section 9 of GATE CSE 2027 and typically carries 7 to 8 marks.
• Syllabus: ER model; relational model (relational algebra, tuple calculus, SQL); integrity constraints, normal forms; file organization, indexing (B and B+ trees); transactions and concurrency control.
• Most repeated: candidate keys and normal forms, SQL/relational algebra output, conflict serializability and B+ tree order.
• DBMS is one of the most scoring subjects. Make it a guaranteed 7+ with the GATE CSE 2027 Test Series by Piyush Wairale.
🎯 Test your DBMS today
Subject-wise tests + full-length GATE CSE mocks with MCQ, MSQ and NAT questions, detailed solutions and performance analysis. Only ₹499 ₹999.
Join GATE CSE 2027 Test Series →On this page
Official syllabus · Weightage · ER model · Algebra, calculus, SQL · Keys & normal forms · Indexing · Transactions · Solved problems · FAQs
GATE CSE 2027 Databases Syllabus (Official, IIT Madras)
Section 9 of the CS paper: ER-model. Relational model: relational algebra, tuple calculus, SQL. Integrity constraints, normal forms. File organization, indexing (e.g., B and B+ trees). Transactions and concurrency control.
Full paper structure: GATE CS 2027 syllabus and exam pattern.
Topic-wise Weightage and Priority
| Topic | Typical question | Priority |
|---|---|---|
| FDs, keys & normal forms | Candidate keys, highest normal form, lossless/dependency-preserving decomposition | Very high |
| SQL, RA, TRC | Query output / row count, equivalent expressions | Very high |
| Transactions & concurrency | Conflict/view serializability, recoverability, 2PL, timestamps | High |
| Indexing & file organization | B+ tree order, levels, block accesses, node splits | High |
| ER model | Minimum tables for an ER diagram | Medium |
ER Model
Entities, attributes (simple, composite, multivalued, derived), relationships and cardinality (1:1, 1:N, M:N), participation (total/partial) and weak entities. Mapping rules for minimum tables: a 1:N relationship merges into the N side; an M:N relationship needs its own table; a multivalued attribute needs its own table; a 1:1 with total participation on one side can merge into that side.
Relational Algebra, Tuple Calculus and SQL
Relational algebra operators: σ (select), π (project, removes duplicates), ×, ⋈ (joins), ∪, −, ρ, and division (for “for all” queries). Tuple relational calculus expresses queries as {t | P(t)}; safe TRC is equivalent in power to relational algebra. In SQL, remember that SELECT keeps duplicates unless DISTINCT is used, WHERE filters rows before GROUP BY and HAVING filters groups after, and NOT IN fails silently if the subquery returns NULL. For a worked, row-by-row walkthrough, see SQL and relational algebra evaluated step by step.
Integrity Constraints, Keys and Normal Forms
Find candidate keys with attribute closure: start with attributes that never appear on the right side of any FD (they must be in every key). A relation with n attributes and a single-attribute candidate key has 2n−1 superkeys.
| Normal form | Condition for every non-trivial FD X → Y |
|---|---|
| 1NF | All attribute values are atomic |
| 2NF | No non-prime attribute depends on a proper subset of a candidate key |
| 3NF | X is a superkey, or every attribute of Y is prime |
| BCNF | X is a superkey |
A decomposition of R into R1 and R2 is lossless if R1 ∩ R2 is a superkey of R1 or of R2. A 3NF decomposition that is lossless and dependency-preserving always exists; BCNF may lose dependency preservation.
File Organization and Indexing (B and B+ Trees)
Primary, clustering and secondary indexes; dense vs sparse indexes. In a B+ tree, all records (or record pointers) are at the leaves, which are linked for range queries; internal nodes hold only keys and child pointers, so B+ trees have higher fan-out than B trees. Internal node order p satisfies p × (block pointer size) + (p − 1) × (key size) ≤ block size. Search cost = tree height + 1 data block access (for a primary index).
Transactions and Concurrency Control
ACID properties. A schedule is conflict serializable iff its precedence graph (edges for conflicting read-write, write-read, write-write pairs on the same item by different transactions) is acyclic. Every conflict-serializable schedule is view serializable, not conversely (blind writes). Recoverable: a transaction commits only after those it read from commit; cascadeless: reads only committed data; strict: no read or write of uncommitted data. Two-phase locking guarantees conflict serializability but not deadlock freedom; strict 2PL also gives cascadeless schedules. Timestamp ordering and Thomas’ write rule are also in scope.
Five GATE-Style Problems, Solved
Q1 (MCQ). R(A, B, C, D) with A → B, B → C, C → D. Candidate key(s)?
Solution: A never appears on a right side and A+ = ABCD, so the only candidate key is A.
Q2 (NAT). How many superkeys does that relation have?
Solution: Any set containing A: 23 = 8.
Q3 (MCQ). R(A, B, C) with AB → C and C → B. Highest normal form?
Solution: Candidate keys are AB and AC, so all attributes are prime. C → B violates BCNF (C is not a superkey) but satisfies 3NF (B is prime). Answer: 3NF.
Q4 (MCQ). Is the schedule r1(A), w2(A), w1(A) conflict serializable?
Solution: r1(A) before w2(A) gives T1 → T2; w2(A) before w1(A) gives T2 → T1. Cycle, so not conflict serializable.
Q5 (NAT). Block size 1024 B, key 10 B, block pointer 6 B. Maximum order of a B+ tree internal node?
Solution: 6p + 10(p − 1) ≤ 1024 gives 16p ≤ 1034, so p = 64.
DBMS should be your safest 7 to 8 marks. Practise like it.
The GATE CSE 2027 Test Series includes DBMS subject-wise tests on keys, normal forms, SQL output, serializability and B+ trees, with detailed solutions.
Start practising for ₹499 →Common Mistakes to Avoid
Missing a candidate key: after finding one, check whether swapping in attributes from FD left sides gives another.
Calling a relation not-3NF without checking whether the right-side attribute is prime.
Drawing precedence edges for read-read pairs: only conflicting operations count.
Forgetting that π removes duplicates while SQL SELECT does not.
Using the leaf-node formula for internal-node order in B+ trees.
4-Week Preparation Strategy
Week 1: ER model, relational algebra, TRC and SQL. Week 2: FDs, closures, keys, normal forms and decomposition. Week 3: File organization and B/B+ trees, then transactions and concurrency control. Week 4: 10 years of GATE CS DBMS questions and the DBMS tests in the GATE CSE 2027 Test Series.
Best GATE CSE 2027 Test Series by Piyush Wairale (IIT Madras)
Built for Computer Science and IT aspirants who want exam-level practice, not just theory.
✔ Subject-wise tests covering the complete GATE CSE 2027 syllabus
✔ Full-length mock tests on the actual GATE pattern
✔ MCQ, MSQ and NAT questions, exactly like the real exam
✔ Detailed solutions and explanations for every question
✔ Performance analysis to find and fix your weak topics
₹499 ₹999 50% OFF
Enroll in GATE CSE 2027 Test Series →More GATE courses and notes: piyushwairale.com
FAQs: GATE CSE 2027 DBMS
How many marks does DBMS carry in GATE CSE?
About 7 to 8 marks in recent GATE CS papers.
Is tuple relational calculus in the GATE CSE 2027 syllabus?
Yes. The relational model in the syllabus explicitly lists relational algebra, tuple calculus and SQL.
Is 4NF or 5NF asked in GATE?
The syllabus says normal forms without listing them; questions focus overwhelmingly on 2NF, 3NF and BCNF.
Which is the best test series for GATE CSE 2027?
The GATE CSE 2027 Test Series by Piyush Wairale (IIT Madras) on piyushwairale.com offers subject-wise and full-length mocks with MCQ, MSQ and NAT questions, detailed solutions and performance analysis for ₹499. See the test series.
Is DBMS easy to score in GATE CSE?
Yes. It is concept-light compared with OS or COA, and its question types (keys, normal forms, serializability, SQL output) repeat closely every year.
GATE CSE 2027: All Subject-wise Guides
1. Engineering Mathematics · 2. Digital Logic · 3. Computer Organization & Architecture · 4. Programming & Data Structures · 5. Algorithms · 6. Theory of Computation · 7. Compiler Design · 8. Operating System · 9. Databases (DBMS) · 10. Computer Networks
Full paper overview: GATE CS 2027 Syllabus, Exam Pattern & Cutoff. Practise all ten subjects in one place with the GATE CSE 2027 Test Series.
Recent Post

GATE CSE 2027 Computer Networks guide: official syllabus, approx. 8 to 9 marks weightage, layering, switching, error detection, MAC and Ethernet, distance vector and link state routing, IPv4, CIDR, NAT, fragmentation, TCP flow and congestion control, DNS and HTTP, solved numericals and the GATE CSE 2027 Test Series.

GATE CSE 2027 Operating System guide: official syllabus, approx. 9 to 10 marks weightage, processes, threads, fork, CPU scheduling, semaphores, deadlock, paging, virtual memory, page replacement and file systems, solved numericals and the GATE CSE 2027 Test Series.

GATE CSE 2027 Compiler Design guide: official syllabus, approx. 4 to 6 marks weightage, lexical analysis, LL and LR parsing, syntax-directed translation, runtime environments, intermediate code, liveness and constant propagation, solved problems and the GATE CSE 2027 Test Series.

GATE CSE 2027 Theory of Computation guide: official syllabus, approx. 8 marks weightage, regular expressions, DFA/NFA, CFGs, PDAs, pumping lemma, closure properties, Turing machines and undecidability, solved problems and the GATE CSE 2027 Test Series.

GATE CSE 2027 Algorithms guide: official syllabus, approx. 8 to 10 marks weightage, asymptotic analysis, Master theorem, sorting, hashing, greedy, dynamic programming, divide and conquer, BFS/DFS, MST and shortest paths, solved problems and the GATE CSE 2027 Test Series.

GATE CSE 2027 Programming and Data Structures guide: official syllabus, approx. 10 to 12 marks weightage, C programming, recursion, arrays, stacks, queues, linked lists, trees, BSTs, heaps and graphs, solved problems and the GATE CSE 2027 Test Series.
Learn Daily, Wherever You Are
Free lectures, exam updates, PYQ discussions, and job alerts — delivered through our YouTube channel and Telegram communities.



[…] 6. Theory of Computation · 7. Compiler Design · 8. Operating System · 9. Databases (DBMS) · 10. Computer […]
[…] 6. Theory of Computation · 7. Compiler Design · 8. Operating System · 9. Databases (DBMS) · 10. Computer […]