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

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

3 / 20

What is the purpose of autovacuum?

4 / 20

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

5 / 20

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

6 / 20

What is another name for the postgres process?

7 / 20

Which of below are predefined schemas?

choose 3

8 / 20

Which 3 databases exist directly after cluster initialization?

choose 3 options

9 / 20

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

10 / 20

What is the purpose of the template0 database?

11 / 20

Which fork contains the actual table data?

12 / 20

What command is used to create the Postgres cluster?

13 / 20

Who is the Author of the Postgres 14 Internals book?

14 / 20

The information_schema schema provides information on Postgres release notes?

15 / 20

A schema can belong to more than one database?

16 / 20

To be able to restore data consistency, Postgres maintains

17 / 20

The default Page size is 2k?

18 / 20

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

19 / 20

Postgres server spawns a new backend session for each connection?

20 / 20

System Catalog tables begin with which prefix?

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

non-repeatable read anomaly occurs when?

2 / 10

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

3 / 10

Which parameters sets the database default isolation level?

4 / 10

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

5 / 10

The SQL standard specifies three isolation levels?

6 / 10

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

7 / 10

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

choose 3

8 / 10

A phantom read anomaly occurs when?

9 / 10

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

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

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

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

Which 2 items does a Virtual XID consist of?

6 / 10

a transaction containing a savepoint is will still be considered as only a single transaction?

7 / 10

Indexes values also support multi versioning with several versions of an index value existing at any point in time?

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%