pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
HOT TOAST?
3+ messages / 2 participants
[nested] [flat]

* HOT TOAST?
@ 2008-02-13 17:50  Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Josh Berkus @ 2008-02-13 17:50 UTC (permalink / raw)
  To: pgsql-performance

Folks,

Does anyone know if HOT is compatible with pg_toast tables, or do TOASTed rows 
simply get excluded from HOT?  I can run some tests, but if someone knows 
this off the top of their heads it would save me some time.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: HOT TOAST?
@ 2008-02-13 18:04  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2008-02-13 18:04 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-performance

Josh Berkus <josh@agliodbs.com> writes:
> Does anyone know if HOT is compatible with pg_toast tables, or do TOASTed rows 
> simply get excluded from HOT?

The current TOAST code never does any updates, only inserts/deletes.
But the HOT logic should be able to reclaim deleted rows early via
pruning.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: HOT TOAST?
@ 2008-02-13 23:07  Josh Berkus <josh@agliodbs.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Josh Berkus @ 2008-02-13 23:07 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-performance

Tom,

> The current TOAST code never does any updates, only inserts/deletes.
> But the HOT logic should be able to reclaim deleted rows early via
> pruning.

OK, so for a heavy update application we should still see a vacuum 
reduction, even if most of the rows are 40k large?

Time to run some tests ...

-- 
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2008-02-13 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 17:50 HOT TOAST? Josh Berkus <josh@agliodbs.com>
2008-02-13 18:04 ` Tom Lane <tgl@sss.pgh.pa.us>
2008-02-13 23:07   ` Josh Berkus <josh@agliodbs.com>

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