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 purpose of the template0 database?

2 / 20

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

3 / 20

Which of below are predefined schemas?

choose 2

4 / 20

Postgres by default has built in connection pooling abilities?

5 / 20

The default Page size is 2k?

6 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

7 / 20

Which fork keeps track of available space within pages?

8 / 20

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

9 / 20

Each Database has its own System Catalog?

10 / 20

Which fork contains the actual table data?

11 / 20

What is the point of the pg_global tablespace?

12 / 20

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

13 / 20

A schema can belong to more than one database?

14 / 20

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

15 / 20

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

16 / 20

The information_schema schema provides information on Postgres release notes?

17 / 20

What is another name for the postgres process?

18 / 20

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

19 / 20

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

20 / 20

To be able to restore data consistency, Postgres maintains

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

Which parameters sets the database default isolation level?

2 / 10

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

3 / 10

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

4 / 10

non-repeatable read anomaly occurs when?

5 / 10

Which of the below are valid Isolations Levels?

choose 2

6 / 10

What is the default Isolation Level?

7 / 10

The SQL standard specifies three isolation levels?

8 / 10

A phantom read anomaly occurs when?

9 / 10

Which of the below would best describe a dirty read?

10 / 10

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

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

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

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

Indexes values also support multi versioning with several versions of an index value existing at any point in time?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

What does an Item Pointer contain?

choose 3

10 / 10

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

Your score is

0%