Postgres Quiz Archive

You have 200 seconds to answer 20 Random questions so think fast!

You will need to score 80% or over to pass!


Created by Paul Sammy

PostgreSQL 14 Internals Chapter 1

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 1.

1 / 20

What is the name of the 2 default tablespaces created after initialization?

choose 2

2 / 20

Which fork contains the actual table data?

3 / 20

What is a schema?

4 / 20

Some System Catalog tables are common to all databases in the cluster?

5 / 20

A schema can belong to more than one database?

6 / 20

What is the purpose of the visibility map?

7 / 20

To understand each other, a client and a server must use one and the same interfacing protocol?

8 / 20

Users should not modify the template0 database

9 / 20

What is the default standard size for a fork file?

10 / 20

Tablespaces are used to define physical data layout?

11 / 20

Postgres by default has built in connection pooling abilities?

12 / 20

System Catalog tables begin with which prefix?

13 / 20

Which of below are predefined schemas?

choose 2

14 / 20

What is the purpose of the postgres database?

15 / 20

Which fork is specific for unlogged tables?

16 / 20

How does Postgres know which schema to use if not specified?

17 / 20

TOAST tables reside in a seperate schema?

18 / 20

What is the purpose of the template0 database?

19 / 20

What is the purpose of wal writer?

20 / 20

Each tablespaces can only be assigned for use by one database

Your score is

0%

Created by Paul Sammy

PostgreSQL 14 Internals Chapter 2

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 2.

1 / 10

At any moment the database system can contain several versions of one and the same row?

2 / 10

Lost updates are forbidden by the standard at all isolation levels?

3 / 10

Which of the below would best describe a dirty read?

4 / 10

Which parameters sets the database default isolation level?

5 / 10

which of the below statements will start a transaction as Read Repeatable?

6 / 10

Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

7 / 10

Snapshot isolation is preferred but increases the number of required locks?

8 / 10

A phantom read anomaly occurs when?

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

Which isolation level in theory could mean an application does not have to consider isolation anomalies?

Your score is

0%

Created by Paul Sammy

PostgreSQL 14 Internals Chapter 3

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 3.

1 / 10

Which function can we use to find the current transaction ID?

2 / 10

A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

3 / 10

CLOG files are stored in which directory?

4 / 10

Tuples can also be referred to as columns?

5 / 10

virtual IDs exist only in PGDATA/pg_vxid when not cached?

6 / 10

When a transaction is committed Postgres uses a special <replace with answer> structure?

7 / 10

status of a subtransaction is written into CLOG?

8 / 10

psql provides a special mode that allows you to continue a transaction after a failure?

9 / 10

Page header sizes can be easily displayed using the <choose from answers> extension

10 / 10

Rows of TOAST tables are handled in such a way that they are never update?

Your score is

0%