Apply data loading optimization for local postgres for ClinicalDataProcessor