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 column in system catalogs servers as the Primary Key

2 / 20

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

3 / 20

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

4 / 20

4. What is a schema?

5 / 20

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

6 / 20

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

7 / 20

7. TOAST tables reside in a seperate schema?

8 / 20

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

9 / 20

9. What is the purpose of the template1 database?

10 / 20

10. System Catalog tables begin with which prefix?

11 / 20

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

12 / 20

12. What is the purpose of the postgres database?

13 / 20

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

14 / 20

14. Users should not modify the template0 database

15 / 20

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

16 / 20

16. What is the purpose of the public schema?

17 / 20

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

18 / 20

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

choose 2

19 / 20

19. Files are logically split into pages?

20 / 20

20. What is another name for the postgres process?

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 more locks a transaction acquires, the better it is isolated from other transactions?

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

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

5 / 10

5. A phantom read anomaly occurs when?

6 / 10

6. What is the default Isolation Level?

7 / 10

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

8 / 10

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

9 / 10

9. What is the acronym used for the attributes that ensure Data consistency, integrity and durability?

10 / 10

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

Select more than 1 answer below:

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. If a transaction is read only which kind of Transaction ID is it allocated?

2 / 10

2. Which 2 items does a Virtual XID consist of?

3 / 10

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

4 / 10

4. CLOG files are stored in which directory?

5 / 10

5. Page free space can often become fragmented?

6 / 10

6. indexes do not use row versioning?

7 / 10

7. What does an Item Pointer contain?

choose 3

8 / 10

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

9 / 10

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

10 / 10

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

Your score is

0%