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. Files are logically split into pages?

2 / 20

2. Postgres uses a thread based process model?

3 / 20

3. Tablespaces are used to define physical data layout?

4 / 20

4. What is the purpose of the postgres database?

5 / 20

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

6 / 20

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

7 / 20

7. What is the purpose of the template1 database?

8 / 20

8. What is a schema?

9 / 20

9. What is the purpose of wal writer?

10 / 20

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

11 / 20

11. System Catalog tables begin with which prefix?

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

15. What is the point of the pg_global tablespace?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

19. Users should not modify the template0 database

20 / 20

20. Tablespaces can be used to segregate data based on performance needs?

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. A phantom read anomaly occurs when?

3 / 10

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

4 / 10

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

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. Snapshot isolation is preferred but increases the number of required locks?

7 / 10

7. non-repeatable read anomaly occurs when?

8 / 10

8. What is the default Isolation Level?

9 / 10

9. The SQL standard specifies three isolation levels?

10 / 10

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

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. UPDATE can be regarded as which 2 separate operations?

2 / 10

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

3 / 10

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

4 / 10

4. Postgres table physical data files are always cross compatible across platforms?

5 / 10

5. Tuples can also be referred to as columns?

6 / 10

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

7 / 10

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

8 / 10

8. If a transaction aborts, all page changes are reverted(rolled back) in place?

9 / 10

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

10 / 10

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

Your score is

0%