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 the visibility map?

2 / 20

Postgres server spawns a new backend session for each connection?

3 / 20

The default Page size is 2k?

4 / 20

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

5 / 20

What is the purpose of autovacuum?

6 / 20

A schema can belong to more than one database?

7 / 20

Which fork is specific for unlogged tables?

8 / 20

To be able to restore data consistency, Postgres maintains

9 / 20

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

10 / 20

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

11 / 20

Which of below are predefined schemas?

choose 3

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

Postgres uses a thread based process model?

16 / 20

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

17 / 20

What is the purpose of wal writer?

18 / 20

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

19 / 20

What is the purpose of the public schema?

20 / 20

Which fork contains the actual table data?

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

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

choose 3

2 / 10

What is the default Isolation Level?

3 / 10

Which of the below would best describe a dirty read?

4 / 10

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

5 / 10

Which of the below are valid Isolations Levels?

choose 2

6 / 10

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

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

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

9 / 10

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

10 / 10

non-repeatable read anomaly occurs when?

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

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

2 / 10

Page free space can often become fragmented?

3 / 10

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

4 / 10

CLOG Pages are never cached in memory?

5 / 10

CLOG files are stored in which directory?

6 / 10

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

7 / 10

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

8 / 10

Tuples can also be referred to as columns?

9 / 10

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

10 / 10

virtual IDs exist only in PGDATA/pg_vxid when not cached?

Your score is

0%