Ctac: Let's run in-memory databases smarter