Data mining involves using analysis tools to discover patterns in large datasets and can help identify terrorist activities through transactions and records. While useful, data mining has limitations including that it does not determine the significance of patterns found or establish causality. It is most effective when used by skilled analysts and may have limited predictive power for terrorism given the small number of known incidents. The document discusses several US government data mining programs and their goals of detecting fraud, assessing risk, and improving programs, but they raise issues like privacy and appropriate use of data.