1. A system comprising: at least one processor; a non-transitory computer-readable medium storing instructions, when executed by the at least one processor, are configured to implement: a troubleshooting activity recorder configured to record troubleshooting sessions, each troubleshooting session including a sequence of queries and query results, the troubleshooting activity recorder including a query transformer configured to transform the queries and the query results into transformed queries and transformed query results before recording the troubleshooting sessions, the transformed queries including a templatized version of the queries, the transformed query results including normalized query results, wherein the troubleshooting activity recorder is configured to record the transformed queries and the transformed query results as troubleshooting session information in a troubleshooting activity database; and a troubleshooting pattern learning unit including a graph builder configured to generate a troubleshooting pattern graph having query nodes and links between the query nodes based on the troubleshooting session information.