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. Each tablespaces can only be assigned for use by one database

2 / 20

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

3 / 20

3. What is the purpose of wal writer?

4 / 20

4. Which fork contains the actual table data?

5 / 20

5. What is the purpose of the template1 database?

6 / 20

6. Which 3 databases exist directly after cluster initialization?

choose 3 options

7 / 20

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

8 / 20

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

9 / 20

9. The default Page size is 2k?

10 / 20

10. Each Database has its own System Catalog?

11 / 20

11. Which of below are predefined schemas?

choose 3

12 / 20

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

13 / 20

13. What is the name of the mechanism used to store a row bigger than a page size?

14 / 20

14. If we create a new tablespace which directory will symbolic links be created from?

15 / 20

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

16 / 20

16. What is the purpose of the public schema?

17 / 20

17. Users should not modify the template0 database

18 / 20

18. Postgres uses a thread based process model?

19 / 20

19. Which of below are predefined schemas?

choose 2

20 / 20

20. TOAST tables reside in a seperate 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. Which of the below would best describe a dirty read?

2 / 10

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

3 / 10

3. What is the default Isolation Level?

4 / 10

4. Which of the below are valid Isolations Levels?

choose 2

5 / 10

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

6 / 10

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

7 / 10

7. A phantom read anomaly occurs when?

8 / 10

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

9 / 10

9. Which parameters sets the database default isolation level?

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. indexes do not use row versioning?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

6. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

7 / 10

7. status of a subtransaction is written into CLOG?

8 / 10

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

9 / 10

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

10 / 10

10. Page free space can often become fragmented?

Your score is

0%