News for hackers. Stuff that matters.
Re:A Hairy PostgreSQL Incident by tanelpoder on Friday February 11, 2022 @02:20AM (#30298113)
Yep, when the app code and the schema/partitioning/index design works _with_ the database as intended, not _against_ the database engine’s intended use, a whole class of SQL performance and plan stability problems tends to go away.

Yep, agreed, hints should be temporary workarounds (or just experimentation aid when developing/testing SQL performance to validate some hypothesis). But many of these temporary workarounds end up being permanent temporary workarounds :-) That’s why Oracle now has hints and parameters to make the optimizer ignore all other hints in the SQL code :-)

Re:A Hairy PostgreSQL Incident by smackeyacky on Friday February 11, 2022 @05:18AM (#30299599)
Working out which hints are operating must be difficult.