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 purpose of autovacuum?

2 / 20

Users should not modify the template0 database

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

What is the process first launched at server start?

8 / 20

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

9 / 20

To be able to restore data consistency, Postgres maintains

10 / 20

Files are logically split into pages?

11 / 20

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

12 / 20

What is the purpose of the template0 database?

13 / 20

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

14 / 20

Which fork is specific for unlogged tables?

15 / 20

What is the purpose of the visibility map?

16 / 20

Which fork contains the actual table data?

17 / 20

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

choose 3

18 / 20

What is the purpose of the template1 database?

19 / 20

Postgres by default has built in connection pooling abilities?

20 / 20

What is the name of the 2 default tablespaces created after initialization?

choose 2

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

Which of the below would best describe a dirty read?

3 / 10

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

4 / 10

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

5 / 10

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

Select more than 1 answer below:

6 / 10

Which of the below are valid Isolations Levels?

choose 2

7 / 10

A phantom read anomaly occurs when?

8 / 10

non-repeatable read anomaly occurs when?

9 / 10

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

choose 3

10 / 10

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

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

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

2 / 10

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

3 / 10

What does an Item Pointer contain?

choose 3

4 / 10

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

5 / 10

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

6 / 10

Which 2 items does a Virtual XID consist of?

7 / 10

If a transaction aborts, all page changes are reverted(rolled back) in place?

8 / 10

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

9 / 10

When a transaction is committed Postgres uses a special <replace with answer> structure?

10 / 10

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

Your score is

0%