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 a schema?

2 / 20

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

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

6. What is the purpose of wal writer?

7 / 20

7. When PostgreSQL is running what can it be referred to as?

Choose 2 option

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. What is the purpose of the template0 database?

12 / 20

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

13 / 20

13. The default Page size is 2k?

14 / 20

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

15 / 20

15. System Catalog tables begin with which prefix?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

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

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

2 / 10

2. The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

4. A phantom read anomaly occurs when?

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

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

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

choose 3

9 / 10

9. Data Consistency is best handled at the application layer rather than at the database layer?

10 / 10

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

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 of the below represent transaction IDs used for row versioning?

2 / 10

2. psql provides a special mode that allows you to continue a transaction after a failure?

3 / 10

3. What does an Item Pointer contain?

choose 3

4 / 10

4. Which of the below are true about a Pages Item Pointer?

5 / 10

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

6 / 10

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

7 / 10

7. Each page has a layer that usually consists of?

choose 2

8 / 10

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

9 / 10

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

10 / 10

10. status of a subtransaction is written into CLOG?

Your score is

0%