Robert Haas wrote: > On Tue, Mar 21, 2017 at 4:10 PM, Alvaro Herrera > <alvhe...@2ndquadrant.com> wrote: > > Well, the number of work items is currently fixed; but if you have many > > BRIN indexes, then you'd overflow (lose requests). By using DSA I am > > making it easy to patch this afterwards so that an arbitrary number of > > requests can be recorded. > > But that could also use an arbitrarily large amount of memory, and any > leaks will be cluster-lifespan.
Good point -- probably not such a great idea as presented. The patch only uses a fixed amount of memory currently, so it should be fine on that front. I think this is a good enough start. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers