[IMP] Optimized configurarion for postgres