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. Which of below are predefined schemas?

choose 3

2 / 20

2. How does Postgres know which schema to use if not specified?

3 / 20

3. TOAST tables reside in a seperate schema?

4 / 20

4. What is the purpose of the template0 database?

5 / 20

5. System Catalog tables begin with which prefix?

6 / 20

6. What is a schema?

7 / 20

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

8 / 20

8. Which fork is specific for unlogged tables?

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

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

Choose 2 option

13 / 20

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

14 / 20

14. What is the point of the pg_global tablespace?

15 / 20

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

16 / 20

16. What is the purpose of the public schema?

17 / 20

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

18 / 20

18. Which of below are predefined schemas?

choose 2

19 / 20

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

20 / 20

20. What is the purpose of the template1 database?

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. Data Consistency is best handled at the application layer rather than at the database layer?

2 / 10

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

3 / 10

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

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

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

7 / 10

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

Select more than 1 answer below:

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 are valid Isolations Levels?

choose 2

10 / 10

10. non-repeatable read anomaly occurs when?

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. The page header is located in the highest address?

2 / 10

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

3 / 10

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

4 / 10

4. What does an Item Pointer contain?

choose 3

5 / 10

5. Information about subtransactions is stored under?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%