Re: Database over multiple drives

From: David Lizano <david(dot)lizano(at)izanet(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Database over multiple drives
Date: 2001-05-31 10:04:17
Message-ID: 4.3.2.7.0.20010531114341.0290d0a0@mail.izanet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


>On Thu, May 31, 2001 at 10:37:26AM +0200, David Lizano wrote:
> > You can't do it with Postgres. To do it, Postgres must implement
> > "tablespaces" to spread the database in different localizations (who
> can be
> > different physical localizations, of course). Then a table can be assigned
> > to a tablespace.
>
>Sure you can.
>You can move some files to a different drive, and put a symlink in the
>original directory.
>
>Or, if you have an operatingsystem that has an logical volume manager,
>you can concatenate several disks, use striping or whatever, to get a
>logical device that spans several physical devices.
>

Yes, you can do it, but it should be managed by the RDBMS, so it isn't the
optimal solution. Of course a RAID of disk improve the I/O perfomance.

If the RDBMS implements "tablespaces" is easier also to make a backup in a
big database.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bhuvaneswari 2001-05-31 12:23:49 Setting Locale Variables
Previous Message Ragnar Kjørstad 2001-05-31 09:33:43 Re: Database over multiple drives