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. Which fork is specific for unlogged tables?

2 / 20

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

3 / 20

3. What is the purpose of the template0 database?

4 / 20

4. Which 3 databases exist directly after cluster initialization?

choose 3 options

5 / 20

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

6 / 20

6. Which of below are predefined schemas?

choose 3

7 / 20

7. Files are logically split into pages?

8 / 20

8. How many rows in a page does Postgres aim to have before considering TOAST?

9 / 20

9. Which of the below objects can be referred to as relations?

choose 3

10 / 20

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

11 / 20

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

12 / 20

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

13 / 20

13. What is the purpose of autovacuum?

14 / 20

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

15 / 20

15. The default Page size is 2k?

16 / 20

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

17 / 20

17. Each tablespaces can only be assigned for use by one database

18 / 20

18. What is the purpose of the postgres database?

19 / 20

19. What is the purpose of the template1 database?

20 / 20

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

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. non-repeatable read anomaly occurs when?

2 / 10

2. The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

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

5 / 10

5. What is the default Isolation Level?

6 / 10

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

7 / 10

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

8 / 10

8. Which parameters sets the database default isolation level?

9 / 10

9. A phantom read anomaly occurs when?

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

2 / 10

2. Page header sizes can be easily displayed using the <choose from answers> extension

3 / 10

3. When a row is created, its xmin value is set to the transaction ID of which command?

4 / 10

4. Information about subtransactions is stored under?

5 / 10

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

6 / 10

6. CLOG files are stored in which directory?

7 / 10

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

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 2 items does a Virtual XID consist of?

10 / 10

10. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

Your score is

0%