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 a schema?

2 / 20

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

3 / 20

TOAST tables reside in a seperate schema?

4 / 20

What is the process first launched at server start?

5 / 20

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

6 / 20

What is the default standard size for a fork file?

7 / 20

The default Page size is 2k?

8 / 20

Which fork contains the actual table data?

9 / 20

Which fork is specific for unlogged tables?

10 / 20

System Catalog tables begin with which prefix?

11 / 20

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

12 / 20

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

13 / 20

Tablespaces are used to define physical data layout?

14 / 20

It is the postmasters job to listener for incoming connections?

15 / 20

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

16 / 20

Files are logically split into pages?

17 / 20

Users should not modify the template0 database

18 / 20

A schema can belong to more than one database?

19 / 20

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

choose 2

20 / 20

Each Database has its own System Catalog?

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

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

3 / 10

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

choose 3

4 / 10

Which of the below would best describe a dirty read?

5 / 10

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

6 / 10

A phantom read anomaly occurs when?

7 / 10

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

8 / 10

What is the default Isolation Level?

9 / 10

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

10 / 10

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

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

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

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

The page header is located in the highest address?

8 / 10

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

9 / 10

CLOG files are stored in which directory?

10 / 10

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

Your score is

0%