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 catalog that stores metadata for all cluster objects?

2 / 20

Files are logically split into pages?

3 / 20

What is the purpose of autovacuum?

4 / 20

Users should not modify the template0 database

5 / 20

System Catalog tables begin with which prefix?

6 / 20

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

7 / 20

What is the default standard size for a fork file?

8 / 20

Postgres uses a thread based process model?

9 / 20

Which of below are predefined schemas?

choose 3

10 / 20

What is the purpose of wal writer?

11 / 20

What is another name for the postgres process?

12 / 20

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

13 / 20

Each tablespaces can only be assigned for use by one database

14 / 20

What is a schema?

15 / 20

Who is the Author of the Postgres 14 Internals book?

16 / 20

A single Postgres Instance can server only one database?

17 / 20

What is the name of the system catalog table for relations?

18 / 20

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

19 / 20

It is the postmasters job to listener for incoming connections?

20 / 20

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

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 statements will start a transaction as Read Repeatable?

2 / 10

Which of the below would best describe a dirty read?

3 / 10

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

4 / 10

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

5 / 10

What is the default Isolation Level?

6 / 10

Which of the below are valid Isolations Levels?

choose 2

7 / 10

Which parameters sets the database default isolation level?

8 / 10

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

9 / 10

A phantom read anomaly occurs when?

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

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

2 / 10

Each page has a layer that usually consists of?

choose 2

3 / 10

Which 2 items does a Virtual XID consist of?

4 / 10

The page header is located in the highest address?

5 / 10

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

6 / 10

CLOG files are stored in which directory?

7 / 10

CLOG Pages are never cached in memory?

8 / 10

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

9 / 10

Tuples can also be referred to as columns?

10 / 10

What does an Item Pointer contain?

choose 3

Your score is

0%