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. If we create a new tablespace which directory will symbolic links be created from?

2 / 20

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

3 / 20

3. Which of below are predefined schemas?

choose 2

4 / 20

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

choose 2

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

9. What is the purpose of autovacuum?

10 / 20

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

11 / 20

11. Which fork is specific for unlogged tables?

12 / 20

12. What is a schema?

13 / 20

13. What is the purpose of the visibility map?

14 / 20

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

15 / 20

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

16 / 20

16. What is another name for the postgres process?

17 / 20

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

18 / 20

18. Each Database has its own System Catalog?

19 / 20

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

20 / 20

20. What is the purpose of wal writer?

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 statements will start a transaction as Read Repeatable?

2 / 10

2. Which parameters sets the database default isolation level?

3 / 10

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

4 / 10

4. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

5 / 10

5. What is the default Isolation Level?

6 / 10

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

7 / 10

7. A phantom read anomaly occurs when?

8 / 10

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

9 / 10

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

10 / 10

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

choose 3

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. Page free space can often become fragmented?

2 / 10

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

3 / 10

3. Information about subtransactions is stored under?

4 / 10

4. CLOG contains how many bits for each transaction?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Which 2 of the below represent transaction IDs used for row versioning?

9 / 10

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

10 / 10

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

Your score is

0%