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 does Postgres know which schema to use if not specified?

2 / 20

To be able to restore data consistency, Postgres maintains

3 / 20

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

4 / 20

What is the purpose of the template0 database?

5 / 20

Postgres server spawns a new backend session for each connection?

6 / 20

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

Choose 2 option

7 / 20

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

8 / 20

What is another name for the postgres process?

9 / 20

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

10 / 20

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

11 / 20

What is the purpose of autovacuum?

12 / 20

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

choose 2

13 / 20

What column in system catalogs servers as the Primary Key

14 / 20

Which fork is specific for unlogged tables?

15 / 20

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

16 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

17 / 20

A schema can belong to more than one database?

18 / 20

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

19 / 20

Who is the Author of the Postgres 14 Internals book?

20 / 20

Which of below are predefined schemas?

choose 3

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

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

3 / 10

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

4 / 10

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

choose 3

5 / 10

The SQL standard specifies three isolation levels?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

non-repeatable read anomaly occurs when?

10 / 10

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

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

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

2 / 10

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

3 / 10

CLOG files are stored in which directory?

4 / 10

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

5 / 10

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

6 / 10

Tuples can also be referred to as columns?

7 / 10

Which 2 items does a Virtual XID consist of?

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%