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

Which of below are predefined schemas?

choose 2

2 / 20

Each tablespaces can only be assigned for use by one database

3 / 20

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

4 / 20

Postgres uses a thread based process model?

5 / 20

What column in system catalogs servers as the Primary Key

6 / 20

Tablespaces are used to define physical data layout?

7 / 20

What is the process first launched at server start?

8 / 20

Postgres server spawns a new backend session for each connection?

9 / 20

TOAST tables reside in a seperate schema?

10 / 20

Postgres by default has built in connection pooling abilities?

11 / 20

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

Choose 2 option

12 / 20

The information_schema schema provides information on Postgres release notes?

13 / 20

What is the default standard size for a fork file?

14 / 20

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

15 / 20

What is the purpose of the postgres database?

16 / 20

Users should not modify the template0 database

17 / 20

To be able to restore data consistency, Postgres maintains

18 / 20

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

19 / 20

pg_catalog schema is used to store system catalog tables?

20 / 20

It is the postmasters job to listener for incoming connections?

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

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

choose 3

3 / 10

Which parameters sets the database default isolation level?

4 / 10

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

5 / 10

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

6 / 10

What is the default Isolation Level?

7 / 10

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

Select more than 1 answer below:

8 / 10

Which of the below would best describe a dirty read?

9 / 10

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

10 / 10

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

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

Which function can we use to find the current transaction ID?

3 / 10

CLOG files are stored in which directory?

4 / 10

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

5 / 10

Information about subtransactions is stored under?

6 / 10

UPDATE can be regarded as which 2 separate operations?

7 / 10

What does an Item Pointer contain?

choose 3

8 / 10

psql provides a special mode that allows you to continue a transaction after a failure?

9 / 10

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

10 / 10

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

Your score is

0%