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. What is the name of the catalog that stores metadata for all cluster objects?

2 / 20

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

3 / 20

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

4 / 20

4. What is the point of the pg_global tablespace?

5 / 20

5. What is the purpose of the visibility map?

6 / 20

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

7 / 20

7. The default Page size is 2k?

8 / 20

8. What is the purpose of the public schema?

9 / 20

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

10 / 20

10. What is another name for the postgres process?

11 / 20

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

choose 2

12 / 20

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

13 / 20

13. A schema can belong to more than one database?

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

17. System Catalog tables begin with which prefix?

18 / 20

18. What is the purpose of wal writer?

19 / 20

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

20 / 20

20. What is the purpose of autovacuum?

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. Lost updates are forbidden by the standard at all isolation levels?

2 / 10

2. Which of the below are valid Isolations Levels?

choose 2

3 / 10

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

4 / 10

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

5 / 10

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

choose 3

6 / 10

6. A phantom read anomaly occurs when?

7 / 10

7. What is the default Isolation Level?

8 / 10

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

9 / 10

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

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. Each page has a layer that usually consists of?

choose 2

2 / 10

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

3 / 10

3. If a transaction aborts, all page changes are reverted(rolled back) in place?

4 / 10

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

5 / 10

5. Rows of TOAST tables are handled in such a way that they are never update?

6 / 10

6. If a transaction is read only which kind of Transaction ID is it allocated?

7 / 10

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

8 / 10

8. What does an Item Pointer contain?

choose 3

9 / 10

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

10 / 10

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

Your score is

0%