I recently decided to speed things up by running four tasks (queries) in parallel, since we had enough RAM for it. So I increased the memorysize and maxmemorysize to 100G for this pool, and set plannedconcurrency and maxconcurrency to 4. I ran a test with real data and it was fine.
Last night, what seems to have happened is that by the time the fourth worker process asked for RAM, it was told there wasn't enough:
Code: Select all
ERROR 3587: Insufficient resources to execute plan on pool reallybigtableonly [Timedout waiting for resource request: Request exceeds limits: Memory(KB) Exceeded: Requested = 24903680, Free = 21233663 (Limit = 99614720, Used = 78381057) (queueing threshold)]
For what it's worth, I started reading this thread:
viewtopic.php?f=44&t=1441
but haven't had time to digest all of it.