DB API for eventmap