Sample Exam Questions

From the objective of OSS-DB Exam Silver
S2.5 Basic server administration

Sample Question

2.46

Answer all the correct statements about VACUUM.

 
  1. VACUUM and ANALYZE can be run concurrently.

  2. autovacuum performs VACUUM and ANALYZE operations on all tables.

  3. By default, autovacuum is disabled.

  4. Running VACUUM on psql and using the vacuumdb command have the same effect.

※This sample exam is different from those that appear in the actual OSS-DB Exam.
2024/05/08

Answer and Explanation

VACUUM and ANALYZE can be executed concurrently, such as in 'VACUUM ANALYZE table1;'.
By default, autovacuum is enabled and will perform VACUUM and ANALYZE operations on tables in the database that have a lot of unused space.
Running VACUUM on psql and using the vacuumdb command have the same effect.

Therefore, the correct answers are A and D.