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. System Catalog tables begin with which prefix?

2 / 20

2. TOAST tables reside in a seperate schema?

3 / 20

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

4 / 20

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

5 / 20

5. Which fork contains the actual table data?

6 / 20

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

7 / 20

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

8 / 20

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

9 / 20

9. Which fork keeps track of available space within pages?

10 / 20

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

11 / 20

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

choose 2

12 / 20

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

13 / 20

13. What is the purpose of wal writer?

14 / 20

14. What is the point of the pg_global tablespace?

15 / 20

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

16 / 20

16. Which fork is specific for unlogged tables?

17 / 20

17. The default Page size is 2k?

18 / 20

18. Tablespaces are used to define physical data layout?

19 / 20

19. What is the purpose of the template0 database?

20 / 20

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

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. Which of the below would best describe a dirty read?

2 / 10

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

3 / 10

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

Select more than 1 answer below:

4 / 10

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

5 / 10

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

6 / 10

6. What is the default Isolation Level?

7 / 10

7. The SQL standard specifies three isolation levels?

8 / 10

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

9 / 10

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

10 / 10

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

choose 2

2 / 10

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

3 / 10

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

4 / 10

4. If a transaction is read only which kind of Transaction ID is it allocated?

5 / 10

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

6 / 10

6. CLOG contains how many bits for each transaction?

7 / 10

7. Tuples can also be referred to as columns?

8 / 10

8. Information about subtransactions is stored under?

9 / 10

9. When a transaction is committed Postgres uses a special <replace with answer> structure?

10 / 10

10. virtual IDs exist only in PGDATA/pg_vxid when not cached?

Your score is

0%