From: Gauri Kanekar <meetgaurikanekar@gmail.com>
To: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: Shane Ambler <pgsql@sheeky.biz>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Greg Smith <gsmith@gregsmith.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Replication Syatem
Date: Wed, 30 Apr 2008 12:19:04 +0530
Message-ID: <7e4ba9550804292349t53026b36xe28341f794cceb86@mail.gmail.com> (raw)
In-Reply-To: <7e4ba9550804292346r46aa55e7g6cf1f731b6be7d40@mail.gmail.com>
References: <7e4ba9550804280638ie81dc23w472785c83cd38fcf@mail.gmail.com>
<Pine.GSO.4.64.0804290347560.20575@westnet.com>
<7e4ba9550804290405i4c0d3a57x1640239c9995c13@mail.gmail.com>
<20080429130204.GA5652@alvh.no-ip.org>
<4817514A.3060704@Sheeky.Biz>
<7e4ba9550804292229x82e74e5y355349866c72245c@mail.gmail.com>
<2e78013d0804292237l4c74a166u4ab082901aa0804f@mail.gmail.com>
<7e4ba9550804292239n668b1f01v59ad7ac6ca9e092b@mail.gmail.com>
<2e78013d0804292343hd9d1c0lf93df68e559f9af3@mail.gmail.com>
<7e4ba9550804292346r46aa55e7g6cf1f731b6be7d40@mail.gmail.com>
"table1" structure :
id integer not null
code integer not null
crid integer not null
status character varying(1) default 'A'::character varying
delta1 bigint default 0
delta2 bigint default 0
delta3 bigint default 0
delta4 bigint default 0
tz_id integer default 0
Indexes:
"idx1" PRIMARY KEY, btree (id)
"idx2" UNIQUE, btree (code, crid)
"idx3" btree (tz_id)
"idx4" btree (status)
code as crid are foreign key.
update table1 set delta1 = 100 where code/1000000 =999;
On Wed, Apr 30, 2008 at 12:16 PM, Gauri Kanekar <meetgaurikanekar@gmail.com>
wrote:
> fillfactor is set to 80 as you suggested.
> delta* fields r updated and these fields are no where related to any of
> the index fields.
>
>
>
> On Wed, Apr 30, 2008 at 12:13 PM, Pavan Deolasee <pavan.deolasee@gmail.com>
> wrote:
>
> > On Wed, Apr 30, 2008 at 11:09 AM, Gauri Kanekar
> > <meetgaurikanekar@gmail.com> wrote:
> > > relid | relname | n_tup_ins | n_tup_upd | n_tup_hot_upd |
> > n_dead_tup
> > >
> > -------+----------------+-----------+-----------+---------------+------------
> > > 16461 | table1 | 0 | 8352496 | 5389 | 8351242
> > >
> >
> > Hmm.. So indeed there are very few HOT updates. What is the fillfactor
> > you are using for these tests ? If its much less than 100, the very
> > low percentage of HOT updates would make me guess that you are
> > updating one of the index columns. Otherwise at least the initial
> > updates until you fill up the free space should be HOT.
> >
> > Thanks,
> > Pavan
> >
> >
> > --
> > Pavan Deolasee
> > EnterpriseDB http://www.enterprisedb.com
> >
>
>
>
> --
> Regards
> Gauri
--
Regards
Gauri
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: meetgaurikanekar@gmail.com, pavan.deolasee@gmail.com, pgsql@sheeky.biz, alvherre@commandprompt.com, gsmith@gregsmith.com
Subject: Re: Replication Syatem
In-Reply-To: <7e4ba9550804292349t53026b36xe28341f794cceb86@mail.gmail.com>
References: <7e4ba9550804280638ie81dc23w472785c83cd38fcf@mail.gmail.com> <Pine.GSO.4.64.0804290347560.20575@westnet.com> <7e4ba9550804290405i4c0d3a57x1640239c9995c13@mail.gmail.com> <20080429130204.GA5652@alvh.no-ip.org> <4817514A.3060704@Sheeky.Biz> <7e4ba9550804292229x82e74e5y355349866c72245c@mail.gmail.com> <2e78013d0804292237l4c74a166u4ab082901aa0804f@mail.gmail.com> <7e4ba9550804292239n668b1f01v59ad7ac6ca9e092b@mail.gmail.com> <2e78013d0804292343hd9d1c0lf93df68e559f9af3@mail.gmail.com> <7e4ba9550804292346r46aa55e7g6cf1f731b6be7d40@mail.gmail.com> <7e4ba9550804292349t53026b36xe28341f794cceb86@mail.gmail.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