History page actually fetches data from one of the view from Information_schema i.e. Query_History based on the filters applied.