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. The default Page size is 2k?

2 / 20

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

3 / 20

3. What is the name of the catalog that stores metadata for all cluster objects?

4 / 20

4. Which of the below objects can be referred to as relations?

choose 3

5 / 20

5. System Catalog tables begin with which prefix?

6 / 20

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

7 / 20

7. What is the purpose of the visibility map?

8 / 20

8. What is the purpose of wal writer?

9 / 20

9. What is a schema?

10 / 20

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

11 / 20

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

choose 2

12 / 20

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

13 / 20

13. Postgres uses a thread based process model?

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

17. When PostgreSQL is running what can it be referred to as?

Choose 2 option

18 / 20

18. What is the purpose of the template0 database?

19 / 20

19. Which fork contains the actual table data?

20 / 20

20. Which of below are predefined schemas?

choose 3

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. The SQL standard specifies three isolation levels?

2 / 10

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

3 / 10

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

choose 3

4 / 10

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

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

6. At any moment the database system can contain several versions of one and the same row?

7 / 10

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

8 / 10

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

9 / 10

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

Select more than 1 answer below:

10 / 10

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

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. When a row is created, its xmin value is set to the transaction ID of which command?

2 / 10

2. Which 2 of the below represent transaction IDs used for row versioning?

3 / 10

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

4 / 10

4. Tuples can also be referred to as columns?

5 / 10

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

6 / 10

6. status of a subtransaction is written into CLOG?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%