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. Tablespaces can be used to segregate data based on performance needs?

2 / 20

2. What is the purpose of the public schema?

3 / 20

3. How does Postgres know which schema to use if not specified?

4 / 20

4. What is the purpose of the visibility map?

5 / 20

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

6 / 20

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

7 / 20

7. TOAST tables reside in a seperate schema?

8 / 20

8. Which of below are predefined schemas?

choose 3

9 / 20

9. What is a schema?

10 / 20

10. Which 3 databases exist directly after cluster initialization?

choose 3 options

11 / 20

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

12 / 20

12. Users should not modify the template0 database

13 / 20

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

14 / 20

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

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. What is the default standard size for a fork file?

18 / 20

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

19 / 20

19. What is the purpose of the postgres database?

20 / 20

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

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 statements will start a transaction as Read Repeatable?

2 / 10

2. non-repeatable read anomaly occurs when?

3 / 10

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

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. What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

8 / 10

8. Data Consistency is best handled at the application layer rather than at the database layer?

9 / 10

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

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. index row headers like table row headers contain xmin and xmax fields?

2 / 10

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

3 / 10

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

4 / 10

4. Postgres table physical data files are always cross compatible across platforms?

5 / 10

5. CLOG files are stored in which directory?

6 / 10

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

choose 2

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

10. CLOG Pages are never cached in memory?

Your score is

0%