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 column in system catalogs servers as the Primary Key

2 / 20

2. What is the purpose of the visibility map?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

6. The information_schema schema provides information on Postgres release notes?

7 / 20

7. How many files or forks on disk will a 10Mb table with no index have?

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. What is the purpose of the public schema?

12 / 20

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

13 / 20

13. Which fork is specific for unlogged tables?

14 / 20

14. Which of below are predefined schemas?

choose 3

15 / 20

15. Files are logically split into pages?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

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

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. A phantom read anomaly occurs when?

3 / 10

3. Which parameters sets the database default isolation level?

4 / 10

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

5 / 10

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

6 / 10

6. non-repeatable read anomaly occurs when?

7 / 10

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

choose 3

8 / 10

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

9 / 10

9. What is the default Isolation Level?

10 / 10

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

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. Which 2 items does a Virtual XID consist of?

2 / 10

2. indexes do not use row versioning?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

6. What does an Item Pointer contain?

choose 3

7 / 10

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

8 / 10

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

9 / 10

9. Rows of TOAST tables are handled in such a way that they are never update?

10 / 10

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

Your score is

0%