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 template0 database?

2 / 20

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

3 / 20

What is the purpose of the visibility map?

4 / 20

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

5 / 20

Tablespaces are used to define physical data layout?

6 / 20

What is the point of the pg_global tablespace?

7 / 20

What is the purpose of the public schema?

8 / 20

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

9 / 20

System Catalog tables begin with which prefix?

10 / 20

Files are logically split into pages?

11 / 20

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

12 / 20

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

13 / 20

To be able to restore data consistency, Postgres maintains

14 / 20

What is a schema?

15 / 20

A schema can belong to more than one database?

16 / 20

Who is the Author of the Postgres 14 Internals book?

17 / 20

What is the process first launched at server start?

18 / 20

When PostgreSQL is running what can it be referred to as?

Choose 2 option

19 / 20

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

20 / 20

Users should not modify the template0 database

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 more locks a transaction acquires, the better it is isolated from other transactions?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

Which of the below are valid Isolations Levels?

choose 2

6 / 10

The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

non-repeatable read anomaly occurs when?

9 / 10

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

10 / 10

Which of the below would best describe a dirty read?

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

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

2 / 10

UPDATE can be regarded as which 2 separate operations?

3 / 10

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

4 / 10

Each page has a layer that usually consists of?

choose 2

5 / 10

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

6 / 10

If a transaction is read only which kind of Transaction ID is it allocated?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

Information about subtransactions is stored under?

Your score is

0%