In-memory database on-the-fly