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 server spawns a new backend session for each connection?

2 / 20

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

3 / 20

3. What is the purpose of the template1 database?

4 / 20

4. What is the name of the 2 default tablespaces created after initialization?

choose 2

5 / 20

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

6 / 20

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

7 / 20

7. Users should not modify the template0 database

8 / 20

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

9 / 20

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

10 / 20

10. Postgres uses a thread based process model?

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. Which fork is specific for unlogged tables?

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

20. What command is used to create 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. Which of the below are valid Isolations Levels?

choose 2

2 / 10

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

3 / 10

3. What is the default Isolation Level?

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

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

7 / 10

7. The SQL standard specifies three isolation levels?

8 / 10

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

9 / 10

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

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 of the below are true about a Pages Item Pointer?

2 / 10

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

3 / 10

3. Information about subtransactions is stored under?

4 / 10

4. at any one time Postgres can have several versions of a row?

5 / 10

5. The page Special Space is located at the start of the page with highest address

6 / 10

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

choose 2

7 / 10

7. Page free space can often become fragmented?

8 / 10

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

9 / 10

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

10 / 10

10. The page header stores checksum and the sizes of the other parts of the page?

Your score is

0%