Re: WIP: splitting BLCKSZ
От | Mark Wong |
---|---|
Тема | Re: WIP: splitting BLCKSZ |
Дата | |
Msg-id | 200603231925.k2NJPmDZ012393@smtp.osdl.org обсуждение исходный текст |
Ответ на | Re: WIP: splitting BLCKSZ (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: WIP: splitting BLCKSZ
|
Список | pgsql-patches |
On Wed, 22 Mar 2006 14:19:48 -0500 Tom Lane <tgl@sss.pgh.pa.us> wrote: > Mark Wong <markw@osdl.org> writes: > > I proposed to explore splitting BLCKSZ into separate values for logging > > and data to see if there might be anything to gain: > > http://archives.postgresql.org/pgsql-hackers/2006-03/msg00745.php > > My first pass was to do more or less a search and replace (attached) and > > I am already running into trouble with a 'make check' (below). I'm > > guessing that when initdb is run, I'm not properly saving the values > > that I've defined for DATA_BLCKSZ and possibly LOG_BLCKSZ. > > I'd suggest leaving BLCKSZ as-is and inventing XLOG_BLCKSZ to be used > only within the WAL code; should make for a *far* smaller patch. > Offhand I don't think that anything except xlog.c knows the WAL block > size --- it should be fairly closely associated with dependencies on > XLOG_SEG_SIZE, if you are looking for something to grep for. Ok, I have attached something much smaller. Appears to pass a 'make check' but I'll keep going to make sure it's really correct and works. Thanks, Mark
Вложения
В списке pgsql-patches по дате отправления: