Re: migration to 9.6 array_accum memory issues
От | Jiri Sadek |
---|---|
Тема | Re: migration to 9.6 array_accum memory issues |
Дата | |
Msg-id | e9cc5dec-1527-38ac-4b65-fe3e576d48a9@gmail.com обсуждение исходный текст |
Ответ на | Re: migration to 9.6 array_accum memory issues (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-general |
On 27.3.2017 15:46, Tom Lane wrote: > Jiri Sadek <jiri.sadek@gmail.com> writes: >> we are in the process of migrating postgresql 9.1 to 9.6 and we >> encounter a memory issues with 9.6 - one of our procedure consumed all >> free memory (~8GB) of the testing server (and make it to swap), there >> was never such problem with 9.1. After some testing we found out that it >> is caused by user-defined aggregate array_accum (defined as in postgres >> documentation). We rewrote this procedure using built-in array_agg >> function and it seems to work better (at least it is usable). > > 9.6.what? > > I think you'll find that 9.6.2 makes this significantly better. > > https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=48a6592da > > regards, tom lane > Actually we did all the testing on 9.6.2-1.pgdg16.04+1 from http://apt.postgresql.org/pub/repos/apt/ repository. Regards Jiri
В списке pgsql-general по дате отправления: