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. What is the purpose of the template1 database?

3 / 20

3. Postgres uses a thread based process model?

4 / 20

4. What is a schema?

5 / 20

5. What is the name of the catalog that stores metadata for all cluster objects?

6 / 20

6. Each Database has its own System Catalog?

7 / 20

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

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

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

12 / 20

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

13 / 20

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

14 / 20

14. What is the purpose of wal writer?

15 / 20

15. System Catalog tables begin with which prefix?

16 / 20

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

17 / 20

17. When PostgreSQL is running what can it be referred to as?

Choose 2 option

18 / 20

18. TOAST tables reside in a seperate schema?

19 / 20

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

20 / 20

20. Tablespaces are used to define physical data layout?

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 isolation level in theory could mean an application does not have to consider isolation anomalies?

2 / 10

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

3 / 10

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

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

5. What is the default Isolation Level?

6 / 10

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

Select more than 1 answer below:

7 / 10

7. A phantom read anomaly occurs when?

8 / 10

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

9 / 10

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

10 / 10

10. Which of the below are valid Isolations Levels?

choose 2

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

2 / 10

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

3 / 10

3. CLOG Pages are never cached in memory?

4 / 10

4. UPDATE can be regarded as which 2 separate operations?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Which function can we use to find the current transaction ID?

9 / 10

9. CLOG contains how many bits for each transaction?

10 / 10

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

Your score is

0%