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. The default Page size is 2k?

2 / 20

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

3 / 20

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

4 / 20

4. System Catalog tables begin with which prefix?

5 / 20

5. What is the purpose of wal writer?

6 / 20

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

choose 2

7 / 20

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

8 / 20

8. What is the purpose of the template1 database?

9 / 20

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

10 / 20

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

11 / 20

11. Postgres by default has built in connection pooling abilities?

12 / 20

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

13 / 20

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

choose 3

14 / 20

14. What is a schema?

15 / 20

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

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

19. Users should not modify the template0 database

20 / 20

20. What is the purpose of the postgres 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. Data Consistency is best handled at the application layer rather than at the database layer?

2 / 10

2. The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

4. non-repeatable read anomaly occurs when?

5 / 10

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

choose 3

6 / 10

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

7 / 10

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

8 / 10

8. Which parameters sets the database default isolation level?

9 / 10

9. A phantom read anomaly occurs when?

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. In Postgres, tables are often referred to as which of the below?

2 / 10

2. CLOG contains how many bits for each transaction?

3 / 10

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

4 / 10

4. When a row is created, its xmin value is set to the transaction ID of which command?

5 / 10

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

6 / 10

6. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

7 / 10

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

8 / 10

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

9 / 10

9. The page Special Space is located at the start of the page with highest address

10 / 10

10. When a transaction is committed Postgres uses a special <replace with answer> structure?

Your score is

0%