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. Some System Catalog tables are common to all databases in the cluster?

2 / 20

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

3 / 20

3. What is the purpose of the template1 database?

4 / 20

4. What is a schema?

5 / 20

5. TOAST tables reside in a seperate schema?

6 / 20

6. Which fork is specific for unlogged tables?

7 / 20

7. Users should not modify the template0 database

8 / 20

8. The default Page size is 2k?

9 / 20

9. Files are logically split into pages?

10 / 20

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

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. What is the point of the pg_global tablespace?

17 / 20

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

18 / 20

18. What is another name for the postgres process?

19 / 20

19. Who is the Author of the Postgres 14 Internals book?

20 / 20

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

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. Snapshot isolation is preferred but increases the number of required locks?

3 / 10

3. Which of the below are valid Isolations Levels?

choose 2

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. A phantom read anomaly occurs when?

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. Which function can we use to find the current transaction ID?

2 / 10

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

3 / 10

3. indexes do not use row versioning?

4 / 10

4. CLOG contains how many bits for each transaction?

5 / 10

5. Page free space can often become fragmented?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%