Chris Hoover <revoohc@xxxxxxxxx> writes: > We are running a typical OLTP system with some reporting done against it. > What value would you recommend as a starting point for the work_mem. You probably want small work_mem for the transactional sessions (4Mb doesn't sound out of line, maybe even less), and then boost it up locally in the reporting sessions. Some tens of meg will probably help the reporting queries. > Also, is it safe and/or advised to leave these at these high levels? > checkpoint_segements to 256 > checkpoint_timeout to 1800 seconds (30 minutes) If you don't mind a long time to recover from a crash ... regards, tom lane