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. TOAST tables reside in a seperate schema?

2 / 20

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

3 / 20

3. The information_schema schema provides information on Postgres release notes?

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

8 / 20

8. Which 3 databases exist directly after cluster initialization?

choose 3 options

9 / 20

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

10 / 20

10. What is the purpose of the visibility map?

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

14. What is the purpose of the postgres database?

15 / 20

15. The default Page size is 2k?

16 / 20

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

17 / 20

17. What is the purpose of autovacuum?

18 / 20

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

19 / 20

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

20 / 20

20. Each Database has its own System Catalog?

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 of the below would best describe a dirty read?

3 / 10

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

4 / 10

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

choose 3

5 / 10

5. The SQL standard specifies three isolation levels?

6 / 10

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

7 / 10

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

8 / 10

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

Select more than 1 answer below:

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

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

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. UPDATE can be regarded as which 2 separate operations?

3 / 10

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

4 / 10

4. If a transaction aborts, all page changes are reverted(rolled back) in place?

5 / 10

5. Page header sizes can be easily displayed using the <choose from answers> extension

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

9. Page free space can often become fragmented?

10 / 10

10. index row headers like table row headers contain xmin and xmax fields?

Your score is

0%