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. What is the purpose of wal writer?

2 / 20

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

3 / 20

3. What is the purpose of the visibility map?

4 / 20

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

5 / 20

5. Which fork keeps track of available space within pages?

6 / 20

6. What is the purpose of the public schema?

7 / 20

7. What is the purpose of autovacuum?

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. What command is used to create the Postgres cluster?

12 / 20

12. What is the name of the catalog that stores metadata for all cluster objects?

13 / 20

13. Each Database has its own System Catalog?

14 / 20

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

15 / 20

15. What is another name for the postgres process?

16 / 20

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

17 / 20

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

18 / 20

18. Which of the below objects can be referred to as relations?

choose 3

19 / 20

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

20 / 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

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

2 / 10

2. A phantom read anomaly occurs when?

3 / 10

3. Which of the below are valid Isolations Levels?

choose 2

4 / 10

4. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

5 / 10

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

6 / 10

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

7 / 10

7. non-repeatable read anomaly occurs when?

8 / 10

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

choose 3

9 / 10

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

10 / 10

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

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. Page header sizes can be easily displayed using the <choose from answers> extension

3 / 10

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

4 / 10

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

5 / 10

5. indexes do not use row versioning?

6 / 10

6. CLOG Pages are never cached in memory?

7 / 10

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

8 / 10

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

9 / 10

9. Each page has a layer that usually consists of?

choose 2

10 / 10

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

Your score is

0%