Re: How long does commit take?

From: "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>
To: "'Daniel T(dot) Staal'" <DStaal(at)usa(dot)net>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: How long does commit take?
Date: 2007-04-26 22:52:56
Message-ID: 003801c78855$a13066d0$9b0014ac@wbaus090
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

>> There is no delay.

> You are telling me the database is always able to update all it's internal
> records instantaneously? I doubt that. I'm sure there is a delay, the
> length of which is dependent on the machine, table layout, other load on
> the machine, etc. (Basically, the commit will take a measurable amount of
> time to execute.) I'd expect it to be a few milliseconds in most cases,
> but no more.

I'd believe that those few milliseconds occur before the database returns to
the client that the COMMIT completed successfully. It is available
immediately as soon at the COMMIT command is COMPLETED to the client, not as
soon as the COMMIT is STARTED.

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee. If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Phillip Smith 2007-04-26 23:25:19 Re: cannot insert or update
Previous Message Phillip Smith 2007-04-26 22:49:42 Re: column and table names