I have a PostgreSQL RDS instance that runs simple queries, much slower than I expected - in particular, sequential checks such as copying a table or counting a table.
Eg. create table copied_table as (select * from original_table) or select count(*) from some_table
Running count(*) in a 30 GB table takes ~ 15 minutes (with indexes, immediately after vaccination).
This is RDS db.r3.large, 15 GB of memory, 400 GB of SSD. Watching the performance logs, I have never seen. Read IOPS exceeds 1,400, and usually around 500, well below my expected base.
Configuration: work_mem: 2GB, shared_buffers: 3 GB, effective_cache_size: 8 GB wal_buffers: 16 MB, checkpoint_segments: 16
Is this the expected deadline? Should I see higher IOPS?
postgresql amazon-web-services rds
jastr
source share