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. The default Page size is 2k?

2 / 20

2. Which fork is specific for unlogged tables?

3 / 20

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

4 / 20

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

5 / 20

5. Postgres uses a thread based process model?

6 / 20

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

7 / 20

7. What is the purpose of the postgres database?

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. Each Database has its own System Catalog?

12 / 20

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

13 / 20

13. System Catalog tables begin with which prefix?

14 / 20

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

15 / 20

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

16 / 20

16. What is the purpose of the template0 database?

17 / 20

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

18 / 20

18. Files are logically split into pages?

19 / 20

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

20 / 20

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

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 isolation level in theory could mean an application does not have to consider isolation anomalies?

2 / 10

2. A phantom read anomaly occurs when?

3 / 10

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

4 / 10

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

5 / 10

5. The SQL standard specifies three isolation levels?

6 / 10

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

7 / 10

7. Which parameters sets the database default isolation level?

8 / 10

8. Which of the below are valid Isolations Levels?

choose 2

9 / 10

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

choose 3

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. What does an Item Pointer contain?

choose 3

2 / 10

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

3 / 10

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

4 / 10

4. psql provides a special mode that allows you to continue a transaction after a failure?

5 / 10

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

choose 2

6 / 10

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

7 / 10

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

8 / 10

8. Tuples can also be referred to as columns?

9 / 10

9. indexes do not use row versioning?

10 / 10

10. at any one time Postgres can have several versions of a row?

Your score is

0%