pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
add space to expand database ?
4+ messages / 2 participants
[nested] [flat]

* add space to expand database ?
@ 2002-12-23 13:12  Andreas Schmitz <a.schmitz@cityweb.de>
  0 siblings, 1 reply; 4+ messages in thread

From: Andreas Schmitz @ 2002-12-23 13:12 UTC (permalink / raw)
  To: pgsql-admin


Hello *,

I have a little problem with a database that is growing drastically. I am 
getting short on diskspace within $PGDATA. Is there a way to use $PGDATA2 in 
addition to $PGDATA with the same database ?

regards

-andreas


-- 
Andreas Schmitz - Phone +49 201 8501 318
Cityweb-Technik-Service-Gesellschaft mbH
Friedrichstr. 12 - Fax +49 201 8501 104
45128 Essen - email a.schmitz@cityweb.de




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

* Re: add space to expand database ?
@ 2002-12-23 17:54  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Andreas Schmitz <a.schmitz@cityweb.de>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2002-12-23 17:54 UTC (permalink / raw)
  To: a.schmitz@cityweb.de; +Cc: pgsql-admin

Andreas Schmitz <a.schmitz@cityweb.de> writes:
> I have a little problem with a database that is growing drastically. I am 
> getting short on diskspace within $PGDATA. Is there a way to use $PGDATA2 in 
> addition to $PGDATA with the same database ?

There's no really practical way to do that at the moment within
Postgres.  I'd recommend looking into OS-level facilities for spreading
a filesystem over multiple physical volumes --- depending on your
platform you might be able to do it with LVM, software RAID, etc.

			regards, tom lane



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

* Re: add space to expand database ?
@ 2002-12-23 17:56  Andreas Schmitz <a.schmitz@cityweb.de>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Andreas Schmitz @ 2002-12-23 17:56 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

On Monday 23 December 2002 18:54, Tom Lane wrote:
> Andreas Schmitz <a.schmitz@cityweb.de> writes:
> > I have a little problem with a database that is growing drastically. I am
> > getting short on diskspace within $PGDATA. Is there a way to use $PGDATA2
> > in addition to $PGDATA with the same database ?
>
> There's no really practical way to do that at the moment within
> Postgres.  I'd recommend looking into OS-level facilities for spreading
> a filesystem over multiple physical volumes --- depending on your
> platform you might be able to do it with LVM, software RAID, etc.
>
> 			regards, tom lane

Hi Tom,

thanks a lot for the answer. I considered using the raid functionality. My 
problem is that I will loose days of work when I have to stop now. A $PGDATA2 
ist known to the databaseserver. However, are there any plans for postgresql 
to implement this feature ?

kind regards

-andreas

-- 
Andreas Schmitz - Phone +49 201 8501 318
Cityweb-Technik-Service-Gesellschaft mbH
Friedrichstr. 12 - Fax +49 201 8501 104
45128 Essen - email a.schmitz@cityweb.de




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

* Re: add space to expand database ?
@ 2002-12-23 18:19  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Andreas Schmitz <a.schmitz@cityweb.de>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2002-12-23 18:19 UTC (permalink / raw)
  To: a.schmitz@cityweb.de; +Cc: pgsql-admin

Andreas Schmitz <a.schmitz@cityweb.de> writes:
> However, are there any plans for postgresql 
> to implement this feature ?

Tablespaces are on the TODO list, and may actually get done for 7.4.
But that isn't going to help you today...

			regards, tom lane



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


end of thread, other threads:[~2002-12-23 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-23 13:12 add space to expand database ? Andreas Schmitz <a.schmitz@cityweb.de>
2002-12-23 17:54 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-12-23 17:56   ` Andreas Schmitz <a.schmitz@cityweb.de>
2002-12-23 18:19     ` 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