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. Which of below are predefined schemas?

choose 3

2 / 20

2. Which fork contains the actual table data?

3 / 20

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

4 / 20

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

5 / 20

5. What column in system catalogs servers as the Primary Key

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

9. What is the process first launched at server start?

10 / 20

10. Each tablespaces can only be assigned for use by one database

11 / 20

11. Each Database has its own System Catalog?

12 / 20

12. What command is used to create the Postgres cluster?

13 / 20

13. System Catalog tables begin with which prefix?

14 / 20

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

15 / 20

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

16 / 20

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

17 / 20

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

18 / 20

18. The default Page size is 2k?

19 / 20

19. What is the purpose of the template1 database?

20 / 20

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

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

choose 3

2 / 10

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

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

6. The SQL standard specifies three isolation levels?

7 / 10

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

8 / 10

8. Which parameters sets the database default isolation level?

9 / 10

9. non-repeatable read anomaly occurs when?

10 / 10

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

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 values also support multi versioning with several versions of an index value existing at any point in time?

2 / 10

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

3 / 10

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

4 / 10

4. Page free space can often become fragmented?

5 / 10

5. What does an Item Pointer contain?

choose 3

6 / 10

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

7 / 10

7. The page header is located in the highest address?

8 / 10

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

9 / 10

9. Which 2 items does a Virtual XID consist of?

10 / 10

10. Tuples can also be referred to as columns?

Your score is

0%