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 name of the system catalog table for relations?

2 / 20

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

3 / 20

The default Page size is 2k?

4 / 20

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

choose 2

5 / 20

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

6 / 20

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

7 / 20

Users should not modify the template0 database

8 / 20

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

9 / 20

Each tablespaces can only be assigned for use by one database

10 / 20

The information_schema schema provides information on Postgres release notes?

11 / 20

Which fork contains the actual table data?

12 / 20

Which fork keeps track of available space within pages?

13 / 20

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

14 / 20

What is the default standard size for a fork file?

15 / 20

What is the process first launched at server start?

16 / 20

Which of below are predefined schemas?

choose 3

17 / 20

Which fork is specific for unlogged tables?

18 / 20

Postgres uses a thread based process model?

19 / 20

To be able to restore data consistency, Postgres maintains

20 / 20

What is the purpose of the template1 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 SQL standard specifies three isolation levels?

2 / 10

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

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

What is the default Isolation Level?

7 / 10

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

8 / 10

Which parameters sets the database default isolation level?

9 / 10

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

choose 3

10 / 10

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

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

Tuples can also be referred to as columns?

2 / 10

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

3 / 10

Rows of TOAST tables are handled in such a way that they are never update?

4 / 10

Page free space can often become fragmented?

5 / 10

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

6 / 10

What does an Item Pointer contain?

choose 3

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

CLOG files are stored in which directory?

Your score is

0%