Greg Stark <st...@mit.edu> writes: > Indeed. It's simple enough to export stats to prometheus with queryid > as the key. Then even if the query ages out of the database stats you > have graphs and derivative metrics going further back.
I'm not really ready to buy into that as a supported use-case, because it immediately leads to the conclusion that we need to promise stability of query IDs across PG versions, which seems entirely infeasible to me (at least with anything like the current method of deriving them). regards, tom lane -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers