Code to benchmark teradata