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. To understand each other, a client and a server must use one and the same interfacing protocol?

2 / 20

2. What is the purpose of wal writer?

3 / 20

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

4 / 20

4. Which fork contains the actual table data?

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

8. Postgres uses a thread based process model?

9 / 20

9. What is the purpose of the public schema?

10 / 20

10. Which 3 databases exist directly after cluster initialization?

choose 3 options

11 / 20

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

12 / 20

12. What is the purpose of the visibility map?

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. TOAST tables reside in a seperate schema?

17 / 20

17. Which of below are predefined schemas?

choose 2

18 / 20

18. Which fork is specific for unlogged tables?

19 / 20

19. The default Page size is 2k?

20 / 20

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

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. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

2 / 10

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

3 / 10

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

4 / 10

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

choose 3

5 / 10

5. non-repeatable read anomaly occurs when?

6 / 10

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

7 / 10

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

8 / 10

8. What is the default Isolation Level?

9 / 10

9. Which parameters sets the database default isolation level?

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. status of a subtransaction is written into CLOG?

2 / 10

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

3 / 10

3. CLOG contains how many bits for each transaction?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. psql provides a special mode that allows you to continue a transaction after a failure?

8 / 10

8. virtual IDs exist only in PGDATA/pg_vxid when not cached?

9 / 10

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

10 / 10

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

Your score is

0%