Cost-based delay for (other) maintenance operations

Started by Christophe Pettusalmost 2 years ago1 messageshackers

Thread notes

1 note#feature#moderate#enhancement
hackorum-bot#feature#moderate#enhancement
hackorum-bot
1 day ago

@global #feature #moderate #enhancement

#feature#moderate#enhancement
Jump to latest
#1Christophe Pettus
xof@thebuild.com

We've run into multiple situations recently where clients were effectively unable to run CREATE INDEX or REINDEX (CONCURRENTLY or otherwise) due to the load that they imposed on the system, mostly in I/O. I'd like to propose a cost-based delay system for maintenance operations such as these, paralleling the system for (auto)VACUUM. Before I pull together a code proposal, I wanted to preflight the idea to make sure it has not been considered and rejected already, or find out if anyone is working on it already.