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. Which of below are predefined schemas?

choose 3

2 / 20

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

3 / 20

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

choose 2

4 / 20

4. Postgres uses a thread based process model?

5 / 20

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

6 / 20

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

7 / 20

7. What is the purpose of wal writer?

8 / 20

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

9 / 20

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

10 / 20

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

choose 3

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

14. Which 3 databases exist directly after cluster initialization?

choose 3 options

15 / 20

15. What is another name for the postgres process?

16 / 20

16. Which fork is specific for unlogged tables?

17 / 20

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

18 / 20

18. Users should not modify the template0 database

19 / 20

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

20 / 20

20. Which fork contains the actual table data?

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. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

3 / 10

3. non-repeatable read anomaly occurs when?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. What is the default Isolation Level?

8 / 10

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

9 / 10

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

10 / 10

10. A phantom read anomaly occurs when?

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. index row headers like table row headers contain xmin and xmax fields?

2 / 10

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

3 / 10

3. Page free space can often become fragmented?

4 / 10

4. virtual IDs exist only in PGDATA/pg_vxid when not cached?

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. Rows of TOAST tables are handled in such a way that they are never update?

7 / 10

7. CLOG contains how many bits for each transaction?

8 / 10

8. Tuples can also be referred to as columns?

9 / 10

9. Information about subtransactions is stored under?

10 / 10

10. status of a subtransaction is written into CLOG?

Your score is

0%