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

Postgres uses a thread based process model?

2 / 20

What is the purpose of the public schema?

3 / 20

What is the purpose of the postgres database?

4 / 20

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

5 / 20

Each Database has its own System Catalog?

6 / 20

What column in system catalogs servers as the Primary Key

7 / 20

System Catalog tables begin with which prefix?

8 / 20

pg_catalog schema is used to store system catalog tables?

9 / 20

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

choose 2

10 / 20

What is the purpose of wal writer?

11 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

12 / 20

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

13 / 20

What is the point of the pg_global tablespace?

14 / 20

Files are logically split into pages?

15 / 20

What is the purpose of autovacuum?

16 / 20

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

17 / 20

To be able to restore data consistency, Postgres maintains

18 / 20

What is the default standard size for a fork file?

19 / 20

Users should not modify the template0 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

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

2 / 10

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

3 / 10

Which parameters sets the database default isolation level?

4 / 10

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

choose 3

5 / 10

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

6 / 10

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

7 / 10

A phantom read anomaly occurs when?

8 / 10

Which of the below would best describe a dirty read?

9 / 10

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

10 / 10

What is the default Isolation Level?

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

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

2 / 10

To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

3 / 10

What does an Item Pointer contain?

choose 3

4 / 10

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

5 / 10

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

6 / 10

If a transaction aborts, all page changes are reverted(rolled back) in place?

7 / 10

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

8 / 10

In Postgres, tables are often referred to as which of the below?

9 / 10

Each page has a layer that usually consists of?

choose 2

10 / 10

Tuples can also be referred to as columns?

Your score is

0%