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 visibility map?

2 / 20

2. What is the purpose of the postgres database?

3 / 20

3. The pg_default tablespace should never be used to create user tables?

4 / 20

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

5 / 20

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

6 / 20

6. Tablespaces are used to define physical data layout?

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

10. What is the purpose of autovacuum?

11 / 20

11. pg_catalog schema is used to store system catalog tables?

12 / 20

12. Which fork is specific for unlogged tables?

13 / 20

13. What is the purpose of wal writer?

14 / 20

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

15 / 20

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

16 / 20

16. Which 3 databases exist directly after cluster initialization?

choose 3 options

17 / 20

17. What column in system catalogs servers as the Primary Key

18 / 20

18. Files are logically split into pages?

19 / 20

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

20 / 20

20. TOAST tables reside in a seperate schema?

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. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

3 / 10

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

4 / 10

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

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 parameters sets the database default isolation level?

8 / 10

8. The SQL standard specifies three isolation levels?

9 / 10

9. What is the default Isolation Level?

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. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

2 / 10

2. CLOG contains how many bits for each transaction?

3 / 10

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

4 / 10

4. a transaction containing a savepoint is will still be considered as only a single transaction?

5 / 10

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

6 / 10

6. If a transaction is read only which kind of Transaction ID is it allocated?

7 / 10

7. What does an Item Pointer contain?

choose 3

8 / 10

8. Information about subtransactions is stored under?

9 / 10

9. Tuples can also be referred to as columns?

10 / 10

10. status of a subtransaction is written into CLOG?

Your score is

0%