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. Each tablespaces can only be assigned for use by one database

2 / 20

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

3 / 20

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

4 / 20

4. What is the purpose of wal writer?

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

9. Files are logically split into pages?

10 / 20

10. What is the purpose of autovacuum?

11 / 20

11. The default Page size is 2k?

12 / 20

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

13 / 20

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

14 / 20

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

choose 2

15 / 20

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

16 / 20

16. What is the purpose of the template1 database?

17 / 20

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

18 / 20

18. What is the purpose of the public schema?

19 / 20

19. What is the purpose of the visibility map?

20 / 20

20. What is the point of the pg_global tablespace?

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. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

2 / 10

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

3 / 10

3. What is the default Isolation Level?

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. Which isolation level in theory could mean an application does not have to consider isolation anomalies?

6 / 10

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

7 / 10

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

8 / 10

8. A phantom read anomaly occurs when?

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

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

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. In Postgres, tables are often referred to as which of the below?

2 / 10

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

3 / 10

3. indexes do not use row versioning?

4 / 10

4. CLOG files are stored in which directory?

5 / 10

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

6 / 10

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

7 / 10

7. The page Special Space is located at the start of the page with highest address

8 / 10

8. UPDATE can be regarded as which 2 separate operations?

9 / 10

9. Which 2 items does a Virtual XID consist of?

10 / 10

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

Your score is

0%