pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyriacos Kyriacou <kyriacosk@prime-tel.com>
To: Vitalii Tymchyshyn <tivv00@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: MVCC performance issue
Date: Fri, 12 Nov 2010 18:18:18 +0200
Message-ID: <8BCBF9DB739F034B87FE7C7D30EAE55C279F0551@hqex2k.francoudi.com> (raw)
References: <8BCBF9DB739F034B87FE7C7D30EAE55C279F054F@hqex2k.francoudi.com>
	<4CDD62FF.4020009@gmail.com>

This was done already as a workaround after identifying this problem. 
I just gave it as an example.

-----Original Message-----
From: Vitalii Tymchyshyn [mailto:tivv00@gmail.com] 
Sent: Friday, November 12, 2010 5:54 PM
To: Kyriacos Kyriacou
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] MVCC performance issue

12.11.10 15:47, Kyriacos Kyriacou написав(ла):
> PROBLEM DECRIPTION
> ------------------
> As an example, consider updating the "live" balance
> of a customer for each phone call where the entire customer record has
> to be duplicated again and again upon each call just for modifying a
> numeric value!
>    
Have you considered splitting customer record into two tables with 
mostly read-only data and with data that is updated often? Such 1-1 
relationship can make a huge difference to performance in your case. You 
can even try to simulate old schema by using an updateable view.

Best regards, Vitalii Tymchyshyn




view thread (29+ messages)  latest in thread

Message-ID: <8BCBF9DB739F034B87FE7C7D30EAE55C279F0551@hqex2k.francoudi.com>
Permalink:  ../8BCBF9DB739F034B87FE7C7D30EAE55C279F0551@hqex2k.francoudi.com/
Also on:    postgresql.org/message-id/8BCBF9DB739F034B87FE7C7D30EAE55C279F0551@hqex2k.francoudi.com

 · 

reply

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: kyriacosk@prime-tel.com, tivv00@gmail.com
  Subject: Re: MVCC performance issue
  In-Reply-To: <8BCBF9DB739F034B87FE7C7D30EAE55C279F0551@hqex2k.francoudi.com>

* 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