Re: [HACKERS] WAL: parallel logging

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Vadim Mikheev <vadim(at)krs(dot)ru>
Cc: PostgreSQL Developers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] WAL: parallel logging
Date: 1999-07-19 04:31:50
Message-ID: 199907190431.AAA18856@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I don't see this feature in Oracle or Gray' book so I would
> like to know what do you think about ability to have more than
> 1 log to let different transactions write to different logs,
> in parallel. All log records from particular transaction will
> go in one log file (one fsync on commit). Transactions will
> choose log file to use in circle order. Each log record will have
> unique id shared among all logs to order things.
> By placing logs on different disk one could significantly
> increase performance.

In most cases, the problem with log writes it not throughput, but
getting the disk head to the proper sector to fsync the data.

Someone said that large Sybase sites use a separate drive for logs, so
the head stays in the proper place to write the logs.

This is just a guess on my part.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-07-19 05:08:38 README.NT
Previous Message Vadim Mikheev 1999-07-19 03:50:41 WAL: parallel logging