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. What is a schema?

3 / 20

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

4 / 20

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

5 / 20

5. Which 3 databases exist directly after cluster initialization?

choose 3 options

6 / 20

6. Each Database has its own System Catalog?

7 / 20

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

8 / 20

8. What is the purpose of wal writer?

9 / 20

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

10 / 20

10. Tablespaces are used to define physical data layout?

11 / 20

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

12 / 20

12. System Catalog tables begin with which prefix?

13 / 20

13. What is the purpose of the template0 database?

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

17. What is the purpose of the public schema?

18 / 20

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

19 / 20

19. TOAST tables reside in a seperate schema?

20 / 20

20. Files are logically split into 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. Which of the below would best describe a dirty read?

2 / 10

2. What is the default Isolation Level?

3 / 10

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

Select more than 1 answer below:

4 / 10

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

5 / 10

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

choose 3

6 / 10

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

7 / 10

7. Which parameters sets the database default isolation level?

8 / 10

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

9 / 10

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

10 / 10

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

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. Postgres table physical data files are always cross compatible across platforms?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. CLOG Pages are never cached in memory?

6 / 10

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

7 / 10

7. CLOG contains how many bits for each transaction?

8 / 10

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

9 / 10

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

10 / 10

10. If a transaction aborts, all page changes are reverted(rolled back) in place?

Your score is

0%