- What are relational databases?
- What are base operations for relations?
- What are integrity and consistency?
- What is ACID?
- What is projection?
- What is
SELECT
operation? Can we use returned value ofSELECT
as new ordinary table? - What are the next parts of
SELECT
operation:LIMIT
,OFFSET
,ORDER BY
,GROUP BY
? - How can you group rules in
WHERE
block? - What is
JOIN
operation? What are the differences betweenINNER
,LEFT
,RIGHT
andFULL OUTER JOIN
? - What are
INSERT
,UPDATE
andDELETE
operations? What data can be returned as results for such operations? - What is CAP theorem?
- Does it work in real world?
- What combination of CAP guarantees is not encountered in practice?
- What are indexes?
- How do indexes impact the effectiveness of queries?
- What are the pros and cons of adding an index?
- What are Views in Postgresql?
- What are Sequences in Postgresql?
- What is
VACUUM
operation in Postgresql? - What is the
EXPLAIN
command?- What do
ANALYZE
andBUFFERS
add to command? - Why expected cost and actual results can differ?
- Why do
EXPLAIN
results have tree structure and what are the nodes? - Why
cost
andtime
parts of nodes have range structure? What is a start and what is an end? - What are
Seq
,Index
,Index Only
andBitmap
Scans?- How do planner choices impact the computer resources consumption?
- When
Seq Scan
would be the best choice?
- How are
Sort
,Limit
andHashAggregate
described inEXPLAIN
output? - What are
Nested Loop
,Merge Join
andHash Join
?- What is the most effective operation?
- Should you trust planner choices 100 percent of the times?
- What do
Result
andMaterialize
inEXPLAIN
mean?
- What do
- Why
count(*)
is usually faster thancount(specific_row)
andSELECT reltuples FROM pg_class
is even faster?
- Литература с Postgrespro:
- Новиков, Б. А. Основы технологий баз данных, часть 1:
- Теоретические основы БД - 2.1, 2.2
- Моргунов, Е. П. PostgreSQL. Основы языка SQL:
- Основы SQL - главы 1-7
- Новиков, Б. А. Основы технологий баз данных, часть 1:
- Введение в базы данных, курс Stepik
- CAP theorem
- Indexes
VACUUM
,EXPLAIN