Added aggregators and thread support for oracle.