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 2 default tablespaces created after initialization?

choose 2

2 / 20

2. What is the purpose of the visibility map?

3 / 20

3. When PostgreSQL is running what can it be referred to as?

Choose 2 option

4 / 20

4. What is the purpose of wal writer?

5 / 20

5. Which fork contains the actual table data?

6 / 20

6. What is the purpose of the template0 database?

7 / 20

7. The default Page size is 2k?

8 / 20

8. What is a schema?

9 / 20

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

10 / 20

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

11 / 20

11. What column in system catalogs servers as the Primary Key

12 / 20

12. What is the purpose of the public schema?

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

19. Files are logically split into pages?

20 / 20

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

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

3 / 10

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

4 / 10

4. which of the below statements will start a transaction as Read Repeatable?

5 / 10

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

6 / 10

6. The SQL standard specifies three isolation levels?

7 / 10

7. non-repeatable read anomaly occurs when?

8 / 10

8. A phantom read anomaly occurs when?

9 / 10

9. Data Consistency is best handled at the application layer rather than at the database layer?

10 / 10

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

choose 3

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. a transaction containing a savepoint is will still be considered as only a single transaction?

2 / 10

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

3 / 10

3. When a transaction is committed Postgres uses a special <replace with answer> structure?

4 / 10

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

5 / 10

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

6 / 10

6. CLOG files are stored in which directory?

7 / 10

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

8 / 10

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

9 / 10

9. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

10 / 10

10. Tuples can also be referred to as columns?

Your score is

0%