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 purpose of the visibility map?

2 / 20

2. What is a schema?

3 / 20

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

4 / 20

4. What is another name for the postgres process?

5 / 20

5. The default Page size is 2k?

6 / 20

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

7 / 20

7. Tablespaces are used to define physical data layout?

8 / 20

8. Postgres uses a thread based process model?

9 / 20

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

10 / 20

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

11 / 20

11. What is the purpose of the postgres database?

12 / 20

12. What is the point of the pg_global tablespace?

13 / 20

13. Which fork contains the actual table data?

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

17. Which fork is specific for unlogged tables?

18 / 20

18. System Catalog tables begin with which prefix?

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 the template1 database?

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. non-repeatable read anomaly occurs when?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

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

choose 3

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

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

10 / 10

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

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 function can we use to find the current transaction ID?

2 / 10

2. Tuples can also be referred to as columns?

3 / 10

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

4 / 10

4. CLOG files are stored in which directory?

5 / 10

5. indexes do not use row versioning?

6 / 10

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

7 / 10

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

8 / 10

8. Page free space can often become fragmented?

9 / 10

9. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

10 / 10

10. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

Your score is

0%