From: cnliou <cnliou@so-net.net.tw>
To: pgsql-performance@postgresql.org
Subject: Ignore Some Updates
Date: Tue, 13 Jan 2004 11:07:24 +0800 (CST)
Message-ID: <1073963244.78843.cnliou@so-net.net.tw> (raw)
Dear developers,
I wonder it happens to systems where inefficient update
SQL's are used like this:
UPDATE MyTable SET MyColumn=1234
Question arises when the value of MyColumn is already 1234
before the update.
If I am right, even when the to-be-updated column values
equal to the new values, the core never hates to update that
row anyway. If so, is it wise or not to adjust the core for
lazy SQL users to ignore such "meaningless" updates in order
to reduce some disk load and prevent some "holes" resulted
from the delete (a consequence of update) in that table?
Regards,
CN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: cnliou@so-net.net.tw
Subject: Re: Ignore Some Updates
In-Reply-To: <1073963244.78843.cnliou@so-net.net.tw>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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