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 2

3 / 20

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

4 / 20

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

5 / 20

5. What is the purpose of wal writer?

6 / 20

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

choose 2

7 / 20

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

8 / 20

8. What is another name for the postgres process?

9 / 20

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

10 / 20

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

11 / 20

11. Which fork contains the actual table data?

12 / 20

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

13 / 20

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

14 / 20

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

15 / 20

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

16 / 20

16. Postgres uses a thread based process model?

17 / 20

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

18 / 20

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

19 / 20

19. What is the purpose of the template1 database?

20 / 20

20. The default Page size is 2k?

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. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

3 / 10

3. What is the default Isolation Level?

4 / 10

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

5 / 10

5. Which parameters sets the database default isolation level?

6 / 10

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

7 / 10

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

8 / 10

8. The SQL standard specifies three isolation levels?

9 / 10

9. A phantom read anomaly occurs when?

10 / 10

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

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. Which of the below are true about a Pages Item Pointer?

2 / 10

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

3 / 10

3. CLOG files are stored in which directory?

4 / 10

4. The page Special Space is located at the start of the page with highest address

5 / 10

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

6 / 10

6. CLOG contains how many bits for each transaction?

7 / 10

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

8 / 10

8. a transaction containing a savepoint is will still be considered as only a single transaction?

9 / 10

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

10 / 10

10. CLOG Pages are never cached in memory?

Your score is

0%