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

Files are logically split into pages?

2 / 20

Which fork keeps track of available space within pages?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

Each tablespaces can only be assigned for use by one database

8 / 20

What is the purpose of the public schema?

9 / 20

System Catalog tables begin with which prefix?

10 / 20

The information_schema schema provides information on Postgres release notes?

11 / 20

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

12 / 20

Some System Catalog tables are common to all databases in the cluster?

13 / 20

What command is used to create the Postgres cluster?

14 / 20

Tablespaces can be used to segregate data based on performance needs?

15 / 20

Which fork contains the actual table data?

16 / 20

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

17 / 20

What is the point of the pg_global tablespace?

18 / 20

It is the postmasters job to listener for incoming connections?

19 / 20

TOAST tables reside in a seperate schema?

20 / 20

Which fork is specific for unlogged tables?

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 would best describe a dirty read?

2 / 10

non-repeatable read anomaly occurs when?

3 / 10

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

4 / 10

What is the default Isolation Level?

5 / 10

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

6 / 10

The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

Which parameters sets the database default isolation level?

9 / 10

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

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

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

2 / 10

at any one time Postgres can have several versions of a row?

3 / 10

The page header is located in the highest address?

4 / 10

Each page has a layer that usually consists of?

choose 2

5 / 10

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

6 / 10

Which function can we use to find the current transaction ID?

7 / 10

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

8 / 10

Information about subtransactions is stored under?

9 / 10

indexes do not use row versioning?

10 / 10

status of a subtransaction is written into CLOG?

Your score is

0%