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 postgres database?

2 / 20

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

3 / 20

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

4 / 20

4. What is a schema?

5 / 20

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

6 / 20

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

7 / 20

7. What is the point of the pg_global tablespace?

8 / 20

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

9 / 20

9. The default Page size is 2k?

10 / 20

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

choose 2

11 / 20

11. System Catalog tables begin with which prefix?

12 / 20

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

13 / 20

13. Tablespaces are used to define physical data layout?

14 / 20

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

15 / 20

15. Files are logically split into pages?

16 / 20

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

17 / 20

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

choose 3

18 / 20

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

19 / 20

19. Which fork is specific for unlogged tables?

20 / 20

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

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. The SQL standard specifies three isolation levels?

2 / 10

2. non-repeatable read anomaly occurs when?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

6. A phantom read anomaly occurs when?

7 / 10

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

8 / 10

8. Which of the below are valid Isolations Levels?

choose 2

9 / 10

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

10 / 10

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

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

2 / 10

2. CLOG Pages are never cached in memory?

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 header sizes can be easily displayed using the <choose from answers> extension

5 / 10

5. Information about subtransactions is stored under?

6 / 10

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

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. Each page has a layer that usually consists of?

choose 2

9 / 10

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

10 / 10

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

Your score is

0%