Bao Tutorial

In this tutorial, we'll set up Bao with PostgreSQL, load the IMDB dataset, and then execute a small sample workload with and without Bao to see the difference. Then, we'll look at how Bao's exploratory mode can be used to prevent query regressions. Finally, we will look at how Bao can be used as a query advisor.

  1. Setup PostgreSQL with an example DB and the Bao extension
  2. Start the Bao server
  3. Run an example workload, and compare performance with PostgreSQL's optimizer
  4. Use exploration mode to eliminate query regressions
  5. Use Bao as an advisor
  6. Notes about this tutorial