Gasper Zejn writes:
> I was wondering if PostgreSQL adds new tuple if data is not changed
> when using UPDATE. It turns out it does add them and I think it might
> be beneficial not to add a new tuple in this case, since it causes a
> great deal of maintenance: updating
On Wed, Jan 20, 2016 at 3:55 AM, Gasper Zejn wrote:
> I was wondering if PostgreSQL adds new tuple if data is not changed
> when using UPDATE. It turns out it does add them and I think it might
> be beneficial not to add a new tuple in this case, since it causes a
> great
Hi,
To eliminate creation of new tuple version in this case it is necessary
to check that update actually doesn't change the record.
It is not a cheapest test and it seems to be not so good idea to perform
it always.
But if you fill that in your case there are many "identical" updates,
you
Hi,
I was wondering if PostgreSQL adds new tuple if data is not changed
when using UPDATE. It turns out it does add them and I think it might
be beneficial not to add a new tuple in this case, since it causes a
great deal of maintenance: updating indexes, vacuuming table and
index, also heap