pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
file under data
5+ messages / 3 participants
[nested] [flat]

* file under data
@ 2001-10-31 00:26 Leong, Fushan <fushan.leong@SonoSite.com>
  2001-10-31 00:56 ` Re: file under data Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2001-10-31 01:04 ` Re: file under data David Stanaway <david@netventures.com.au>
  0 siblings, 2 replies; 5+ messages in thread

From: Leong, Fushan @ 2001-10-31 00:26 UTC (permalink / raw)
  To: pgsql-admin

Hi :

   Very new in postgres.  I created a database and did some transactions.  I
found three subdirectories are created under $HOME/data/base.  They are  1,
18719, 18720.  Under these "funny" name directory, there are a lot of files
with number as their filename.

What are they?  Can I delete them when my disk space is very tide?





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

* Re: file under data
  2001-10-31 00:26 file under data Leong, Fushan <fushan.leong@SonoSite.com>
@ 2001-10-31 00:56 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Stephan Szabo @ 2001-10-31 00:56 UTC (permalink / raw)
  To: Leong, Fushan <fushan.leong@SonoSite.com>; +Cc: pgsql-admin

On Tue, 30 Oct 2001, Leong, Fushan wrote:

> Hi :
>
>    Very new in postgres.  I created a database and did some transactions.  I
> found three subdirectories are created under $HOME/data/base.  They are  1,
> 18719, 18720.  Under these "funny" name directory, there are a lot of files
> with number as their filename.
>
> What are they?  Can I delete them when my disk space is very tide?

They're the databases and tables and such.  Deleting them would be bad.
If you want to see the number/name mappings check out contrib/oid2name





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

* Re: file under data
  2001-10-31 00:26 file under data Leong, Fushan <fushan.leong@SonoSite.com>
@ 2001-10-31 01:04 ` David Stanaway <david@netventures.com.au>
  1 sibling, 0 replies; 5+ messages in thread

From: David Stanaway @ 2001-10-31 01:04 UTC (permalink / raw)
  To: Leong, Fushan <fushan.leong@SonoSite.com>; +Cc: pgsql-admin


On Wednesday, October 31, 2001, at 11:26  AM, Leong, Fushan wrote:

> Hi :
>
>    Very new in postgres.  I created a database and did some 
> transactions.  I
> found three subdirectories are created under $HOME/data/base.  They 
> are  1,
> 18719, 18720.  Under these "funny" name directory, there are a lot of 
> files
> with number as their filename.
>
> What are they?  Can I delete them when my disk space is very tide?


The directories under /date/base  are databases.  The number coresponds 
to their oid
the files in those directories are tables and indexes etc..

You may want to look into the vacuumdb command


==============================
David Stanaway
Personal: david@stanaway.net
Work: david@netventures.com.au




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

* Re: file under data
@ 2001-10-31 23:10 Leong, Fushan <fushan.leong@SonoSite.com>
  2001-10-31 23:25 ` Re: file under data Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Leong, Fushan @ 2001-10-31 23:10 UTC (permalink / raw)
  To: 'Stephan Szabo' <sszabo@megazone23.bigpanda.com>; Leong, Fushan <fushan.leong@SonoSite.com>; +Cc: pgsql-admin

delete them is bad.. but you can not let them grow forever........

When and how to clean up these files?

thanks
Fushan

-----Original Message-----
From: Stephan Szabo [mailto:sszabo@megazone23.bigpanda.com]
Sent: Tuesday, October 30, 2001 4:56 PM
To: Leong, Fushan
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] file under data


On Tue, 30 Oct 2001, Leong, Fushan wrote:

> Hi :
>
>    Very new in postgres.  I created a database and did some transactions.
I
> found three subdirectories are created under $HOME/data/base.  They are
1,
> 18719, 18720.  Under these "funny" name directory, there are a lot of
files
> with number as their filename.
>
> What are they?  Can I delete them when my disk space is very tide?

They're the databases and tables and such.  Deleting them would be bad.
If you want to see the number/name mappings check out contrib/oid2name




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

* Re: file under data
  2001-10-31 23:10 Re: file under data Leong, Fushan <fushan.leong@SonoSite.com>
@ 2001-10-31 23:25 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Stephan Szabo @ 2001-10-31 23:25 UTC (permalink / raw)
  To: Leong, Fushan <fushan.leong@SonoSite.com>; +Cc: pgsql-admin

On Wed, 31 Oct 2001, Leong, Fushan wrote:

> delete them is bad.. but you can not let them grow forever........
>
> When and how to clean up these files?

You should VACUUM ANALYZE occasionally depending your rate of
updates and deletes on your tables.  I think you'll also need
to use REINDEX when you want to shrink the index space.  I
believe there's information about these commands in the
admin documentation.






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


end of thread, other threads:[~2001-10-31 23:25 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-31 00:26 file under data Leong, Fushan <fushan.leong@SonoSite.com>
2001-10-31 00:56 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2001-10-31 01:04 ` David Stanaway <david@netventures.com.au>
2001-10-31 23:10 Re: file under data Leong, Fushan <fushan.leong@SonoSite.com>
2001-10-31 23:25 ` Stephan Szabo <sszabo@megazone23.bigpanda.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