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

pg_catalog schema is used to store system catalog tables?

2 / 20

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

3 / 20

Which of the below objects can be referred to as relations?

choose 3

4 / 20

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

5 / 20

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

6 / 20

Postgres by default has built in connection pooling abilities?

7 / 20

A single Postgres Instance can server only one database?

8 / 20

Which of below are predefined schemas?

choose 2

9 / 20

Which fork is specific for unlogged tables?

10 / 20

It is the postmasters job to listener for incoming connections?

11 / 20

What is the purpose of the visibility map?

12 / 20

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

13 / 20

Which of below are predefined schemas?

choose 3

14 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

15 / 20

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

16 / 20

System Catalog tables begin with which prefix?

17 / 20

Who is the Author of the Postgres 14 Internals book?

18 / 20

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

19 / 20

TOAST tables reside in a seperate schema?

20 / 20

Files are logically split into pages?

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

non-repeatable read anomaly occurs when?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

The SQL standard specifies three isolation levels?

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

Which parameters sets the database default isolation level?

10 / 10

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

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

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

2 / 10

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

3 / 10

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

4 / 10

CLOG files are stored in which directory?

5 / 10

Which 2 items does a Virtual XID consist of?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

Information about subtransactions is stored under?

10 / 10

What does an Item Pointer contain?

choose 3

Your score is

0%