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. What is the name of the directory that contains the files related to the Postgres cluster?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

7. What is a schema?

8 / 20

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

9 / 20

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

10 / 20

10. What is the purpose of the public schema?

11 / 20

11. What is the purpose of the template1 database?

12 / 20

12. What is the purpose of the visibility map?

13 / 20

13. What is the purpose of the postgres database?

14 / 20

14. A single Postgres Instance can server only one database?

15 / 20

15. Postgres server spawns a new backend session for each connection?

16 / 20

16. Who is the Author of the Postgres 14 Internals book?

17 / 20

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

18 / 20

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

19 / 20

19. System Catalog tables begin with which prefix?

20 / 20

20. What is the purpose of autovacuum?

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. What is the default Isolation Level?

2 / 10

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

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

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

Select more than 1 answer below:

6 / 10

6. Which of the below are valid Isolations Levels?

choose 2

7 / 10

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

choose 3

8 / 10

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

9 / 10

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

10 / 10

10. The SQL standard specifies three 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 2 items does a Virtual XID consist of?

2 / 10

2. CLOG Pages are never cached in memory?

3 / 10

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

4 / 10

4. status of a subtransaction is written into CLOG?

5 / 10

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

6 / 10

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

7 / 10

7. indexes do not use row versioning?

8 / 10

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

9 / 10

9. CLOG files are stored in which directory?

10 / 10

10. What does an Item Pointer contain?

choose 3

Your score is

0%