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. It is the postmasters job to listener for incoming connections?

2 / 20

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

3 / 20

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

4 / 20

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

5 / 20

5. What is the purpose of autovacuum?

6 / 20

6. Which of below are predefined schemas?

choose 2

7 / 20

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

8 / 20

8. What is the point of the pg_global tablespace?

9 / 20

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

10 / 20

10. If we create a new tablespace which directory will symbolic links be created from?

11 / 20

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

12 / 20

12. Files are logically split into pages?

13 / 20

13. Which of below are predefined schemas?

choose 3

14 / 20

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

Choose 2 option

15 / 20

15. Which 3 databases exist directly after cluster initialization?

choose 3 options

16 / 20

16. What is the purpose of the public schema?

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

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

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 is the default Isolation Level?

2 / 10

2. non-repeatable read anomaly occurs when?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. The SQL standard specifies three isolation levels?

8 / 10

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

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

10. Which of the below would best describe a dirty read?

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. Which of the below are true about a Pages Item Pointer?

2 / 10

2. What does an Item Pointer contain?

choose 3

3 / 10

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

4 / 10

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

5 / 10

5. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

6 / 10

6. status of a subtransaction is written into CLOG?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%