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

It is the postmasters job to listener for incoming connections?

2 / 20

What is the purpose of the template1 database?

3 / 20

A schema can belong to more than one database?

4 / 20

Tablespaces are used to define physical data layout?

5 / 20

Which of below are predefined schemas?

choose 2

6 / 20

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

7 / 20

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

8 / 20

The default Page size is 2k?

9 / 20

Each tablespaces can only be assigned for use by one database

10 / 20

What is the purpose of wal writer?

11 / 20

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

12 / 20

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

13 / 20

Files are logically split into pages?

14 / 20

What is the default standard size for a fork file?

15 / 20

What command is used to create the Postgres cluster?

16 / 20

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

17 / 20

What is the process first launched at server start?

18 / 20

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

19 / 20

What is the purpose of the postgres database?

20 / 20

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

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 of the below would best describe a dirty read?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

What is the default Isolation Level?

6 / 10

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

7 / 10

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

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

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

10 / 10

non-repeatable 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

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

2 / 10

CLOG files are stored in which directory?

3 / 10

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

4 / 10

Each page has a layer that usually consists of?

choose 2

5 / 10

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

6 / 10

UPDATE can be regarded as which 2 separate operations?

7 / 10

CLOG contains how many bits for each transaction?

8 / 10

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

9 / 10

Information about subtransactions is stored under?

10 / 10

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

Your score is

0%