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

1. Files are logically split into pages?

2 / 20

2. What is the default standard size for a fork file?

3 / 20

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

4 / 20

4. What is the purpose of the public schema?

5 / 20

5. Which 3 databases exist directly after cluster initialization?

choose 3 options

6 / 20

6. A single Postgres Instance can server only one database?

7 / 20

7. What is the process first launched at server start?

8 / 20

8. Tablespaces are used to define physical data layout?

9 / 20

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

10 / 20

10. Postgres by default has built in connection pooling abilities?

11 / 20

11. What column in system catalogs servers as the Primary Key

12 / 20

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

13 / 20

13. Each tablespaces can only be assigned for use by one database

14 / 20

14. Postgres server spawns a new backend session for each connection?

15 / 20

15. A schema can belong to more than one database?

16 / 20

16. What is the point of the pg_global tablespace?

17 / 20

17. Which fork contains the actual table data?

18 / 20

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

19 / 20

19. Which fork is specific for unlogged tables?

20 / 20

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

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

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

2 / 10

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

3 / 10

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

choose 3

4 / 10

4. Which of the below would best describe a dirty read?

5 / 10

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

6 / 10

6. Which of the below are valid Isolations Levels?

choose 2

7 / 10

7. non-repeatable read anomaly occurs when?

8 / 10

8. What is the default Isolation Level?

9 / 10

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

10 / 10

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

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

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

2 / 10

2. What does an Item Pointer contain?

choose 3

3 / 10

3. Information about subtransactions is stored under?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%