If I have a sql query history file, it may contain the duplicate SQL records, I need a feature that only extracts the metrics from the SQLs whose query time exceeds a threshold.
For example, if the threshold is 5, I want to extract the metrics that are queried more than(contains) 5 times.