pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
huge pg_toast_<OID>_index files?
2+ messages / 2 participants
[nested] [flat]

* huge pg_toast_<OID>_index files?
@ 2003-09-17 21:32  Dirk Lutzebaeck <lutzeb@aeccom.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Dirk Lutzebaeck @ 2003-09-17 21:32 UTC (permalink / raw)
  To: pgsql-admin


Hello,

pgsql 7.3.2 on Linux 2.4.18:

I observe huge files (200Mb-1GB) in the database base dir which belong
to pg_toast_<OID>_index relations. The <OID> itself is a pointer to a
user table relation which looks quite fine, not too big, say 2000 rows
with moderate data. These user tables are typically written to very
often.

I tried to vacuum full the corresponding user table, reindex this
table or even drop the indexes to no avail. pg_toast_<OID>_index stays
the same big size. How can I reclaim space on this relation and what
is it used for?

Thanks for help,

Dirk



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

* Re: huge pg_toast_<OID>_index files?
@ 2003-09-18 04:05  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Dirk Lutzebaeck <lutzeb@aeccom.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-09-18 04:05 UTC (permalink / raw)
  To: Dirk Lutzebaeck <lutzeb@aeccom.com>; +Cc: pgsql-admin

Dirk Lutzebaeck <lutzeb@aeccom.com> writes:
> I observe huge files (200Mb-1GB) in the database base dir which belong
> to pg_toast_<OID>_index relations.

Not too surprising...

> I tried to vacuum full the corresponding user table, reindex this
> table or even drop the indexes to no avail.

REINDEX should have worked; please define "to no avail".

			regards, tom lane



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


end of thread, other threads:[~2003-09-18 04:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-17 21:32 huge pg_toast_<OID>_index files? Dirk Lutzebaeck <lutzeb@aeccom.com>
2003-09-18 04:05 ` Tom Lane <tgl@sss.pgh.pa.us>

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