| From: | Syd <569170(at)aliencamel(dot)com> |
|---|---|
| To: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: insert speed - Mac OSX vs Redhat |
| Date: | 2004-01-15 21:17:32 |
| Message-ID: | 3B34D6CC-47A0-11D8-BC83-00039398E788@aliencamel.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On 16/01/2004, at 2:44 AM, Tom Lane wrote:
...
> As noted elsewhere, it's highly likely that this has nothing to do with
> the OS, and everything to do with write caching in the disks being
> used.
>
> I assume you are benchmarking small individual transactions (one insert
> per xact). In such scenarios it's essentially impossible to commit
> more
> than one transaction per revolution of the WAL disk, because you have
> to
> write the same WAL disk page repeatedly and wait for it to get down to
> the platter. When you get results that are markedly in excess of the
> disk RPM figure, it's proof positive that the disk is lying about write
> complete (or that you don't have fsync on).
>
Tom, thanks for this explanation - we'll check this out straight away,
but it would explain a lot.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Anjan Dave | 2004-01-15 22:49:28 | shared_buffer value |
| Previous Message | Evil Azrael | 2004-01-15 17:08:11 | Re: Trigger question |