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 files or forks on disk will a 10Mb table with no index have?

2 / 20

What is the point of the pg_global tablespace?

3 / 20

pg_catalog schema is used to store system catalog tables?

4 / 20

TOAST tables reside in a seperate schema?

5 / 20

Which fork contains the actual table data?

6 / 20

What 3 files/forks as a minimum make up a table on disk?

7 / 20

Tablespaces are used to define physical data layout?

8 / 20

If we create a new tablespace which directory will symbolic links be created from?

9 / 20

Postgres server spawns a new backend session for each connection?

10 / 20

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

11 / 20

What is the name of the mechanism used to store a row bigger than a page size?

12 / 20

What is a schema?

13 / 20

What is the purpose of the postgres database?

14 / 20

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

15 / 20

To be able to restore data consistency, Postgres maintains

16 / 20

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

17 / 20

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

18 / 20

What is the purpose of autovacuum?

19 / 20

Which fork is specific for unlogged tables?

20 / 20

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

Choose 2 option

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

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

2 / 10

What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

3 / 10

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

4 / 10

Which of the below are valid Isolations Levels?

choose 2

5 / 10

The SQL standard specifies three isolation levels?

6 / 10

What is the default Isolation Level?

7 / 10

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

choose 3

8 / 10

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

9 / 10

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

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

When a row is created, its xmin value is set to the transaction ID of which command?

2 / 10

Tuples can also be referred to as columns?

3 / 10

In Postgres, tables are often referred to as which of the below?

4 / 10

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

5 / 10

The page header is located in the highest address?

6 / 10

Which 2 of the below represent transaction IDs used for row versioning?

7 / 10

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

8 / 10

indexes do not use row versioning?

9 / 10

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

10 / 10

Postgres table physical data files are always cross compatible across platforms?

Your score is

0%