pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedFATAL: invalid value for parameter "wal_sync_method": "open_datasync"
4+ messages / 3 participants
[nested] [flat]
* FATAL: invalid value for parameter "wal_sync_method": "open_datasync"
@ 2005-06-16 14:35 Francesco Dalla Ca' <f.dallaca@cineca.it>
2005-06-16 14:46 ` Re: FATAL: invalid value for parameter "wal_sync_method": Scott Marlowe <smarlowe@g2switchworks.com>
0 siblings, 1 reply; 4+ messages in thread
From: Francesco Dalla Ca' @ 2005-06-16 14:35 UTC (permalink / raw)
To: pgsql-admin
O.S.:
SuSE SLES-8 (i386)
VERSION = 8.1
After some test with the "syncbench" posted on performance mailing-list
(http://archives.postgresql.org/pgsql-performance/2004-09/msg00080.php)
i have obtained that open() with O_DSYNC was the fastest sync method.
I want to test this for parameter "wal_sync_method" on a test workload
directly on Postgres and i have configured that on postgresql.conf file:
wal_sync_method = open_datasync
But at the server start:
> pg_ctl -D /db10/postgres/data start
postmaster starting
> FATAL: invalid value for parameter "wal_sync_method": "open_datasync"
What's wrong?
Best regards.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: FATAL: invalid value for parameter "wal_sync_method":
2005-06-16 14:35 FATAL: invalid value for parameter "wal_sync_method": "open_datasync" Francesco Dalla Ca' <f.dallaca@cineca.it>
@ 2005-06-16 14:46 ` Scott Marlowe <smarlowe@g2switchworks.com>
2005-06-17 07:50 ` Re: FATAL: invalid value for parameter "wal_sync_method": Francesco Dalla Ca' <f.dallaca@cineca.it>
0 siblings, 1 reply; 4+ messages in thread
From: Scott Marlowe @ 2005-06-16 14:46 UTC (permalink / raw)
To: Francesco Dalla Ca' <f.dallaca@cineca.it>; +Cc: pgsql-admin
On Thu, 2005-06-16 at 09:35, Francesco Dalla Ca' wrote:
> O.S.:
> SuSE SLES-8 (i386)
> VERSION = 8.1
>
> After some test with the "syncbench" posted on performance mailing-list
> (http://archives.postgresql.org/pgsql-performance/2004-09/msg00080.php)
> i have obtained that open() with O_DSYNC was the fastest sync method.
> I want to test this for parameter "wal_sync_method" on a test workload
> directly on Postgres and i have configured that on postgresql.conf file:
>
> wal_sync_method = open_datasync
>
> But at the server start:
>
> > pg_ctl -D /db10/postgres/data start
> postmaster starting
> > FATAL: invalid value for parameter "wal_sync_method": "open_datasync"
>
> What's wrong?
Not all methods are supported on all platforms. It appears this one
isn't supported on yours.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: FATAL: invalid value for parameter "wal_sync_method":
2005-06-16 14:35 FATAL: invalid value for parameter "wal_sync_method": "open_datasync" Francesco Dalla Ca' <f.dallaca@cineca.it>
2005-06-16 14:46 ` Re: FATAL: invalid value for parameter "wal_sync_method": Scott Marlowe <smarlowe@g2switchworks.com>
@ 2005-06-17 07:50 ` Francesco Dalla Ca' <f.dallaca@cineca.it>
2005-06-17 13:21 ` Re: FATAL: invalid value for parameter "wal_sync_method": Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Francesco Dalla Ca' @ 2005-06-17 07:50 UTC (permalink / raw)
To: Scott Marlowe <smarlowe@g2switchworks.com>; +Cc: pgsql-admin
This mean that method isn't supported by postgres on my platform?
Must i give some extra options at build time?
(i use postgresql 8.0.2 sources)
The test "syncbench" that i run on this server with the "open(O_DSYNC)"
method, give me results without problems.
Thanks and best regards.
Scott Marlowe wrote:
>On Thu, 2005-06-16 at 09:35, Francesco Dalla Ca' wrote:
>
>
>>O.S.:
>>SuSE SLES-8 (i386)
>>VERSION = 8.1
>>
>>After some test with the "syncbench" posted on performance mailing-list
>>(http://archives.postgresql.org/pgsql-performance/2004-09/msg00080.php)
>>i have obtained that open() with O_DSYNC was the fastest sync method.
>>I want to test this for parameter "wal_sync_method" on a test workload
>>directly on Postgres and i have configured that on postgresql.conf file:
>>
>>wal_sync_method = open_datasync
>>
>>But at the server start:
>>
>> > pg_ctl -D /db10/postgres/data start
>>postmaster starting
>> > FATAL: invalid value for parameter "wal_sync_method": "open_datasync"
>>
>>What's wrong?
>>
>>
>
>Not all methods are supported on all platforms. It appears this one
>isn't supported on yours.
>
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: FATAL: invalid value for parameter "wal_sync_method":
2005-06-16 14:35 FATAL: invalid value for parameter "wal_sync_method": "open_datasync" Francesco Dalla Ca' <f.dallaca@cineca.it>
2005-06-16 14:46 ` Re: FATAL: invalid value for parameter "wal_sync_method": Scott Marlowe <smarlowe@g2switchworks.com>
2005-06-17 07:50 ` Re: FATAL: invalid value for parameter "wal_sync_method": Francesco Dalla Ca' <f.dallaca@cineca.it>
@ 2005-06-17 13:21 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2005-06-17 13:21 UTC (permalink / raw)
To: Francesco Dalla Ca' <f.dallaca@cineca.it>; +Cc: Scott Marlowe <smarlowe@g2switchworks.com>; pgsql-admin
Francesco Dalla Ca' wrote:
> This mean that method isn't supported by postgres on my platform?
> Must i give some extra options at build time?
> (i use postgresql 8.0.2 sources)
>
> The test "syncbench" that i run on this server with the "open(O_DSYNC)"
> method, give me results without problems.
Here is our test code for 8.0.2:
#if defined(O_SYNC)
#define OPEN_SYNC_FLAG O_SYNC
#else
#if defined(O_FSYNC)
#define OPEN_SYNC_FLAG O_FSYNC
#endif
#endif
#if defined(O_DSYNC)
#if defined(OPEN_SYNC_FLAG)
#if O_DSYNC != OPEN_SYNC_FLAG
#define OPEN_DATASYNC_FLAG O_DSYNC
#endif
#else /* !defined(OPEN_SYNC_FLAG) */
/* Win32 only has O_DSYNC */
#define OPEN_DATASYNC_FLAG O_DSYNC
#endif
#endif
Is your O_DSYNC the same #define value as O_SYNC or if that isn't
defined, O_FSYNC? If so, you don't really have O_DSYNC as unique from
O_SYNC, and we will not support "open_datasync".
---------------------------------------------------------------------------
>
> Thanks and best regards.
>
>
> Scott Marlowe wrote:
>
> >On Thu, 2005-06-16 at 09:35, Francesco Dalla Ca' wrote:
> >
> >
> >>O.S.:
> >>SuSE SLES-8 (i386)
> >>VERSION = 8.1
> >>
> >>After some test with the "syncbench" posted on performance mailing-list
> >>(http://archives.postgresql.org/pgsql-performance/2004-09/msg00080.php)
> >>i have obtained that open() with O_DSYNC was the fastest sync method.
> >>I want to test this for parameter "wal_sync_method" on a test workload
> >>directly on Postgres and i have configured that on postgresql.conf file:
> >>
> >>wal_sync_method = open_datasync
> >>
> >>But at the server start:
> >>
> >> > pg_ctl -D /db10/postgres/data start
> >>postmaster starting
> >> > FATAL: invalid value for parameter "wal_sync_method": "open_datasync"
> >>
> >>What's wrong?
> >>
> >>
> >
> >Not all methods are supported on all platforms. It appears this one
> >isn't supported on yours.
> >
> >
> >
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2005-06-17 13:21 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-06-16 14:35 FATAL: invalid value for parameter "wal_sync_method": "open_datasync" Francesco Dalla Ca' <f.dallaca@cineca.it>
2005-06-16 14:46 ` Re: FATAL: invalid value for parameter "wal_sync_method": Scott Marlowe <smarlowe@g2switchworks.com>
2005-06-17 07:50 ` Re: FATAL: invalid value for parameter "wal_sync_method": Francesco Dalla Ca' <f.dallaca@cineca.it>
2005-06-17 13:21 ` Re: FATAL: invalid value for parameter "wal_sync_method": Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox