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

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

2 / 20

What is the default standard size for a fork file?

3 / 20

What is the process first launched at server start?

4 / 20

Each Database has its own System Catalog?

5 / 20

Postgres server spawns a new backend session for each connection?

6 / 20

Each tablespaces can only be assigned for use by one database

7 / 20

What is the purpose of autovacuum?

8 / 20

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

9 / 20

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

10 / 20

The default Page size is 2k?

11 / 20

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

12 / 20

What is the purpose of wal writer?

13 / 20

To be able to restore data consistency, Postgres maintains

14 / 20

What is the point of the pg_global tablespace?

15 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

16 / 20

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

17 / 20

What is the purpose of the visibility map?

18 / 20

Postgres uses a thread based process model?

19 / 20

Who is the Author of the Postgres 14 Internals book?

20 / 20

What command is used to create the Postgres cluster?

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

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

choose 3

2 / 10

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

3 / 10

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

4 / 10

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

Select more than 1 answer below:

5 / 10

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

6 / 10

What is the default Isolation Level?

7 / 10

Which of the below would best describe a dirty read?

8 / 10

A phantom read anomaly occurs when?

9 / 10

Which parameters sets the database default isolation level?

10 / 10

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

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

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

2 / 10

virtual IDs exist only in PGDATA/pg_vxid when not cached?

3 / 10

Page free space can often become fragmented?

4 / 10

Information about subtransactions is stored under?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

CLOG files are stored in which directory?

9 / 10

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

10 / 10

To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

Your score is

0%