Text this: A Bayesian Approach to Database Query Optimization.