It stores the history of both command and filter record every time user queries.