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

A single Postgres Instance can server only one database?

2 / 20

A schema can belong to more than one database?

3 / 20

What is the point of the pg_global tablespace?

4 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

5 / 20

Each Database has its own System Catalog?

6 / 20

What is the purpose of wal writer?

7 / 20

What is another name for the postgres process?

8 / 20

What column in system catalogs servers as the Primary Key

9 / 20

What is the purpose of autovacuum?

10 / 20

Each tablespaces can only be assigned for use by one database

11 / 20

Which fork keeps track of available space within pages?

12 / 20

Postgres uses a thread based process model?

13 / 20

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

14 / 20

What command is used to create the Postgres cluster?

15 / 20

What is the purpose of the public schema?

16 / 20

TOAST tables reside in a seperate schema?

17 / 20

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

18 / 20

Which of below are predefined schemas?

choose 2

19 / 20

What is the default standard size for a fork file?

20 / 20

Files are logically split into pages?

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

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

choose 3

3 / 10

The SQL standard specifies three isolation levels?

4 / 10

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

5 / 10

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

6 / 10

Which of the below are valid Isolations Levels?

choose 2

7 / 10

Which parameters sets the database default isolation level?

8 / 10

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

9 / 10

What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

10 / 10

non-repeatable read anomaly occurs when?

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

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

2 / 10

indexes do not use row versioning?

3 / 10

The page Special Space is located at the start of the page with highest address

4 / 10

If a transaction is read only which kind of Transaction ID is it allocated?

5 / 10

What does an Item Pointer contain?

choose 3

6 / 10

Which of the below are true about a Pages Item Pointer?

7 / 10

status of a subtransaction is written into CLOG?

8 / 10

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

9 / 10

UPDATE can be regarded as which 2 separate operations?

10 / 10

CLOG contains how many bits for each transaction?

Your score is

0%