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. Postgres uses a thread based process model?

2 / 20

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

3 / 20

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

4 / 20

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

5 / 20

5. Which 3 databases exist directly after cluster initialization?

choose 3 options

6 / 20

6. Users should not modify the template0 database

7 / 20

7. What is the purpose of the postgres database?

8 / 20

8. Each Database has its own System Catalog?

9 / 20

9. If we create a new tablespace which directory will symbolic links be created from?

10 / 20

10. Which fork contains the actual table data?

11 / 20

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

12 / 20

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

13 / 20

13. What is the name of the catalog that stores metadata for all cluster objects?

14 / 20

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

15 / 20

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

16 / 20

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

choose 3

17 / 20

17. What is the purpose of the template1 database?

18 / 20

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

19 / 20

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

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. At any moment the database system can contain several versions of one and the same row?

2 / 10

2. Which of the below are valid Isolations Levels?

choose 2

3 / 10

3. What is the default Isolation Level?

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

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

choose 3

7 / 10

7. A phantom read anomaly occurs when?

8 / 10

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

9 / 10

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

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. Postgres table physical data files are always cross compatible across platforms?

2 / 10

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

3 / 10

3. What does an Item Pointer contain?

choose 3

4 / 10

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

5 / 10

5. status of a subtransaction is written into CLOG?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

choose 2

10 / 10

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

Your score is

0%