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. Tablespaces can be used to segregate data based on performance needs?

2 / 20

2. To be able to restore data consistency, Postgres maintains

3 / 20

3. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

4 / 20

4. When PostgreSQL is running what can it be referred to as?

Choose 2 option

5 / 20

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

6 / 20

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

choose 3

7 / 20

7. Which of below are predefined schemas?

choose 2

8 / 20

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

9 / 20

9. What is the purpose of autovacuum?

10 / 20

10. What is the purpose of the template0 database?

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

14. What is the purpose of the public schema?

15 / 20

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

16 / 20

16. Which of below are predefined schemas?

choose 3

17 / 20

17. What is the purpose of wal writer?

18 / 20

18. pg_catalog schema is used to store system catalog tables?

19 / 20

19. It is the postmasters job to listener for incoming connections?

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. The more locks a transaction acquires, the better it is isolated from other transactions?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. non-repeatable read anomaly occurs when?

6 / 10

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

7 / 10

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

8 / 10

8. The SQL standard specifies three isolation levels?

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

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

choose 3

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. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

2 / 10

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

3 / 10

3. indexes do not use row versioning?

4 / 10

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

5 / 10

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

6 / 10

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

choose 2

7 / 10

7. psql provides a special mode that allows you to continue a transaction after a failure?

8 / 10

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

9 / 10

9. Information about subtransactions is stored under?

10 / 10

10. The page header is located in the highest address?

Your score is

0%