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. What is the purpose of the postgres database?

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

7. Which fork is specific for unlogged tables?

8 / 20

8. System Catalog tables begin with which prefix?

9 / 20

9. Which fork contains the actual table data?

10 / 20

10. What is another name for the postgres process?

11 / 20

11. What is the name of the directory that contains the files related to the Postgres cluster?

12 / 20

12. Files are logically split into pages?

13 / 20

13. What is the point of the pg_global tablespace?

14 / 20

14. Who is the Author of the Postgres 14 Internals book?

15 / 20

15. A single Postgres Instance can server only one database?

16 / 20

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

17 / 20

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

18 / 20

18. TOAST tables reside in a seperate schema?

19 / 20

19. The default Page size is 2k?

20 / 20

20. What is the purpose of the public schema?

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

4 / 10

4. Which of the below are valid Isolations Levels?

choose 2

5 / 10

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

6 / 10

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

choose 3

7 / 10

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

8 / 10

8. A phantom read anomaly occurs when?

9 / 10

9. What is the default Isolation Level?

10 / 10

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

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. index row headers like table row headers contain xmin and xmax fields?

3 / 10

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

4 / 10

4. Which of the below are true about a Pages Item Pointer?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

10. CLOG contains how many bits for each transaction?

Your score is

0%