← RGPV CS-502 DBMS June 2026 solved question paper
← RGPV CS-502 DBMS December 2025 solved question paper
← RGPV CS-502 DBMS June 2025 solved question paper
RGPV CS-502 (GS) | June 2026 | Q8(a) | 7 marks (inferred)
Question (restated): Discuss the architectures of Oracle, PostgreSQL and MySQL.
Answer

Oracle separates the database (persistent data files, control files and online redo logs) from an instance (memory and processes). The System Global Area contains shared structures such as the database buffer cache, shared pool and redo log buffer. Server processes execute SQL; background processes include DBWn for writing dirty buffers, LGWR for redo and CKPT for checkpoint coordination. Undo supports rollback and consistent reads.
PostgreSQL uses a server process that accepts connections and normally creates a backend process per connection. Backends parse, plan and execute queries using shared buffers and other memory structures. WAL records support crash recovery; background writer, checkpointer and autovacuum workers perform maintenance. MVCC uses tuple versions and vacuum reclaims obsolete versions when safe.
MySQL uses a server layer for connections, authentication, parsing and optimization, and a pluggable storage-engine layer. InnoDB, the usual default engine, manages a buffer pool, clustered primary-key index, secondary indexes, undo and redo logs, row-level locking and MVCC. Other engines may offer different transactional behavior. The binary log is a server-level mechanism used for replication and point-in-time recovery when enabled; it differs from InnoDB redo.
| System | Execution organization | Recovery log |
|---|---|---|
| Oracle | Instance and server processes | Redo |
| PostgreSQL | Backend processes | WAL |
| MySQL/InnoDB | Server and storage engine | InnoDB redo |
All three provide SQL processing, caching, concurrency and recovery, but their component boundaries differ. The description is conceptual; deployment options and versions can change process and memory details.
December 2025 – Q8(a)
Question (restated): Explain Oracle and MySQL architecture and principal memory structures.
Oracle separates the database files from the instance that accesses them. An instance includes the System Global Area (SGA) and background processes. The SGA includes the database buffer cache, shared pool and redo log buffer. The buffer cache stores database blocks; the shared pool caches parsed SQL and metadata; the redo log buffer holds change records before LGWR writes them. The Program Global Area (PGA) holds private process memory, including work areas for sorting and hashing. DBWn writes dirty buffers, LGWR writes redo and CKPT coordinates checkpoint information.
MySQL has a server layer for connections, parsing, optimization and execution, and pluggable storage engines. InnoDB provides transactions, row-level locking and crash recovery. Its buffer pool caches data and index pages; the redo log buffer holds redo records; per-session memory can include sort and join buffers. InnoDB uses undo records for rollback and consistent reads. The server binary log, when enabled, supports replication and point-in-time recovery and is distinct from InnoDB redo.
| Purpose | Oracle | MySQL/InnoDB |
|---|---|---|
| Data cache | Database buffer cache | Buffer pool |
| Change logging | Redo log buffer | Redo log buffer |
| Private work memory | PGA | Session/operator buffers |
Both systems use memory caching and durable logs to balance performance and recovery. Their internal structures are not exact equivalents, and configuration varies by version.
June 2025 – Q7(b)
Explain MySQL client-server architecture.
Clients connect to the MySQL server through a local socket or network protocol. The connection layer authenticates users and manages sessions. The SQL layer parses statements, checks privileges, optimizes queries and coordinates execution. The storage-engine interface delegates row and index operations to engines such as InnoDB. InnoDB provides transactions, MVCC, row-level locking, a buffer pool, redo and undo mechanisms. Data and indexes persist in tablespaces; binary logs can support replication and point-in-time recovery. A SELECT may use an index through InnoDB, with pages cached in the buffer pool, and results return through the connection. Clients do not directly manipulate database files.
https://easyexamnotes.com/wp-content/uploads/2026/12/oracle-postgresql-mysql-architecture-jun2025.png
← RGPV CS-502 DBMS June 2026 solved question paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion