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

Users should not modify the template0 database

2 / 20

Which fork is specific for unlogged tables?

3 / 20

What is the purpose of the public schema?

4 / 20

What is a schema?

5 / 20

What is another name for the postgres process?

6 / 20

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

7 / 20

What command is used to create the Postgres cluster?

8 / 20

What column in system catalogs servers as the Primary Key

9 / 20

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

10 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

11 / 20

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

12 / 20

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

13 / 20

Tablespaces are used to define physical data layout?

14 / 20

To understand each other, a client and a server must use one and the same interfacing protocol?

15 / 20

What is the purpose of the postgres database?

16 / 20

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

17 / 20

What is the point of the pg_global tablespace?

18 / 20

What 3 files/forks as a minimum make up a table on disk?

19 / 20

To be able to restore data consistency, Postgres maintains

20 / 20

The default Page size is 2k?

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

The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

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

5 / 10

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

Select more than 1 answer below:

6 / 10

Which parameters sets the database default isolation level?

7 / 10

Which of the below would best describe a dirty read?

8 / 10

What is the default Isolation Level?

9 / 10

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

10 / 10

non-repeatable read anomaly occurs when?

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

CLOG files are stored in which directory?

2 / 10

CLOG contains how many bits for each transaction?

3 / 10

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

4 / 10

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

5 / 10

status of a subtransaction is written into CLOG?

6 / 10

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

7 / 10

A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

8 / 10

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

9 / 10

Which 2 of the below represent transaction IDs used for row versioning?

10 / 10

CLOG Pages are never cached in memory?

Your score is

0%