pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Disk space
4+ messages / 3 participants
[nested] [flat]

* Disk space
@ 2001-03-20 17:34 Kelcey Kornegay <kornegay@gamesville.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Kelcey Kornegay @ 2001-03-20 17:34 UTC (permalink / raw)
  To: pgsql-admin

Hello All

I have a question about tuning the postgesql database and disk space
I attempted  to load a very large database into postgresql the process
failed.
but created several data files in the /data/base/18723 dir.
I dropped the table and ran the vacuumdb utility that had worked fine in
the past
but this time the temp files are still there and the database proformace
sucks
can I just delete the the data files from that /data/base/18723 dir ???
Is that a good ideas????
Do any one have any suggestions

Attachments:

kornegay.vcf (text/x-vcard, 236B) download begin:vcard n:Kornegay;Kelcey x-mozilla-html:FALSE org:www.Gamesville.com;Engineering adr:;;;;;; version:2.1 email;internet:kkornegay@gamesville.com title:Software Engineer 781 466 7639 x-mozilla-cpt:;31808 fn:Kelcey Kornegay end:vcard
^ permalink raw reply [nested|flat] 4+ messages in thread

* disk space
@ 2002-07-08 18:39 becks <becks@ultraviolence.org>
  2002-07-10 02:07 ` Re: disk space Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: becks@ultraviolence.org @ 2002-07-08 18:39 UTC (permalink / raw)
  To: pgsql-admin

hello.
how to check disk space usage for a single table?





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

* Re: disk space
  2002-07-08 18:39 disk space becks <becks@ultraviolence.org>
@ 2002-07-10 02:07 ` Bruce Momjian <pgman@candle.pha.pa.us>
  2002-07-10 02:09   ` Re: disk space Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Bruce Momjian @ 2002-07-10 02:07 UTC (permalink / raw)
  To: becks <becks@ultraviolence.org>; +Cc: pgsql-admin

becks wrote:
> hello.
> how to check disk space usage for a single table?

Look at relpages in pg_class for that table.  VACUUM the table first.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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

* Re: disk space
  2002-07-08 18:39 disk space becks <becks@ultraviolence.org>
  2002-07-10 02:07 ` Re: disk space Bruce Momjian <pgman@candle.pha.pa.us>
@ 2002-07-10 02:09   ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2002-07-10 02:09 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: becks <becks@ultraviolence.org>; pgsql-admin

Bruce Momjian wrote:
> becks wrote:
> > hello.
> > how to check disk space usage for a single table?
> 
> Look at relpages in pg_class for that table.  VACUUM the table first.

Actually, I wrote some stuff up for the 7.3 docs on this:

	http://developer.postgresql.org/docs/postgres/diskusage.html

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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


end of thread, other threads:[~2002-07-10 02:09 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-20 17:34 Disk space Kelcey Kornegay <kornegay@gamesville.com>
2002-07-08 18:39 disk space becks <becks@ultraviolence.org>
2002-07-10 02:07 ` Re: disk space Bruce Momjian <pgman@candle.pha.pa.us>
2002-07-10 02:09   ` Re: disk space Bruce Momjian <pgman@candle.pha.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