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

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

2 / 20

What is the point of the pg_global tablespace?

3 / 20

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

4 / 20

What command is used to create the Postgres cluster?

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

What is the purpose of the public schema?

9 / 20

Postgres by default has built in connection pooling abilities?

10 / 20

What is the process first launched at server start?

11 / 20

What is the purpose of the template0 database?

12 / 20

What is the name of the 2 default tablespaces created after initialization?

choose 2

13 / 20

What is the purpose of the visibility map?

14 / 20

A schema can belong to more than one database?

15 / 20

Which of below are predefined schemas?

choose 3

16 / 20

What is the purpose of the postgres database?

17 / 20

Files are logically split into pages?

18 / 20

Postgres server spawns a new backend session for each connection?

19 / 20

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

20 / 20

What column in system catalogs servers as the Primary Key

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 isolation level in theory could mean an application does not have to consider isolation anomalies?

2 / 10

non-repeatable read anomaly occurs when?

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 is the acronym used for the attributes that ensure Data consistency, integrity and durability?

6 / 10

Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

7 / 10

Which of the below would best describe a dirty read?

8 / 10

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

Select more than 1 answer below:

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

status of a subtransaction is written into CLOG?

2 / 10

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

3 / 10

Page free space can often become fragmented?

4 / 10

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

5 / 10

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

6 / 10

Tuples can also be referred to as columns?

7 / 10

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

8 / 10

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

9 / 10

UPDATE can be regarded as which 2 separate operations?

10 / 10

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

Your score is

0%