An event store which populates a hybrid relational and document-based database