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

Each tablespaces can only be assigned for use by one database

2 / 20

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

3 / 20

What is the point of the pg_global tablespace?

4 / 20

What is the purpose of the template1 database?

5 / 20

Which fork keeps track of available space within pages?

6 / 20

A single Postgres Instance can server only one database?

7 / 20

pg_catalog schema is used to store system catalog tables?

8 / 20

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

9 / 20

Postgres by default has built in connection pooling abilities?

10 / 20

What is the purpose of wal writer?

11 / 20

Postgres server spawns a new backend session for each connection?

12 / 20

What is a schema?

13 / 20

What is the purpose of the postgres database?

14 / 20

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

15 / 20

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

16 / 20

A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

17 / 20

Which of below are predefined schemas?

choose 3

18 / 20

Which of below are predefined schemas?

choose 2

19 / 20

Each Database has its own System Catalog?

20 / 20

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

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 of the below would best describe a dirty read?

2 / 10

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

3 / 10

What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

4 / 10

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

5 / 10

Which parameters sets the database default isolation level?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

A phantom 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

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

2 / 10

indexes do not use row versioning?

3 / 10

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

4 / 10

Tuples can also be referred to as columns?

5 / 10

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

6 / 10

The page header is located in the highest address?

7 / 10

The page Special Space is located at the start of the page with highest address

8 / 10

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

9 / 10

CLOG contains how many bits for each transaction?

10 / 10

Page free space can often become fragmented?

Your score is

0%