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. Tablespaces are used to define physical data layout?

2 / 20

2. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

3 / 20

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

4 / 20

4. What is the purpose of wal writer?

5 / 20

5. Which of the below objects can be referred to as relations?

choose 3

6 / 20

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

7 / 20

7. System Catalog tables begin with which prefix?

8 / 20

8. TOAST tables reside in a seperate schema?

9 / 20

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

10 / 20

10. What is the purpose of autovacuum?

11 / 20

11. What is the point of the pg_global tablespace?

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

15. Which of below are predefined schemas?

choose 3

16 / 20

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

17 / 20

17. Each Database has its own System Catalog?

18 / 20

18. Users should not modify the template0 database

19 / 20

19. To understand each other, a client and a server must use one and the same interfacing protocol?

20 / 20

20. Which of below are predefined schemas?

choose 2

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 are valid Isolations Levels?

choose 2

2 / 10

2. Snapshot isolation is preferred but increases the number of required locks?

3 / 10

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

choose 3

4 / 10

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

5 / 10

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

6 / 10

6. The SQL standard specifies three isolation levels?

7 / 10

7. A phantom read anomaly occurs when?

8 / 10

8. non-repeatable read anomaly occurs when?

9 / 10

9. Which parameters sets the database default isolation level?

10 / 10

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

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. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

2 / 10

2. status of a subtransaction is written into CLOG?

3 / 10

3. CLOG contains how many bits for each transaction?

4 / 10

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

5 / 10

5. The page header is located in the highest address?

6 / 10

6. Information about subtransactions is stored under?

7 / 10

7. CLOG Pages are never cached in memory?

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%