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

Which of below are predefined schemas?

choose 2

2 / 20

What is a schema?

3 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

4 / 20

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

5 / 20

The default Page size is 2k?

6 / 20

System Catalog tables begin with which prefix?

7 / 20

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

8 / 20

What is another name for the postgres process?

9 / 20

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

10 / 20

Users should not modify the template0 database

11 / 20

It is the postmasters job to listener for incoming connections?

12 / 20

What is the point of the pg_global tablespace?

13 / 20

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

14 / 20

What is the default standard size for a fork file?

15 / 20

Which fork is specific for unlogged tables?

16 / 20

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

17 / 20

Which of the below objects can be referred to as relations?

choose 3

18 / 20

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

19 / 20

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

20 / 20

Who is the Author of the Postgres 14 Internals book?

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 SQL standard specifies three isolation levels?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

Which of the below are valid Isolations Levels?

choose 2

6 / 10

What is the default Isolation Level?

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

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

10 / 10

Which parameters sets the database default isolation level?

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 Special Space is located at the start of the page with highest address

2 / 10

status of a subtransaction is written into CLOG?

3 / 10

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

4 / 10

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

5 / 10

CLOG Pages are never cached in memory?

6 / 10

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

7 / 10

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

8 / 10

UPDATE can be regarded as which 2 separate operations?

9 / 10

indexes do not use row versioning?

10 / 10

Page free space can often become fragmented?

Your score is

0%