An Optimizer for DBToaster Project