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

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

3 / 20

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

4 / 20

Who is the Author of the Postgres 14 Internals book?

5 / 20

A single Postgres Instance can server only one database?

6 / 20

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

7 / 20

Each Database has its own System Catalog?

8 / 20

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

Choose 2 option

9 / 20

Which of below are predefined schemas?

choose 3

10 / 20

Tablespaces are used to define physical data layout?

11 / 20

What is the purpose of the postgres database?

12 / 20

The default Page size is 2k?

13 / 20

What is the process first launched at server start?

14 / 20

The information_schema schema provides information on Postgres release notes?

15 / 20

What column in system catalogs servers as the Primary Key

16 / 20

TOAST tables reside in a seperate schema?

17 / 20

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

choose 2

18 / 20

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

19 / 20

What is another name for the postgres process?

20 / 20

What is the point of the pg_global tablespace?

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

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

2 / 10

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

3 / 10

Which of the below would best describe a dirty read?

4 / 10

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

5 / 10

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

choose 3

6 / 10

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

7 / 10

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

8 / 10

The SQL standard specifies three isolation levels?

9 / 10

Which of the below are valid Isolations Levels?

choose 2

10 / 10

A phantom read anomaly occurs when?

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

Which 2 items does a Virtual XID consist of?

2 / 10

What does an Item Pointer contain?

choose 3

3 / 10

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

4 / 10

status of a subtransaction is written into CLOG?

5 / 10

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

6 / 10

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

7 / 10

CLOG files are stored in which directory?

8 / 10

CLOG Pages are never cached in memory?

9 / 10

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

10 / 10

Information about subtransactions is stored under?

Your score is

0%