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 default standard size for a fork file?

2 / 20

What is the purpose of the public schema?

3 / 20

What is the purpose of autovacuum?

4 / 20

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

5 / 20

Which fork keeps track of available space within pages?

6 / 20

The pg_default tablespace should never be used to create user tables?

7 / 20

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

8 / 20

What is the purpose of the template0 database?

9 / 20

A schema can belong to more than one database?

10 / 20

What is a schema?

11 / 20

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

12 / 20

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

13 / 20

Postgres server spawns a new backend session for each connection?

14 / 20

Who is the Author of the Postgres 14 Internals book?

15 / 20

What is the process first launched at server start?

16 / 20

What is the name of the catalog that stores metadata for all cluster objects?

17 / 20

How many files or forks on disk will a 10Mb table with no index have?

18 / 20

It is the postmasters job to listener for incoming connections?

19 / 20

What is the purpose of wal writer?

20 / 20

What is the purpose of the visibility map?

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

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

Select more than 1 answer below:

2 / 10

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

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

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

6 / 10

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

7 / 10

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

8 / 10

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

choose 3

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

The SQL standard specifies three isolation levels?

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

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

2 / 10

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

3 / 10

CLOG files are stored in which directory?

4 / 10

The page header is located in the highest address?

5 / 10

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

6 / 10

Which 2 items does a Virtual XID consist of?

7 / 10

To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

8 / 10

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

9 / 10

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

10 / 10

Each page has a layer that usually consists of?

choose 2

Your score is

0%