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 directory that contains the files related to the Postgres cluster?

2 / 20

A schema can belong to more than one database?

3 / 20

pg_catalog schema is used to store system catalog tables?

4 / 20

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

5 / 20

Postgres uses a thread based process model?

6 / 20

Postgres server spawns a new backend session for each connection?

7 / 20

What is the name of the catalog that stores metadata for all cluster objects?

8 / 20

The information_schema schema provides information on Postgres release notes?

9 / 20

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

10 / 20

System Catalog tables begin with which prefix?

11 / 20

What is the point of the pg_global tablespace?

12 / 20

What is the purpose of wal writer?

13 / 20

Each tablespaces can only be assigned for use by one database

14 / 20

Which fork contains the actual table data?

15 / 20

What is the process first launched at server start?

16 / 20

Tablespaces are used to define physical data layout?

17 / 20

Which fork keeps track of available space within pages?

18 / 20

To be able to restore data consistency, Postgres maintains

19 / 20

Postgres by default has built in connection pooling abilities?

20 / 20

Each Database has its own System Catalog?

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

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

2 / 10

A phantom read anomaly occurs when?

3 / 10

The SQL standard specifies three isolation levels?

4 / 10

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

5 / 10

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

6 / 10

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

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

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

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

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

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

When a transaction is committed Postgres uses a special <replace with answer> structure?

2 / 10

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

3 / 10

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

4 / 10

Information about subtransactions is stored under?

5 / 10

The page header is located in the highest address?

6 / 10

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

7 / 10

The page header stores checksum and the sizes of the other parts of the page?

8 / 10

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

9 / 10

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

10 / 10

Which 2 items does a Virtual XID consist of?

Your score is

0%