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. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

2 / 20

2. TOAST tables reside in a seperate schema?

3 / 20

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

4 / 20

4. A schema can belong to more than one database?

5 / 20

5. What is the purpose of autovacuum?

6 / 20

6. Each Database has its own System Catalog?

7 / 20

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

8 / 20

8. Which of below are predefined schemas?

choose 3

9 / 20

9. What is the purpose of wal writer?

10 / 20

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

11 / 20

11. What is the purpose of the visibility map?

12 / 20

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

13 / 20

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

14 / 20

14. What is another name for the postgres process?

15 / 20

15. Which of below are predefined schemas?

choose 2

16 / 20

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

17 / 20

17. What is the purpose of the postgres database?

18 / 20

18. Files are logically split into pages?

19 / 20

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

20 / 20

20. The default Page size is 2k?

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

2 / 10

2. Which parameters sets the database default isolation level?

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

7. A phantom read anomaly occurs when?

8 / 10

8. What is the default Isolation Level?

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

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

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. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. a transaction containing a savepoint is will still be considered as only a single transaction?

9 / 10

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

10 / 10

10. CLOG contains how many bits for each transaction?

Your score is

0%