Use memory database for events