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. Tablespaces are used to define physical data layout?

2 / 20

2. What is the purpose of the template1 database?

3 / 20

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

4 / 20

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

choose 2

5 / 20

5. What is a schema?

6 / 20

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

7 / 20

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

8 / 20

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

choose 3

9 / 20

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

10 / 20

10. The default Page size is 2k?

11 / 20

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

12 / 20

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

13 / 20

13. What is another name for the postgres process?

14 / 20

14. The information_schema schema provides information on Postgres release notes?

15 / 20

15. Each Database has its own System Catalog?

16 / 20

16. What is the purpose of the public schema?

17 / 20

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

Choose 2 option

18 / 20

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

19 / 20

19. Files are logically split into pages?

20 / 20

20. Which 3 databases exist directly after cluster initialization?

choose 3 options

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. At any moment the database system can contain several versions of one and the same row?

2 / 10

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

3 / 10

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

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

6. The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

8. What is the default Isolation Level?

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

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

choose 3

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. virtual IDs exist only in PGDATA/pg_vxid when not cached?

2 / 10

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

3 / 10

3. CLOG Pages are never cached in memory?

4 / 10

4. Page free space can often become fragmented?

5 / 10

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

6 / 10

6. Which 2 of the below represent transaction IDs used for row versioning?

7 / 10

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

8 / 10

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

choose 2

9 / 10

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

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%