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 the name of the mechanism used to store a row bigger than a page size?

2 / 20

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

3 / 20

3. Which fork is specific for unlogged tables?

4 / 20

4. What is the purpose of autovacuum?

5 / 20

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

6 / 20

6. What is the process first launched at server start?

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

10. What is the purpose of wal writer?

11 / 20

11. Users should not modify the template0 database

12 / 20

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

13 / 20

13. How does Postgres know which schema to use if not specified?

14 / 20

14. The default Page size is 2k?

15 / 20

15. What is the purpose of the visibility map?

16 / 20

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

17 / 20

17. What is another name for the postgres process?

18 / 20

18. System Catalog tables begin with which prefix?

19 / 20

19. What is the purpose of the template0 database?

20 / 20

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

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. Which parameters sets the database default isolation level?

2 / 10

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

3 / 10

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

4 / 10

4. The SQL standard specifies three isolation levels?

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. Lost updates are forbidden by the standard at all isolation levels?

7 / 10

7. non-repeatable read anomaly occurs when?

8 / 10

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

9 / 10

9. At any moment the database system can contain several versions of one and the same row?

10 / 10

10. What is the default Isolation Level?

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. CLOG contains how many bits for each transaction?

2 / 10

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

3 / 10

3. Which function can we use to find the current transaction ID?

4 / 10

4. The page header stores checksum and the sizes of the other parts of the page?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. Information about subtransactions is stored under?

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%