Re: Tablespace size in TB - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Tablespace size in TB
Date
Msg-id 16220683f58d6ce349aee3511d4a6328d03daa82.camel@cybertec.at
Whole thread
In response to Re: Tablespace size in TB  (Jan Karremans <karremans.ja@gmail.com>)
List pgsql-general
On Sun, 2026-05-03 at 14:25 +0200, Jan Karremans wrote:
>
> > On 3 May 2026, at 14:21, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> >
> > On Sun, 2026-05-03 at 14:10 +0200, Jan Karremans wrote:
> > > Contrary to Oracle, a table space in PostgreSQL is a directory. And not a logical abstraction.
> > > Moving tables from one table space to another becomes so much easier by that.
> >
> > I am confused.  Yes, if you have more than a single (default) tablespace,
> > moving tables between tablespaces becomes possible and hence easier.
> > But why would you want to move tables between tablespaces in the first place?
>
> My thinking would be to have the different directories on different tiers of storage.

I see.  That can indeed improve the throughput, but you don't need tablespaces for
that: it would be simpler to define a striped logical volume.

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Tablespace size in TB
Next
From: Laurenz Albe
Date:
Subject: Re: Tablespace size in TB