Database Processing for Large-Scale Analytics