Re: Further pg_upgrade analysis for many tables

Поиск
Список
Период
Сортировка
От Ants Aasma
Тема Re: Further pg_upgrade analysis for many tables
Дата
Msg-id CA+CSw_s=u5NFrhyWxvGpX2yw=d-kGQdXGSDBXMpZpb=se4ENFw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Further pg_upgrade analysis for many tables  (Ants Aasma <ants@cybertec.at>)
Ответы Re: Further pg_upgrade analysis for many tables  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Fri, Nov 9, 2012 at 7:53 AM, Ants Aasma <ants@cybertec.at> wrote:
> I also took two profiles (attached). AtEOXact_RelationCache seems to
> be the culprit for the quadratic growth.

One more thing that jumps out as quadratic from the profiles is
transfer_all_new_dbs from pg_upgrade (20% of total CPU time at 64k).
Searching for non-primary files loops over the whole file list for
each relation. This would be a lot faster if we would sort the file
list first and use binary search to find the related files.

Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [BUGS] BUG #7534: walreceiver takes long time to detect n/w breakdown
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Proof of concept: auto updatable views [Review of Patch]