|
|
|
|
|
by Someone
3188 days ago
|
|
At best (if your users aren’t allowed to write SQL), that would change your “it is slow” calls to “it doesn’t work”. At worst, I fear your users would learn to override it by default, as just one other part of the magic incantation needed to please the SQL gods. I think it would be better to have the planner send out emails “this query has to use a full scan” or, “this query is on the brink of changing strategy compared to earlier runs” |
|
But that's exactly what I'm asking for. "It's slow" means that it will work until the breaking point and then wake me up. "It doesn't work" with the right reporting allows me to teach someone about indexing during office hours.