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 3 databases exist directly after cluster initialization?

choose 3 options

2 / 20

2. TOAST tables reside in a seperate schema?

3 / 20

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

4 / 20

4. Files are logically split into pages?

5 / 20

5. Postgres by default has built in connection pooling abilities?

6 / 20

6. Which of below are predefined schemas?

choose 2

7 / 20

7. Which fork contains the actual table data?

8 / 20

8. What is the purpose of the public schema?

9 / 20

9. What is the purpose of autovacuum?

10 / 20

10. What is the purpose of the template1 database?

11 / 20

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

12 / 20

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

13 / 20

13. Which of below are predefined schemas?

choose 3

14 / 20

14. Who is the Author of the Postgres 14 Internals book?

15 / 20

15. What is the point of the pg_global tablespace?

16 / 20

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

17 / 20

17. Postgres uses a thread based process model?

18 / 20

18. What is the name of the mechanism used to store a row bigger than a page size?

19 / 20

19. Tablespaces are used to define physical data layout?

20 / 20

20. Which fork is specific for unlogged tables?

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. Snapshot isolation is preferred but increases the number of required locks?

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

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

choose 3

5 / 10

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

Select more than 1 answer below:

6 / 10

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

7 / 10

7. Which parameters sets the database default isolation level?

8 / 10

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

9 / 10

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

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. Rows of TOAST tables are handled in such a way that they are never update?

2 / 10

2. Page free space can often become fragmented?

3 / 10

3. CLOG contains how many bits for each transaction?

4 / 10

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

5 / 10

5. The page header is located in the highest address?

6 / 10

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

7 / 10

7. status of a subtransaction is written into CLOG?

8 / 10

8. Which 2 items does a Virtual XID consist of?

9 / 10

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

10 / 10

10. at any one time Postgres can have several versions of a row?

Your score is

0%