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 is the purpose of the template1 database?

2 / 20

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

3 / 20

3. What is the purpose of the template0 database?

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

10. Which of below are predefined schemas?

choose 3

11 / 20

11. What is the purpose of the public schema?

12 / 20

12. Users should not modify the template0 database

13 / 20

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

14 / 20

14. Each Database has its own System Catalog?

15 / 20

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

16 / 20

16. What is the purpose of the postgres database?

17 / 20

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

18 / 20

18. System Catalog tables begin with which prefix?

19 / 20

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

20 / 20

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

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

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. The more locks a transaction acquires, the better it is isolated from other transactions?

5 / 10

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

6 / 10

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

7 / 10

7. which of the below statements will start a transaction as Read Repeatable?

8 / 10

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

Select more than 1 answer below:

9 / 10

9. Which parameters sets the database default isolation level?

10 / 10

10. Which of the below are valid Isolations Levels?

choose 2

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. index row headers like table row headers contain xmin and xmax fields?

2 / 10

2. Tuples can also be referred to as columns?

3 / 10

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

4 / 10

4. Information about subtransactions is stored under?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

9 / 10

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

10 / 10

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

Your score is

0%