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

2 / 20

2. Which of below are predefined schemas?

choose 3

3 / 20

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

4 / 20

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

5 / 20

5. Files are logically split into pages?

6 / 20

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

7 / 20

7. Tablespaces are used to define physical data layout?

8 / 20

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

9 / 20

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

10 / 20

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

11 / 20

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

choose 2

12 / 20

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

13 / 20

13. Which fork is specific for unlogged tables?

14 / 20

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

15 / 20

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

16 / 20

16. The default Page size is 2k?

17 / 20

17. What is the point of the pg_global tablespace?

18 / 20

18. What is the purpose of the postgres database?

19 / 20

19. What is the purpose of autovacuum?

20 / 20

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

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. What is the default Isolation Level?

2 / 10

2. The SQL standard specifies three isolation levels?

3 / 10

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

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

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

6 / 10

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

7 / 10

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

8 / 10

8. Based on Snapshot Isolation use of MVCC which of the below are permitted?

choose 3

9 / 10

9. non-repeatable read anomaly occurs when?

10 / 10

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

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. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

3 / 10

3. status of a subtransaction is written into CLOG?

4 / 10

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

5 / 10

5. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

6 / 10

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

7 / 10

7. A page along with its tuples is read into the buffer cache with compression transformations to enhance cache efficiency?

8 / 10

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

9 / 10

9. In Postgres, tables are often referred to as which of the below?

10 / 10

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

Your score is

0%