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 a schema?

2 / 20

2. What is the name of the 2 default tablespaces created after initialization?

choose 2

3 / 20

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

4 / 20

4. Which fork contains the actual table data?

5 / 20

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

6 / 20

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

7 / 20

7. Which of the below objects can be referred to as relations?

choose 3

8 / 20

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

9 / 20

9. Which fork is specific for unlogged tables?

10 / 20

10. TOAST tables reside in a seperate schema?

11 / 20

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

12 / 20

12. What is the purpose of the visibility map?

13 / 20

13. What is the point of the pg_global tablespace?

14 / 20

14. Which of below are predefined schemas?

choose 3

15 / 20

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

16 / 20

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

17 / 20

17. Files are logically split into pages?

18 / 20

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

19 / 20

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

Choose 2 option

20 / 20

20. What is the purpose of the template0 database?

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. A phantom read anomaly occurs when?

2 / 10

2. The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

4. What is the default Isolation Level?

5 / 10

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

choose 3

6 / 10

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

7 / 10

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

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. At any moment the database system can contain several versions of one and the same row?

10 / 10

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

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 of the below are true about a Pages Item Pointer?

2 / 10

2. Rows of TOAST tables are handled in such a way that they are never update?

3 / 10

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

4 / 10

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

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. The page header is located in the highest address?

7 / 10

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

8 / 10

8. Information about subtransactions is stored under?

9 / 10

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

10 / 10

10. CLOG Pages are never cached in memory?

Your score is

0%