In-memory versus in-database analytics