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 command is used to create the Postgres cluster?

2 / 20

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

choose 2

3 / 20

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

4 / 20

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

5 / 20

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

6 / 20

6. Which fork contains the actual table data?

7 / 20

7. To understand each other, a client and a server must use one and the same interfacing protocol?

8 / 20

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

9 / 20

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

Choose 2 option

10 / 20

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

11 / 20

11. System Catalog tables begin with which prefix?

12 / 20

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

13 / 20

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

14 / 20

14. What is the purpose of the visibility map?

15 / 20

15. Postgres uses a thread based process model?

16 / 20

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

17 / 20

17. What 3 files/forks as a minimum make up a table on disk?

18 / 20

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

19 / 20

19. What is the purpose of wal writer?

20 / 20

20. Which of below are predefined schemas?

choose 2

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 more locks a transaction acquires, the better it is isolated from other transactions?

2 / 10

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

choose 3

3 / 10

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

4 / 10

4. The SQL standard specifies three isolation levels?

5 / 10

5. What is the default Isolation Level?

6 / 10

6. Which parameters sets the database default isolation level?

7 / 10

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

8 / 10

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

9 / 10

9. Which of the below are valid Isolations Levels?

choose 2

10 / 10

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

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. To identify different versions of one and the same row, PostgreSQL marks each of them with which two value?

2 / 10

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

3 / 10

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

4 / 10

4. indexes do not use row versioning?

5 / 10

5. Page free space can often become fragmented?

6 / 10

6. CLOG contains how many bits for each transaction?

7 / 10

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

8 / 10

8. When a row is created, its xmin value is set to the transaction ID of which command?

9 / 10

9. If a transaction aborts, all page changes are reverted(rolled back) in place?

10 / 10

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

Your score is

0%