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. The pg_default tablespace should never be used to create user tables?

2 / 20

2. To understand each other, a client and a server must use one and the same interfacing protocol?

3 / 20

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

4 / 20

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

5 / 20

5. Which fork is specific for unlogged tables?

6 / 20

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

7 / 20

7. Tablespaces are used to define physical data layout?

8 / 20

8. What is the purpose of autovacuum?

9 / 20

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

10 / 20

10. The default Page size is 2k?

11 / 20

11. Which fork contains the actual table data?

12 / 20

12. System Catalog tables begin with which prefix?

13 / 20

13. What is the point of the pg_global tablespace?

14 / 20

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

15 / 20

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

16 / 20

16. What is the purpose of wal writer?

17 / 20

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

18 / 20

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

19 / 20

19. What is the purpose of the template1 database?

20 / 20

20. Which 3 databases exist directly after cluster initialization?

choose 3 options

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 would best describe a dirty read?

2 / 10

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

3 / 10

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

4 / 10

4. Which of the below are valid Isolations Levels?

choose 2

5 / 10

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

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

9. The SQL standard specifies three isolation levels?

10 / 10

10. A phantom 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. CLOG contains how many bits for each transaction?

2 / 10

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

3 / 10

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

choose 2

4 / 10

4. CLOG Pages are never cached in memory?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Tuples can also be referred to as columns?

9 / 10

9. Information about subtransactions is stored under?

10 / 10

10. CLOG files are stored in which directory?

Your score is

0%