Re: [HACKERS] increasing the default WAL segment size

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: [HACKERS] increasing the default WAL segment size
Дата
Msg-id
20161220082847.7t3t6utvxb6m5tfe@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
Re: increasing the default WAL segment size Tom Lane <tgl@sss.pgh.pa.us>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Tom Lane <tgl@sss.pgh.pa.us>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Tom Lane <tgl@sss.pgh.pa.us>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Bruce Momjian <bruce@momjian.us>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Wolfgang Wilhelm <wolfgang20121964@yahoo.de>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Tom Lane <tgl@sss.pgh.pa.us>
Re: increasing the default WAL segment size Magnus Hagander <magnus@hagander.net>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Eduardo Morras <emorrasg@yahoo.es>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size David Rowley <david.rowley@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size David Rowley <david.rowley@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size tushar <tushar.ahuja@enterprisedb.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Prabhat Sahu <prabhat.sahu@enterprisedb.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size tushar <tushar.ahuja@enterprisedb.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Jeff Janes <jeff.janes@gmail.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] increasing the default WAL segment size "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: increasing the default WAL segment size Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: increasing the default WAL segment size Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: increasing the default WAL segment size Amit Kapila <amit.kapila16@gmail.com>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size David Steele <david@pgmasters.net>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size tushar <tushar.ahuja@enterprisedb.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: [HACKERS] increasing the default WAL segment size Beena Emerson <memissemerson@gmail.com>
Re: increasing the default WAL segment size Claudio Freire <klaussfreire@gmail.com>
Re: increasing the default WAL segment size Bruce Momjian <bruce@momjian.us>
Re: increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: increasing the default WAL segment size Stephen Frost <sfrost@snowman.net>
Re: increasing the default WAL segment size Peter Geoghegan <pg@heroku.com>
Re: increasing the default WAL segment size Simon Riggs <simon@2ndquadrant.com>
Re: increasing the default WAL segment size Bruce Momjian <bruce@momjian.us>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Amit Kapila <amit.kapila16@gmail.com>
Re: increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: increasing the default WAL segment size Amit Kapila <amit.kapila16@gmail.com>
Re: increasing the default WAL segment size Michael Paquier <michael.paquier@gmail.com>
Re: increasing the default WAL segment size Andres Freund <andres@anarazel.de>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Magnus Hagander <magnus@hagander.net>
Re: increasing the default WAL segment size Robert Haas <robertmhaas@gmail.com>
Re: increasing the default WAL segment size Claudio Freire <klaussfreire@gmail.com>
Hi,

On 2016-12-19 15:14:50 +0530, Beena Emerson wrote:
> The attached patch removes --with-wal-segsize configure option and adds a
> new initdb option --wal-segsize. The module initdb passes the wal-segsize
> value into an environment variable which is used to overwrite the guc value
> wal_ segment_size and set the internal variables : XLogSegSize and
> XLOG_SEG_SIZE (xlog_internal.h). The default wal_segment_size is not
> changed but I have increased the maximum size to 1GB.
> 
> Since  XLOG_SEG_SIZE is now variable, it could not be used directly in
> src/bin modules and few macros and few changes had to be made:

I do think this has the potential for negative performance
implications. Consider code like		/* skip over the page header */		if (CurrPos % XLogSegSize == 0)		{			CurrPos += SizeOfXLogLongPHD;			currpos += SizeOfXLogLongPHD;		}		else
right now that's doable in an efficient manner, because XLogSegSize is
constant. If it's a variable and the compiler doesn't even know it's a
power-of-two, it'll have to do a full "div" - and that's quite easily
noticeable in a lot of cases.

Now it could entirely be that the costs of this will be swamped by
everything else, but I'd not want to rely on it.

I think we need tests with concurrent large-file copies. And then also
look at the profile to see whether the relevant places become new
hotspots (not that we introduce something that's just hidden for now).


We might be able to do a bit better, efficency wise, by storing
XLogSegSize as a "shift factor". I.e. the 16M setting would be 24
(i.e. XLogSegSize would be defined as 1 << 24).

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Fabien COELHO
Дата:
FAQ