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

Tablespaces are used to define physical data layout?

2 / 20

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

3 / 20

When PostgreSQL is running what can it be referred to as?

Choose 2 option

4 / 20

To be able to restore data consistency, Postgres maintains

5 / 20

Which of below are predefined schemas?

choose 2

6 / 20

What is another name for the postgres process?

7 / 20

Users should not modify the template0 database

8 / 20

pg_catalog schema is used to store system catalog tables?

9 / 20

What is the purpose of the template0 database?

10 / 20

Each Database has its own System Catalog?

11 / 20

Each tablespaces can only be assigned for use by one database

12 / 20

A schema can belong to more than one database?

13 / 20

Which fork keeps track of available space within pages?

14 / 20

Postgres uses a thread based process model?

15 / 20

What is the name of the directory that contains the files related to the Postgres cluster?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

What is the purpose of the visibility map?

20 / 20

If we create a new tablespace which directory will symbolic links be created from?

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

non-repeatable read anomaly occurs when?

3 / 10

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

4 / 10

Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

Which of the below would best describe a dirty read?

7 / 10

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

8 / 10

What is the default Isolation Level?

9 / 10

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

10 / 10

The SQL standard specifies three isolation levels?

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

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

2 / 10

When a row is created, its xmin value is set to the transaction ID of which command?

3 / 10

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

4 / 10

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

5 / 10

CLOG files are stored in which directory?

6 / 10

Which 2 items does a Virtual XID consist of?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

Page free space can often become fragmented?

Your score is

0%