On 2020-Jul-09, Michel Pelletier wrote: > I restored a snapshot and I can drop the tables there, so we'll likely > proceed to swap the replicas over tomorrow. I have this corrupted > instance i can continue to debug on if necessary. There seem to be some > other issues now that we're investigating, like a max(timestamp) query on > the old instance is doing a seqscan on all the partitions instead of using > an index that's there, the new instance from the snapshot correctly uses > the index, so I suspect further corruption. This being RDS makes it very difficult to debug. For example I would suggest a debugger to find the problem, but you don't have access to that. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services