Move some gantt prediction related data from DB to cache system (like memcached or redis) OR Put the volatile gantt tables in /dev/shm for example DROP TABLESPACE IF EXISTS oarramts; CREATE TABLESPACE oarramts LOCATION '/dev/shm/oar'; CREATE UNLOGGED TABLE foo(i int) TABLESPACE oarramts;