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

Postgres server spawns a new backend session for each connection?

2 / 20

Postgres uses a thread based process model?

3 / 20

What is the process first launched at server start?

4 / 20

Each tablespaces can only be assigned for use by one database

5 / 20

What is the purpose of autovacuum?

6 / 20

What is another name for the postgres process?

7 / 20

What column in system catalogs servers as the Primary Key

8 / 20

Tablespaces are used to define physical data layout?

9 / 20

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

10 / 20

What is the point of the pg_global tablespace?

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

What is the purpose of the visibility map?

15 / 20

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

16 / 20

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

choose 2

17 / 20

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

18 / 20

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

19 / 20

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

choose 3

20 / 20

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

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

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

2 / 10

Which of the below would best describe a dirty read?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

choose 3

7 / 10

Which parameters sets the database default isolation level?

8 / 10

The SQL standard specifies three isolation levels?

9 / 10

Which of the below are valid Isolations Levels?

choose 2

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

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

2 / 10

CLOG Pages are never cached in memory?

3 / 10

Page free space can often become fragmented?

4 / 10

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

5 / 10

UPDATE can be regarded as which 2 separate operations?

6 / 10

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

7 / 10

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

8 / 10

Indexes values also support multi versioning with several versions of an index value existing at any point in time?

9 / 10

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

10 / 10

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

Your score is

0%