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

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

2 / 20

What is the purpose of the visibility map?

3 / 20

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

4 / 20

What is the purpose of wal writer?

5 / 20

What is the process first launched at server start?

6 / 20

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

7 / 20

What is the point of the pg_global tablespace?

8 / 20

System Catalog tables begin with which prefix?

9 / 20

What is a schema?

10 / 20

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

11 / 20

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

12 / 20

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

13 / 20

The default Page size is 2k?

14 / 20

What command is used to create the Postgres cluster?

15 / 20

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

16 / 20

Postgres uses a thread based process model?

17 / 20

Files are logically split into pages?

18 / 20

The information_schema schema provides information on Postgres release notes?

19 / 20

TOAST tables reside in a seperate schema?

20 / 20

To be able to restore data consistency, Postgres maintains

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

A phantom read anomaly occurs when?

2 / 10

What is the default Isolation Level?

3 / 10

Which of the below are valid Isolations Levels?

choose 2

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

Which parameters sets the database default isolation level?

8 / 10

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

9 / 10

Which of the below would best describe a dirty read?

10 / 10

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

Select more than 1 answer below:

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

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

2 / 10

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

3 / 10

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

4 / 10

CLOG Pages are never cached in memory?

5 / 10

indexes do not use row versioning?

6 / 10

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

7 / 10

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

8 / 10

Tuples can also be referred to as columns?

9 / 10

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

10 / 10

Which of the below are true about a Pages Item Pointer?

Your score is

0%