Storing and querying data for the Performance Platform