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 name of the 2 default tablespaces created after initialization?

choose 2

2 / 20

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

3 / 20

3. What is the purpose of the template0 database?

4 / 20

4. How does Postgres know which schema to use if not specified?

5 / 20

5. Tablespaces can be used to segregate data based on performance needs?

6 / 20

6. What is the purpose of autovacuum?

7 / 20

7. Each Database has its own System Catalog?

8 / 20

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

9 / 20

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

10 / 20

10. What is the purpose of the visibility map?

11 / 20

11. Users should not modify the template0 database

12 / 20

12. What is the purpose of the postgres database?

13 / 20

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

14 / 20

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

15 / 20

15. A single Postgres Instance can server only one database?

16 / 20

16. What is the purpose of the public schema?

17 / 20

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

18 / 20

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

19 / 20

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

20 / 20

20. Files are logically split into pages?

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. A phantom read anomaly occurs when?

3 / 10

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

4 / 10

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

5 / 10

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

6 / 10

6. What is the default Isolation Level?

7 / 10

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

Select more than 1 answer below:

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

10. Which parameters sets the database default isolation level?

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. Postgres table physical data files are always cross compatible across platforms?

2 / 10

2. Information about subtransactions is stored under?

3 / 10

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

4 / 10

4. CLOG Pages are never cached in memory?

5 / 10

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

6 / 10

6. Tuples can also be referred to as columns?

7 / 10

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

8 / 10

8. What does an Item Pointer contain?

choose 3

9 / 10

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

10 / 10

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

Your score is

0%