pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Backup and clean up
2+ messages / 2 participants
[nested] [flat]

* Backup and clean up
@ 2005-12-13 09:48 prabhakar V <prasnyh@gmail.com>
  2005-12-19 19:20 ` Re: Backup and clean up Jim C. Nasby <jnasby@pervasive.com>
  0 siblings, 1 reply; 2+ messages in thread

From: prabhakar V @ 2005-12-13 09:48 UTC (permalink / raw)
  To: pgsql-admin

Hi,


My disk partition /var is full due to growing of postgresql DB.

I am using postgres DB for more than six months. After taking the backup I
have to clean up all the DBs.(drop data only.This means table,DB structure
must be maintained).Because, my data partition size is more that 90% in
use. For ex.

/dev/sda6 4.3G 4.1G 105M 98% /var
Eventually, no one db,tables structure should not be altered and it should
run without any issues.Please advice me on this.


or else how can i move this DB to some other partition. For ex : /data2  if
this possible, Please help me out.

Thanks in Advance.

Prabhakar.

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

* Re: Backup and clean up
  2005-12-13 09:48 Backup and clean up prabhakar V <prasnyh@gmail.com>
@ 2005-12-19 19:20 ` Jim C. Nasby <jnasby@pervasive.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jim C. Nasby @ 2005-12-19 19:20 UTC (permalink / raw)
  To: prabhakar V <prasnyh@gmail.com>; +Cc: pgsql-admin

On Tue, Dec 13, 2005 at 03:18:40PM +0530, prabhakar V wrote:
> or else how can i move this DB to some other partition. For ex : /data2  if
> this possible, Please help me out.

Use tablespaces. Though I think you can't alter a table's tablespace in
8.0...
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



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


end of thread, other threads:[~2005-12-19 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 09:48 Backup and clean up prabhakar V <prasnyh@gmail.com>
2005-12-19 19:20 ` Jim C. Nasby <jnasby@pervasive.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