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. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

2 / 20

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

3 / 20

3. Which of below are predefined schemas?

choose 3

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

8. What is a schema?

9 / 20

9. Tablespaces are used to define physical data layout?

10 / 20

10. The default Page size is 2k?

11 / 20

11. What is the purpose of wal writer?

12 / 20

12. Which 3 databases exist directly after cluster initialization?

choose 3 options

13 / 20

13. Which fork contains the actual table data?

14 / 20

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

15 / 20

15. TOAST tables reside in a seperate schema?

16 / 20

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

choose 2

17 / 20

17. System Catalog tables begin with which prefix?

18 / 20

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

19 / 20

19. What is the point of the pg_global tablespace?

20 / 20

20. What is the name of the system catalog table for relations?

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. A phantom read anomaly occurs when?

3 / 10

3. non-repeatable read anomaly occurs when?

4 / 10

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

Select more than 1 answer below:

5 / 10

5. Which of the below are valid Isolations Levels?

choose 2

6 / 10

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

choose 3

7 / 10

7. The SQL standard specifies three isolation levels?

8 / 10

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

9 / 10

9. What is the default Isolation Level?

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. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

3 / 10

3. CLOG files are stored in which directory?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. indexes do not use row versioning?

8 / 10

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

9 / 10

9. status of a subtransaction is written into CLOG?

10 / 10

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

Your score is

0%