Hi, On 2018-09-13 14:12:02 -0400, Tom Lane wrote: > > This is an Aurora cluster running on r4.2xlarge (8 vCPU, 61g). > > Don't know much about Aurora, but I wonder whether you paid for > guaranteed (provisioned) IOPS, and if so what service level. Given that aurora uses direct-io and has the storage layer largely completely replaced, I'm not sure how much we can help here. My understanding is that access to blocks can require page-level "log reconciliation", which can cause adverse IO patterns. The direct-IO means that cache configuration / prefetching is much more crucial. If a lot of those tuples aren't frozen (don't quite know how that works there), the clog accesses will also kill you if the table was filled over many transactions, since clog's access characteristics to a lot of xids is pretty bad with DIO. Greetings, Andres Freund