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 autovacuum?

2 / 20

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

3 / 20

3. Which fork is specific for unlogged tables?

4 / 20

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

5 / 20

5. System Catalog tables begin with which prefix?

6 / 20

6. What is the purpose of the template0 database?

7 / 20

7. The default Page size is 2k?

8 / 20

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

choose 2

9 / 20

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

10 / 20

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

11 / 20

11. What is the purpose of the visibility map?

12 / 20

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

13 / 20

13. What is the purpose of wal writer?

14 / 20

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

15 / 20

15. What is a schema?

16 / 20

16. What command is used to create the Postgres cluster?

17 / 20

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

18 / 20

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

19 / 20

19. What is another name for the postgres process?

20 / 20

20. Tablespaces are used to define physical data layout?

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 isolation level in theory could mean an application does not have to consider isolation anomalies?

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

9 / 10

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

10 / 10

10. Which parameters sets the database default isolation level?

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. The page header stores checksum and the sizes of the other parts of the page?

2 / 10

2. CLOG contains how many bits for each transaction?

3 / 10

3. indexes do not use row versioning?

4 / 10

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

5 / 10

5. What does an Item Pointer contain?

choose 3

6 / 10

6. status of a subtransaction is written into CLOG?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

10. Rows of TOAST tables are handled in such a way that they are never update?

Your score is

0%