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

Who is the Author of the Postgres 14 Internals book?

3 / 20

Which of below are predefined schemas?

choose 2

4 / 20

Which fork contains the actual table data?

5 / 20

It is the postmasters job to listener for incoming connections?

6 / 20

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

7 / 20

The information_schema schema provides information on Postgres release notes?

8 / 20

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

9 / 20

Which fork keeps track of available space within pages?

10 / 20

What is another name for the postgres process?

11 / 20

What is the purpose of wal writer?

12 / 20

What is the purpose of the postgres database?

13 / 20

Postgres server spawns a new backend session for each connection?

14 / 20

What is the purpose of the template0 database?

15 / 20

Postgres uses a thread based process model?

16 / 20

Tablespaces are used to define physical data layout?

17 / 20

What is the name of the mechanism used to store a row bigger than a page size?

18 / 20

Each tablespaces can only be assigned for use by one database

19 / 20

What is the default standard size for a fork file?

20 / 20

Which fork is specific for unlogged tables?

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

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

2 / 10

A phantom read anomaly occurs when?

3 / 10

What is the default Isolation Level?

4 / 10

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

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

The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

Which parameters sets the database default isolation level?

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

Which of the below are valid Isolations Levels?

choose 2

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

Information about subtransactions is stored under?

2 / 10

status of a subtransaction is written into CLOG?

3 / 10

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

4 / 10

CLOG contains how many bits for each transaction?

5 / 10

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

6 / 10

Each page has a layer that usually consists of?

choose 2

7 / 10

psql provides a special mode that allows you to continue a transaction after a failure?

8 / 10

Tuples can also be referred to as columns?

9 / 10

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

10 / 10

UPDATE can be regarded as which 2 separate operations?

Your score is

0%