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. How does Postgres know which schema to use if not specified?

2 / 20

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

3 / 20

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

4 / 20

4. What column in system catalogs servers as the Primary Key

5 / 20

5. What is the purpose of the template0 database?

6 / 20

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

7 / 20

7. What is the purpose of autovacuum?

8 / 20

8. Postgres uses a thread based process model?

9 / 20

9. Which of below are predefined schemas?

choose 2

10 / 20

10. What command is used to create the Postgres cluster?

11 / 20

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

12 / 20

12. To be able to restore data consistency, Postgres maintains

13 / 20

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

14 / 20

14. Files are logically split into pages?

15 / 20

15. What is the point of the pg_global tablespace?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

20. How many rows in a page does Postgres aim to have before considering TOAST?

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 more locks a transaction acquires, the better it is isolated from other transactions?

2 / 10

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

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

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

6 / 10

6. non-repeatable read anomaly occurs when?

7 / 10

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

choose 3

8 / 10

8. Which of the below are valid Isolations Levels?

choose 2

9 / 10

9. Which parameters sets the database default isolation level?

10 / 10

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

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 2 items does a Virtual XID consist of?

2 / 10

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

3 / 10

3. What does an Item Pointer contain?

choose 3

4 / 10

4. Each page has a layer that usually consists of?

choose 2

5 / 10

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

6 / 10

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

7 / 10

7. indexes do not use row versioning?

8 / 10

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

9 / 10

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

10 / 10

10. Which function can we use to find the current transaction ID?

Your score is

0%