From: | Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at> |
---|---|
To: | "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | RE: Berkeley DB... |
Date: | 2000-05-28 07:30:38 |
Message-ID: | 00052809330604.00145@zeus |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 26 May 2000, Mikheev, Vadim wrote:
> > > Well, I've dropped index but INSERTs still take 70 sec and
> > > COPY just 1sec -:(((
> >
> > Well, for those that have fsync turned off we could actually
> > avoid most of the writes, could'nt we ? Just leave the page
> > marked dirty. We would only need to write each new page once.
> > The problem as I see it is, that we don't have a good place
> > where the writes would actually be done. Now they are obviously
> > done after each insert.
>
> I've run test without fsync and with all inserts in *single*
> transaction - there should be no write after each insert...
Yes, but if you don't do the inserts in one big transaction
and don't issue transaction statements ( no begin or commit )
then you get the behavior I described.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Zeugswetter | 2000-05-28 07:34:40 | Re: Re: [SQL] aliases break my query |
Previous Message | Tom Lane | 2000-05-28 05:36:04 | Re: Regression test failure on 7.0-STABLE |