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 purpose of the template0 database?

2 / 20

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

3 / 20

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

4 / 20

4. Tablespaces can be used to segregate data based on performance needs?

5 / 20

5. Tablespaces are used to define physical data layout?

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

11. Which of below are predefined schemas?

choose 2

12 / 20

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

13 / 20

13. Which fork contains the actual table data?

14 / 20

14. Which 3 databases exist directly after cluster initialization?

choose 3 options

15 / 20

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

16 / 20

16. Files are logically split into pages?

17 / 20

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

18 / 20

18. What is the point of the pg_global tablespace?

19 / 20

19. The default Page size is 2k?

20 / 20

20. What is the purpose of wal writer?

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. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

6. What is the default Isolation Level?

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

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

10 / 10

10. non-repeatable read anomaly occurs when?

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. status of a subtransaction is written into CLOG?

3 / 10

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

4 / 10

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

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. Postgres table physical data files are always cross compatible across platforms?

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

10. Information about subtransactions is stored under?

Your score is

0%