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 name of the catalog that stores metadata for all cluster objects?

2 / 20

2. Which fork is specific for unlogged tables?

3 / 20

3. TOAST tables reside in a seperate schema?

4 / 20

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

5 / 20

5. What is the purpose of wal writer?

6 / 20

6. What is the purpose of the template1 database?

7 / 20

7. System Catalog tables begin with which prefix?

8 / 20

8. What is the purpose of the postgres database?

9 / 20

9. Which of below are predefined schemas?

choose 3

10 / 20

10. What is the purpose of the public schema?

11 / 20

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

Choose 2 option

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. Users should not modify the template0 database

17 / 20

17. What is a schema?

18 / 20

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

19 / 20

19. Postgres uses a thread based process model?

20 / 20

20. Which 3 databases exist directly after cluster initialization?

choose 3 options

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. Lost updates are forbidden by the standard at all isolation levels?

2 / 10

2. Which parameters sets the database default isolation level?

3 / 10

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

4 / 10

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

choose 3

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

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

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

2 / 10

2. index row headers like table row headers contain xmin and xmax fields?

3 / 10

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

4 / 10

4. indexes do not use row versioning?

5 / 10

5. Page header sizes can be easily displayed using the <choose from answers> extension

6 / 10

6. Information about subtransactions is stored under?

7 / 10

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

8 / 10

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

9 / 10

9. CLOG Pages are never cached in memory?

10 / 10

10. If a transaction aborts, all page changes are reverted(rolled back) in place?

Your score is

0%