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

To be able to restore data consistency, Postgres maintains

2 / 20

Users should not modify the template0 database

3 / 20

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

choose 3

4 / 20

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

5 / 20

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

6 / 20

Tablespaces are used to define physical data layout?

7 / 20

Which fork contains the actual table data?

8 / 20

Each tablespaces can only be assigned for use by one database

9 / 20

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

10 / 20

What is another name for the postgres process?

11 / 20

What is the purpose of the template0 database?

12 / 20

Which of below are predefined schemas?

choose 2

13 / 20

Who is the Author of the Postgres 14 Internals book?

14 / 20

What is the purpose of the template1 database?

15 / 20

The default Page size is 2k?

16 / 20

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

17 / 20

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

18 / 20

What is the purpose of autovacuum?

19 / 20

What is the purpose of the postgres database?

20 / 20

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

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

Which parameters sets the database default isolation level?

2 / 10

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

3 / 10

Which of the below are valid Isolations Levels?

choose 2

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

The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

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

9 / 10

A phantom read anomaly occurs when?

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

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

2 / 10

UPDATE can be regarded as which 2 separate operations?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

In Postgres, tables are often referred to as which of the below?

10 / 10

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

Your score is

0%