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. How many rows in a page does Postgres aim to have before considering TOAST?

2 / 20

2. What is a schema?

3 / 20

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

4 / 20

4. What is the purpose of the template1 database?

5 / 20

5. What is another name for the postgres process?

6 / 20

6. What is the purpose of the visibility map?

7 / 20

7. Postgres uses a thread based process model?

8 / 20

8. What is the purpose of wal writer?

9 / 20

9. Users should not modify the template0 database

10 / 20

10. What is the purpose of autovacuum?

11 / 20

11. The default Page size is 2k?

12 / 20

12. Postgres by default has built in connection pooling abilities?

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. Tablespaces are used to define physical data layout?

17 / 20

17. It is the postmasters job to listener for incoming connections?

18 / 20

18. Files are logically split into pages?

19 / 20

19. Which 3 databases exist directly after cluster initialization?

choose 3 options

20 / 20

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

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. The SQL standard specifies three isolation levels?

3 / 10

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

Select more than 1 answer below:

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. Which of the below are valid Isolations Levels?

choose 2

8 / 10

8. What is the default Isolation Level?

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

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

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. What does an Item Pointer contain?

choose 3

2 / 10

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

3 / 10

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

choose 2

4 / 10

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

5 / 10

5. In Postgres, tables are often referred to as which of the below?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. When a transaction is committed Postgres uses a special <replace with answer> structure?

10 / 10

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

Your score is

0%