From: | KÖPFERL Robert <robert(dot)koepferl(at)sonorys(dot)at> |
---|---|
To: | |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Experience with splitting a Table transparently |
Date: | 2005-06-08 10:30:10 |
Message-ID: | ED4E30DD9C43D5118DFB00508BBBA76EB16751@neptun.sonorys.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi,
I'm looking for people who have got experience at splitting a table with
heavy records into two relations.
In my case there exists one table with the mentioned heavy records. These
are processed by a statemachine. Thus a bunch of columns gets changed
several times in the livetime of one record. The text and blob colmns remain
unchanged. However due to Postgres# MVCC one changed record gets duplicated,
even if just one bit is changed. This makes us IO-performance problems.
I intend now to split the table in transport data (which stays constant) and
status data (which is changed several times).
I have then several options: Change all stored procedures to mathc the new
relations and keep the interface equal.
Or create a view with a bunch of RULES to show the procedures the 'original
table'.
What is best?
Who has done such bevore?
Will this help us in IO-terms?
thanks
From | Date | Subject | |
---|---|---|---|
Next Message | Lucas Hernndez | 2005-06-08 14:44:27 | Cursor need it? |
Previous Message | Bruno Wolff III | 2005-06-07 20:06:07 | Re: to listadmin |