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. Postgres uses a thread based process model?

2 / 20

2. Which of below are predefined schemas?

choose 3

3 / 20

3. Which fork contains the actual table data?

4 / 20

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

5 / 20

5. Users should not modify the template0 database

6 / 20

6. What is the purpose of the public schema?

7 / 20

7. What is the purpose of wal writer?

8 / 20

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

9 / 20

9. What is another name for the postgres process?

10 / 20

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

11 / 20

11. What is the purpose of the postgres database?

12 / 20

12. Files are logically split into pages?

13 / 20

13. The default Page size is 2k?

14 / 20

14. What is the name of the system catalog table for relations?

15 / 20

15. System Catalog tables begin with which prefix?

16 / 20

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

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

20. Which fork is specific for unlogged 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 of the below would best describe a dirty read?

3 / 10

3. The SQL standard specifies three isolation levels?

4 / 10

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

5 / 10

5. non-repeatable read anomaly occurs when?

6 / 10

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

7 / 10

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

8 / 10

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

9 / 10

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

10 / 10

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

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. virtual IDs exist only in PGDATA/pg_vxid when not cached?

2 / 10

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

3 / 10

3. Postgres table physical data files are always cross compatible across platforms?

4 / 10

4. Which 2 of the below represent transaction IDs used for row versioning?

5 / 10

5. CLOG files are stored in which directory?

6 / 10

6. Tuples can also be referred to as columns?

7 / 10

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

8 / 10

8. indexes do not use row versioning?

9 / 10

9. Which of the below are true about a Pages Item Pointer?

10 / 10

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

Your score is

0%