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 fork keeps track of available space within pages?

2 / 20

2. What is the purpose of the postgres database?

3 / 20

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

4 / 20

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

5 / 20

5. A single Postgres Instance can server only one database?

6 / 20

6. System Catalog tables begin with which prefix?

7 / 20

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

8 / 20

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

9 / 20

9. Which of below are predefined schemas?

choose 2

10 / 20

10. What is another name for the postgres process?

11 / 20

11. What is the name of the directory that contains the files related to the Postgres cluster?

12 / 20

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

13 / 20

13. Tablespaces can be used to segregate data based on performance needs?

14 / 20

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

15 / 20

15. What is the point of the pg_global tablespace?

16 / 20

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

17 / 20

17. What is the purpose of the public schema?

18 / 20

18. Users should not modify the template0 database

19 / 20

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

20 / 20

20. What is the purpose of the visibility map?

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 isolation level in theory could mean an application does not have to consider isolation anomalies?

2 / 10

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

3 / 10

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

4 / 10

4. non-repeatable read anomaly occurs when?

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

6. What is the default Isolation Level?

7 / 10

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

8 / 10

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

9 / 10

9. The SQL standard specifies three isolation levels?

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. In Postgres, tables are often referred to as which of the below?

2 / 10

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

3 / 10

3. a transaction containing a savepoint is will still be considered as only a single transaction?

4 / 10

4. Tuples can also be referred to as columns?

5 / 10

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

6 / 10

6. indexes do not use row versioning?

7 / 10

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

8 / 10

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

9 / 10

9. The page header stores checksum and the sizes of the other parts of the page?

10 / 10

10. Which of the below are true about a Pages Item Pointer?

Your score is

0%