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. The default Page size is 2k?

2 / 20

2. Each Database has its own System Catalog?

3 / 20

3. What is the name of the catalog that stores metadata for all cluster objects?

4 / 20

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

5 / 20

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

6 / 20

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

7 / 20

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

choose 3

8 / 20

8. What is the purpose of wal writer?

9 / 20

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

10 / 20

10. Which 3 databases exist directly after cluster initialization?

choose 3 options

11 / 20

11. What is the purpose of the template0 database?

12 / 20

12. Which of below are predefined schemas?

choose 2

13 / 20

13. What is the purpose of the visibility map?

14 / 20

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

15 / 20

15. TOAST tables reside in a seperate schema?

16 / 20

16. What is another name for the postgres process?

17 / 20

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

18 / 20

18. A Postgres cluster consists of 2 or more physical servers accessing one Postgres Instance?

19 / 20

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

20 / 20

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

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

3 / 10

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

4 / 10

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

5 / 10

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

Select more than 1 answer below:

6 / 10

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

7 / 10

7. The SQL standard specifies three isolation levels?

8 / 10

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

9 / 10

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

choose 3

10 / 10

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

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 page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

5. at any one time Postgres can have several versions of a row?

6 / 10

6. CLOG files are stored in which directory?

7 / 10

7. Information about subtransactions is stored under?

8 / 10

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

9 / 10

9. Page free space can often become fragmented?

10 / 10

10. What does an Item Pointer contain?

choose 3

Your score is

0%