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

How many rows in a page does Postgres aim to have before considering TOAST?

2 / 20

What is another name for the postgres process?

3 / 20

TOAST tables reside in a seperate schema?

4 / 20

Which fork is specific for unlogged tables?

5 / 20

Postgres uses a thread based process model?

6 / 20

Which of below are predefined schemas?

choose 2

7 / 20

Postgres server spawns a new backend session for each connection?

8 / 20

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

choose 2

9 / 20

Users should not modify the template0 database

10 / 20

When PostgreSQL is running what can it be referred to as?

Choose 2 option

11 / 20

What is the purpose of the visibility map?

12 / 20

Postgres by default has built in connection pooling abilities?

13 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

14 / 20

Which fork keeps track of available space within pages?

15 / 20

What is the name of the directory that contains the files related to the Postgres cluster?

16 / 20

What is the purpose of autovacuum?

17 / 20

Which of below are predefined schemas?

choose 3

18 / 20

A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

19 / 20

What is the name of the system catalog table for relations?

20 / 20

What is the purpose of the public schema?

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

Which of the below are valid Isolations Levels?

choose 2

2 / 10

A phantom read anomaly occurs when?

3 / 10

Which parameters sets the database default isolation level?

4 / 10

Data Consistency is best handled at the application layer rather than at the database layer?

5 / 10

non-repeatable read anomaly occurs when?

6 / 10

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

7 / 10

The SQL standard specifies three isolation levels?

8 / 10

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

9 / 10

The more locks a transaction acquires, the better it is isolated from other transactions?

10 / 10

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

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 2 items does a Virtual XID consist of?

2 / 10

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

3 / 10

index row headers like table row headers contain xmin and xmax fields?

4 / 10

UPDATE can be regarded as which 2 separate operations?

5 / 10

CLOG contains how many bits for each transaction?

6 / 10

The page header stores checksum and the sizes of the other parts of the page?

7 / 10

CLOG Pages are never cached in memory?

8 / 10

Page free space can often become fragmented?

9 / 10

a transaction containing a savepoint is will still be considered as only a single transaction?

10 / 10

indexes do not use row versioning?

Your score is

0%