Database Management Systems (DBMS) Module 1 – Foundations: what a DBMS does and how it works
Inside a database engine: the life of a query
Follow one SQL query through the parser, planner, executor, buffer manager and storage of SQLite and PostgreSQL, and read its plan and its bytecode.
What you will learn
- Trace a query through parser, rewriter, planner, executor, access methods, buffer manager and storage
- Contrast an embedded engine (SQLite) with a client-server engine (PostgreSQL) and their process models
- Read a SQLite query plan and its bytecode, and a PostgreSQL plan at a basic level
- Check the exact engine versions your lab uses and explain why browser and local versions differ
Before you start
What you’ll learn · Before you start
What you will learn
- Trace a query through parser, rewriter, planner, executor, access methods, buffer manager and storage
- Contrast an embedded engine (SQLite) with a client-server engine (PostgreSQL) and their process models
- Read a SQLite query plan and its bytecode, and a PostgreSQL plan at a basic level
- Check the exact engine versions your lab uses and explain why browser and local versions differ
Before you start
On this page
The college query returns five students from eight students and fourteen enrolments. A database engine produces those rows by parsing and resolving SQL, planning access paths, executing the plan and retrieving required pages through buffers and storage.
Read the result, its chosen join order and the separate database bytecode: An instruction program prepared by an engine such as SQLite to implement a statement through its bytecode virtual machine.. The stages distinguish a grammar error, an absent name, a bad row and a slow execution; SQLite performs them inside an application, while PostgreSQL serves queries through its own processes.
A query reaches rows through cooperating stages
The query parser: The part of an engine that recognises the grammar of a SQL statement and forms a representation for later preparation. reads SQL grammar, then name resolution checks tables and columns against the catalog. A grammatical statement can therefore fail before it runs if a table name is absent. A view supplies its defining query to compilation or rewriting rather than an independent copy of result rows.
The query planner: The engine component that chooses access paths and operation order using estimates of the work needed to produce the requested result. chooses access paths and loop order from its statistics. The two complete college queries below write their joins differently, yet SQLite chooses the same nested loops. The query executor: The engine component that follows the chosen plan to produce rows, using the underlying access methods. follows that plan to return rows; it obtains table or index rows through the database access method: An engine operation for reading or changing table or index rows through their storage structure..
The buffer manager: The engine component that keeps database pages in memory and supplies a held page or fetches a missing one from storage. supplies required pages already held in memory. A missing page needs a storage read before the access method can continue, so the same plan can run differently with warm and cold pages. Locks and the log or journal coordinate concurrent work and recovery around this path.
The whole structure is drawn first; step through the request and the returned rows after reading it:
The life of a query inside a database engine
Text description of the diagram
The diagram is one column of boxes, from the SQL text a program sends at the top to the storage on disk at the bottom.
- SQL text from your program goes to the parser, which checks the syntax, then the names against the catalog.
- The rewriter replaces views with the tables they read.
- The planner chooses indexes and the join order from statistics.
- The executor runs the plan and returns the rows to the program.
- The executor asks the access methods for rows; they scan tables and search indexes.
- The access methods ask the buffer manager for pages; it keeps recently used pages in memory.
- The buffer manager reads from storage, the pages in files on disk, only the pages it does not already hold.
The drawing shows the whole scene; its 8 steps are listed below.
Every step as text
- Start from the college query. The complete college data has 4 departments, 8 students, 5 courses and 14 enrolments. The query asks for students enrolled in CS301, with their departments.
- Read grammar and names. The engine parses SQL and resolves its names against the catalog. Invalid syntax and absent names stop preparation before a valid row operation can run.
- Resolve a view when present. A view reference introduces its stored query. PostgreSQL has a rewrite subsystem; SQLite considers subqueries during statement compilation.
- Choose access and loop order. The planner chooses access paths and join order rather than following the written FROM order blindly. In this record, the course-code lookup is the outer loop.
- Request and return rows. The executor follows the chosen plan. It requests table or index rows through the access methods rather than treating every operation as a direct disk read.
- Find the required pages. The buffer manager supplies pages already in memory. A page that is absent needs a storage read before the access method can continue.
- Read only missing pages. Storage holds the database pages in files. Its read supplies the missing page to the buffer manager, not a new logical definition of the query.
- Return the complete result. The CS301 result contains Asha, Farah, Lakshmi, Meera and Ravi with their departments, ordered by name. Both differently written joins have the same complete recorded plan.
The data contains four departments, eight students, five courses and fourteen enrolments. Read all five returned CS301 names and both plans:
-- A small college database: departments, students, courses and who is enrolled in what.
CREATE TABLE departments (
dept_id INTEGER PRIMARY KEY,
name TEXT NOT NULL UNIQUE
);
CREATE TABLE students (
student_id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
dept_id INTEGER NOT NULL REFERENCES departments (dept_id),
year INTEGER NOT NULL CHECK (year BETWEEN 1 AND 4)
);
CREATE TABLE courses (
course_id INTEGER PRIMARY KEY,
code TEXT NOT NULL UNIQUE,
title TEXT NOT NULL,
credits INTEGER NOT NULL
);
CREATE TABLE enrolments (
student_id INTEGER NOT NULL REFERENCES students (student_id),
course_id INTEGER NOT NULL REFERENCES courses (course_id),
grade TEXT,
PRIMARY KEY (student_id, course_id)
);
INSERT INTO departments VALUES
(1, 'Computer Science'), (2, 'Electronics'), (3, 'Mechanical'), (4, 'Civil');
INSERT INTO students VALUES
(1, 'Asha', 1, 3), (2, 'Ravi', 2, 3), (3, 'Meera', 1, 2), (4, 'Kiran', 3, 3),
(5, 'Farah', 1, 3), (6, 'Joseph', 4, 2), (7, 'Lakshmi', 2, 2), (8, 'Arjun', 1, 4);
INSERT INTO courses VALUES
(1, 'CS301', 'Database Systems', 4), (2, 'CS302', 'Operating Systems', 4),
(3, 'EC201', 'Signals and Systems', 3), (4, 'MA201', 'Probability', 3),
(5, 'HS101', 'Technical Writing', 2);
INSERT INTO enrolments VALUES
(1, 1, 'A'), (1, 2, 'B'), (2, 1, 'B'), (2, 3, 'A'), (3, 1, NULL), (3, 4, 'A'), (4, 4, 'C'),
(5, 1, 'A'), (5, 5, 'B'), (6, 4, 'B'), (7, 3, 'A'), (7, 1, NULL), (8, 2, 'A'), (8, 5, 'A');
-- Who is enrolled in Database Systems, and in which department?
SELECT s.name, d.name AS department
FROM courses AS c
JOIN enrolments AS e ON e.course_id = c.course_id
JOIN students AS s ON s.student_id = e.student_id
JOIN departments AS d ON d.dept_id = s.dept_id
WHERE c.code = 'CS301'
ORDER BY s.name;
-- How SQLite plans to run the same query.
EXPLAIN QUERY PLAN
SELECT s.name, d.name AS department
FROM courses AS c
JOIN enrolments AS e ON e.course_id = c.course_id
JOIN students AS s ON s.student_id = e.student_id
JOIN departments AS d ON d.dept_id = s.dept_id
WHERE c.code = 'CS301'
ORDER BY s.name;
-- The same query with the tables written in another order.
EXPLAIN QUERY PLAN
SELECT s.name, d.name AS department
FROM enrolments AS e
JOIN students AS s ON s.student_id = e.student_id
JOIN departments AS d ON d.dept_id = s.dept_id
JOIN courses AS c ON c.course_id = e.course_id
WHERE c.code = 'CS301'
ORDER BY s.name; Output
┌─────────┬──────────────────┐ │ name │ department │ ├─────────┼──────────────────┤ │ Asha │ Computer Science │ │ Farah │ Computer Science │ │ Lakshmi │ Electronics │ │ Meera │ Computer Science │ │ Ravi │ Electronics │ └─────────┴──────────────────┘ ┌────┬────────┬─────────┬───────────────────────────────────────────────────────────────────┐ │ id │ parent │ notused │ detail │ ├────┼────────┼─────────┼───────────────────────────────────────────────────────────────────┤ │ 6 │ 0 │ 45 │ SEARCH c USING COVERING INDEX sqlite_autoindex_courses_1 (code=?) │ │ 10 │ 0 │ 211 │ SCAN e USING COVERING INDEX sqlite_autoindex_enrolments_1 │ │ 15 │ 0 │ 45 │ SEARCH s USING INTEGER PRIMARY KEY (rowid=?) │ │ 18 │ 0 │ 45 │ SEARCH d USING INTEGER PRIMARY KEY (rowid=?) │ │ 26 │ 0 │ 0 │ USE TEMP B-TREE FOR ORDER BY │ └────┴────────┴─────────┴───────────────────────────────────────────────────────────────────┘ ┌────┬────────┬─────────┬───────────────────────────────────────────────────────────────────┐ │ id │ parent │ notused │ detail │ ├────┼────────┼─────────┼───────────────────────────────────────────────────────────────────┤ │ 6 │ 0 │ 45 │ SEARCH c USING COVERING INDEX sqlite_autoindex_courses_1 (code=?) │ │ 10 │ 0 │ 211 │ SCAN e USING COVERING INDEX sqlite_autoindex_enrolments_1 │ │ 15 │ 0 │ 45 │ SEARCH s USING INTEGER PRIMARY KEY (rowid=?) │ │ 18 │ 0 │ 45 │ SEARCH d USING INTEGER PRIMARY KEY (rowid=?) │ │ 26 │ 0 │ 0 │ USE TEMP B-TREE FOR ORDER BY │ └────┴────────┴─────────┴───────────────────────────────────────────────────────────────────┘
Recorded with sql.js 1.14.2 (SQLite 3.49.1) on macOS 26 arm64. To run it yourself: sqlite3 -box :memory: < college.sql
Runs on this device, in your browser. The first run downloads SQLite (about 0.7 MB), which is kept for the next runs.
Your run, in this browser
The course-code SEARCH is the outer loop. SCAN e visits the enrolment key because it starts with student_id, while the course condition is on course_id. SEARCH s and SEARCH d use INTEGER PRIMARY KEY rowid lookups. The final temporary B-tree: A balanced search tree whose nodes are disk blocks of many sorted keys, each with its record. Every leaf is at the same depth, and every node but the root is at least half full. More in “B-trees and B+ trees: structure and order” sorts by student name; none of those facts follows merely from the written FROM order.
SQLite EXPLAIN shows an instruction listing rather than executing that query. Read setup, the dept_id test, ResultRow and the stopping branch below; this separate fixture defines an empty students table, so Rewind would take its empty-table branch to Halt:
CREATE TABLE students (
student_id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
dept_id INTEGER NOT NULL,
year INTEGER NOT NULL
);
-- The program SQLite's bytecode engine would run for this query.
EXPLAIN SELECT name FROM students WHERE dept_id = 1; Output
┌──────┬─────────────┬────┬────┬────┬──────────┬────┬─────────┐ │ addr │ opcode │ p1 │ p2 │ p3 │ p4 │ p5 │ comment │ ├──────┼─────────────┼────┼────┼────┼──────────┼────┼─────────┤ │ 0 │ Init │ 0 │ 9 │ 0 │ │ 0 │ │ │ 1 │ OpenRead │ 0 │ 2 │ 0 │ 3 │ 0 │ │ │ 2 │ Rewind │ 0 │ 8 │ 0 │ │ 0 │ │ │ 3 │ Column │ 0 │ 2 │ 1 │ │ 0 │ │ │ 4 │ Ne │ 2 │ 7 │ 1 │ BINARY-8 │ 84 │ │ │ 5 │ Column │ 0 │ 1 │ 3 │ │ 0 │ │ │ 6 │ ResultRow │ 3 │ 1 │ 0 │ │ 0 │ │ │ 7 │ Next │ 0 │ 3 │ 0 │ │ 1 │ │ │ 8 │ Halt │ 0 │ 0 │ 0 │ │ 0 │ │ │ 9 │ Transaction │ 0 │ 0 │ 1 │ 0 │ 1 │ │ │ 10 │ Integer │ 1 │ 2 │ 0 │ │ 0 │ │ │ 11 │ Goto │ 0 │ 1 │ 0 │ │ 0 │ │ └──────┴─────────────┴────┴────┴────┴──────────┴────┴─────────┘
Recorded with sql.js 1.14.2 (SQLite 3.49.1) on macOS 26 arm64. To run it yourself: sqlite3 -box :memory: < bytecode.sql
Runs on this device, in your browser. The first run downloads SQLite (about 0.7 MB), which is kept for the next runs.
Your run, in this browser
An embedded database: A database engine linked into an application so its query operations run inside that application process. query is a function call in the application’s process, with no separate database server. A client-server database: A database arrangement in which client applications connect to separate server processes that manage shared data and authorisations. instead connects to server processes that manage roles and concurrent work. A database worker model is separate from application tiers: a client, application server and database make three tiers.
Ask the engine its version when the environment changes, since bundled browser and Python libraries can differ. Plans and opcode listings belong to the build that produced them. Plain EXPLAIN gives estimates; EXPLAIN ANALYZE runs the query and adds actual evidence, so compare estimated and actual rows before treating a slow run as only an application problem.
Checkpoint
Check: Cooperating query stages · Row access and working pages
Prepare SQL and read the full college join plan Pro: opens with a Pro, Premium or Ultimate pass
The complete college case separates grammar, name resolution and row validity, then reads every nested loop and its final sort. The same data and both original plan outputs remain available in the worked example above.
In this part:
- How the full pipeline connects its stages
- Preparing SQL checks text, names and view definitions
- The planner chooses access paths and loop order
3 diagrams · 1 runnable example (SQL) · about 11 minutes
Opening this part with your pass…
This part opens with any MySmartCoPilot pass.
- Pro pass · 1 week₹79$2.99
- 30 days₹179$5.99
- 1 year₹1,699$45
One payment; nothing renews unless you choose to. The price shown is the total you pay: no fees or charges are added at checkout.
Passes can’t be bought right now, so this part can’t be opened at the moment. The free part above stands on its own. If you have a pass, enter your licence key.
It also opens every other in-depth part in Learn and every Pro tool. Sales are final, except where the law gives you a right to withdraw, for example in the EU and the UK (refund policy).
Read bytecode, pages and transaction protection Pro: opens with a Pro, Premium or Ultimate pass
The instruction listing, storage readout and transaction services describe different layers of the same engine. Keep every conditional branch and page value distinct from an observed populated-table execution.
In this part:
- The bytecode listing separates setup, rows and stopping
- Row access and working pages keep key lookups and ordering distinct
- Locks and logs protect the work around the executor
3 diagrams · 1 runnable example (SQL) · about 9 minutes
Opening this part with your pass…
This part opens with any MySmartCoPilot pass.
- Pro pass · 1 week₹79$2.99
- 30 days₹179$5.99
- 1 year₹1,699$45
One payment; nothing renews unless you choose to. The price shown is the total you pay: no fees or charges are added at checkout.
Passes can’t be bought right now, so this part can’t be opened at the moment. The free part above stands on its own. If you have a pass, enter your licence key.
It also opens every other in-depth part in Learn and every Pro tool. Sales are final, except where the law gives you a right to withdraw, for example in the EU and the UK (refund policy).
Choose placement and interpret costs and versions Pro: opens with a Pro, Premium or Ultimate pass
The original comparisons place SQLite and PostgreSQL differently while retaining their full process and application-tier descriptions. The scan estimate and genuine version queries supply the concrete values needed to read those choices.
In this part:
- Embedded and server engines place the same jobs differently
- Worker models and application tiers answer different questions
- A PostgreSQL plan prices work and reports rows
- The version comes from the engine that actually runs
- What the complete engine paths establish
4 diagrams · 2 runnable examples (Python, SQL) · about 12 minutes
Opening this part with your pass…
This part opens with any MySmartCoPilot pass.
- Pro pass · 1 week₹79$2.99
- 30 days₹179$5.99
- 1 year₹1,699$45
One payment; nothing renews unless you choose to. The price shown is the total you pay: no fees or charges are added at checkout.
Passes can’t be bought right now, so this part can’t be opened at the moment. The free part above stands on its own. If you have a pass, enter your licence key.
It also opens every other in-depth part in Learn and every Pro tool. Sales are final, except where the law gives you a right to withdraw, for example in the EU and the UK (refund policy).
Practise
Exercise · Easy · SQL
Fix a query that fails at three stages
The query in the editor should list the students enrolled in the course with the code CS302, with the course's title, in two columns: name and title. It has three mistakes, and SQLite reports only one at a time: each fix lets the query get one stage further before the next error stops it.
Run the sample tests, read the error, fix that mistake, and run them again until the query returns the right rows. The tests create these tables (with different rows in each test):
students (student_id INTEGER PRIMARY KEY, name TEXT NOT NULL)courses (course_id INTEGER PRIMARY KEY, code TEXT NOT NULL UNIQUE, title TEXT NOT NULL)enrolments (student_id INTEGER NOT NULL, course_id INTEGER NOT NULL, PRIMARY KEY (student_id, course_id))
The order of the rows does not matter.
Starter code · query.sql
-- The students enrolled in CS302, with the course title. Fix the three mistakes.
SELEC s.name, c.title
FROM enrolment AS e
JOIN students AS s ON s.student_id = e.student_id
JOIN courses AS c ON c.course_id = e.course_id
WHERE c.code = CS302; The sample tests · sample_tests.yaml
# Sample tests (public): each test builds the three tables in a fresh database, runs the learner's query and compares
# the result with the expected rows (the order of rows does not matter; column names must match).
tests:
- name: lists the two students enrolled in CS302
setup: |
CREATE TABLE students (student_id INTEGER PRIMARY KEY, name TEXT NOT NULL);
CREATE TABLE courses (course_id INTEGER PRIMARY KEY, code TEXT NOT NULL UNIQUE, title TEXT NOT NULL);
CREATE TABLE enrolments (student_id INTEGER NOT NULL, course_id INTEGER NOT NULL, PRIMARY KEY (student_id, course_id));
INSERT INTO students VALUES (1, 'Asha'), (2, 'Ravi'), (3, 'Meera'), (8, 'Arjun');
INSERT INTO courses VALUES (1, 'CS301', 'Database Systems'), (2, 'CS302', 'Operating Systems');
INSERT INTO enrolments VALUES (1, 1), (1, 2), (2, 1), (3, 1), (8, 2);
expected:
columns: [name, title]
rows:
- [Asha, Operating Systems]
- [Arjun, Operating Systems]
- name: returns only CS302 when several courses share students
setup: |
CREATE TABLE students (student_id INTEGER PRIMARY KEY, name TEXT NOT NULL);
CREATE TABLE courses (course_id INTEGER PRIMARY KEY, code TEXT NOT NULL UNIQUE, title TEXT NOT NULL);
CREATE TABLE enrolments (student_id INTEGER NOT NULL, course_id INTEGER NOT NULL, PRIMARY KEY (student_id, course_id));
INSERT INTO students VALUES (4, 'Kiran'), (5, 'Farah'), (6, 'Joseph'), (7, 'Lakshmi');
INSERT INTO courses VALUES (10, 'CS302', 'Operating Systems'), (11, 'MA201', 'Probability'), (12, 'CS303', 'Compilers');
INSERT INTO enrolments VALUES (4, 10), (4, 11), (5, 12), (6, 10), (7, 11), (7, 12);
expected:
columns: [name, title]
rows:
- [Kiran, Operating Systems]
- [Joseph, Operating Systems] A hint
Read the first error only. "Syntax error" comes from the parser and points at a word the grammar does not know; once that is fixed, "no such table" and "no such column" come from checking names against the catalog. A word that is meant as text needs single quotes.
Results of the sample tests
| Test | Result | Details |
|---|
What your code printed
The sample tests run on this device, in your browser (sql.js): nothing is sent to mysmartcopilot.com. The first run downloads SQLite (about 0.7 MB), which is kept for the next runs. A check in your browser is feedback for you, not proof that the code is right for every input.
Practice that adapts to you
Practise this lesson
20 questions about 10 ideas of this lesson. Each answer is explained at once, and what you get right is kept in this browser.
Interview questions
Fresher · What happens to a SQL query between the moment it is sent and the first row coming back?
The engine parses the text into a tree and checks the table and column names against its catalog. It rewrites the tree, replacing views with their underlying tables. The planner then considers different ways to run the query, such as a full scan or an index, and different join orders, estimates their costs from statistics and picks the cheapest. The executor runs that plan: it asks the access methods for rows of tables and indexes, which get pages from the buffer manager, which reads from disk only the pages that are not already in memory. Locks and the log keep concurrent transactions correct and changes durable. In PostgreSQL this happens in a server process per connection; in SQLite it happens inside the application, and the plan becomes bytecode for SQLite’s virtual machine.
Fresher · What is the difference between an embedded database engine and a client-server engine?
An embedded engine such as SQLite is a library inside the application: queries are function calls, there is no server or network, the database is an ordinary file, and access is controlled by the operating system’s file permissions. SQLite allows one writer at a time per file. A client-server engine such as PostgreSQL runs as server processes of its own; applications connect over a network and send SQL text, and the server manages users, privileges and many concurrent writers. PostgreSQL starts a process for each connection, while MySQL uses a thread per connection. Embedded engines suit data that belongs to one application or device; client-server engines suit data that many programs and people share.
-
Mid to senior
A report query took 40 ms yesterday and takes 9 seconds today. Nobody changed its text or the schema. Using the stages a query goes through, where do you look first, and in what order?
-
Mid to senior
The college report filters on course code, but its enrolment key starts with student_id and the plan scans enrolments. The table grows from 14 to two million rows. Why does reordering FROM not solve it, and what change would you assess?
Key takeaways
- A query has grammar, name, planning and execution stages; identify the stage before changing its text or data.
- The query plan: The access operations and their order that a database engine chooses to produce a query result. supplies the access order, while page residency can change the storage work needed to execute it.
- Read the version and distinguish a displayed plan or instruction listing from the query execution that EXPLAIN ANALYZE performs.
Terms in this lesson
- buffer manager
- The engine component that keeps database pages in memory and supplies a held page or fetches a missing one from storage.
- client-server database
- A database arrangement in which client applications connect to separate server processes that manage shared data and authorisations.
- database access method
- An engine operation for reading or changing table or index rows through their storage structure.
- database bytecode
- An instruction program prepared by an engine such as SQLite to implement a statement through its bytecode virtual machine.
- embedded database
- A database engine linked into an application so its query operations run inside that application process.
- query executor
- The engine component that follows the chosen plan to produce rows, using the underlying access methods.
- query parser
- The part of an engine that recognises the grammar of a SQL statement and forms a representation for later preparation.
- query plan
- The access operations and their order that a database engine chooses to produce a query result.
- query planner
- The engine component that chooses access paths and operation order using estimates of the work needed to produce the requested result.
Corrections
- Clarified that the recorded SQLite version on macOS identifies the linked library; its supplier is not established by the version query.
- Clarified that newly prepared SQL follows compilation stages; a reusable prepared statement can retain compiled work for later execution.
References
- Architecture of SQLite (SQLite)
- EXPLAIN QUERY PLAN (SQLite)
- SQLite: EXPLAIN (SQLite)
- The SQLite Bytecode Engine (SQLite)
- The SQLite Query Optimizer Overview (SQLite)
- Database File Format (SQLite)
- SQLite: CREATE TABLE (ROWIDs and the INTEGER PRIMARY KEY) (SQLite)
- SQLite: ANALYZE (SQLite)
- Compile-time Options (SQLITE_ENABLE_EXPLAIN_COMMENTS) (SQLite)
- Appropriate Uses For SQLite (SQLite)
- Release History of SQLite (SQLite)
- PostgreSQL 18 Documentation: The Path of a Query (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: The Parser Stage (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Architectural Fundamentals (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: How Connections Are Established (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Using EXPLAIN (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Statistics Used by the Planner (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Index-Only Scans and Covering Indexes (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Concurrency Control, Introduction (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Database File Layout (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: Resource Consumption (shared_buffers) (The PostgreSQL Global Development Group)
- PostgreSQL 18 Documentation: System Information Functions (version) (The PostgreSQL Global Development Group)
- PostgreSQL Versioning Policy (The PostgreSQL Global Development Group)
- MySQL 8.4 Reference Manual: Connection Interfaces (Oracle Corporation)
- J. M. Hellerstein, M. Stonebraker and J. Hamilton: Architecture of a Database System (Foundations and Trends in Databases)
- sql.js: SQLite compiled to JavaScript (sql.js)
- PGlite: Postgres in WASM (ElectricSQL)
- sqlite3: DB-API 2.0 interface for SQLite databases (Python Software Foundation)
Related tools
Report a problem with this lesson
Kept only in this browser. Your Learn progress