Re: Tablespace size in TB

Поиск
Список
Период
Сортировка
Искать

Re: Tablespace size in TB

От:
Laurenz Albe <laurenz.albe@cybertec.at>
Дата:
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?

Yours,
Laurenz Albe


Re: Tablespace size in TB

От:
Jan Karremans <karremans.ja@gmail.com>
Дата:
My thinking would be to have the different directories on different tiers of storage.

Cheers,
Jan

> On 3 May 2026, at 14:21, Laurenz Albe  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?
> 
> Yours,
> Laurenz Albe



Re: Tablespace size in TB

От:
masheed ullah <masheedullah@gmail.com>
Дата:
Just to check like Oracle, parallelism works well with multiple tablespaces.
Moving tables/ indexes to multiple tablespaces to use the parallelism to boost the backup speed. With a single tablespace, parallelism will not work.

On Sun, May 3, 2026 at 3:21 PM 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?

Yours,
Laurenz Albe



Re: Tablespace size in TB

От:
masheed ullah <masheedullah@gmail.com>
Дата:
The issue is, 13tb database BARMAN backup is taking 20 hours and restore takes 24 hours.
So the main agenda is to reduce the backup time to less than 10hours.

 So does any solution/ tool I recommend to client.

. I just checked pgBeckRest has no more support, so I can not suggest it to client.

On Sun, May 3, 2026 at 3:25 PM Jan Karremans <karremans.ja@gmail.com> wrote:
My thinking would be to have the different directories on different tiers of storage.

Cheers,
Jan

> 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?
>
> Yours,
> Laurenz Albe



--
Best Regards,
Masheed Ullah


Re: Tablespace size in TB

От:
Jan Karremans <karremans.ja@gmail.com>
Дата:
You can safely recommend pgBackRest as several PostgreSQL companies have already stepped up to take over/fork pgBackRest.

On 3 May 2026, at 14:30, masheed ullah <masheedullah@gmail.com> wrote:

The issue is, 13tb database BARMAN backup is taking 20 hours and restore takes 24 hours.
So the main agenda is to reduce the backup time to less than 10hours.

 So does any solution/ tool I recommend to client.

. I just checked pgBeckRest has no more support, so I can not suggest it to client.

On Sun, May 3, 2026 at 3:25 PM Jan Karremans <karremans.ja@gmail.com> wrote:
My thinking would be to have the different directories on different tiers of storage.

Cheers,
Jan

> 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?
>
> Yours,
> Laurenz Albe



--
Best Regards,
Masheed Ullah



Re: Tablespace size in TB

От:
Laurenz Albe <laurenz.albe@cybertec.at>
Дата:
On Sun, 2026-05-03 at 14:25 +0200, Jan Karremans wrote:
> 
> > On 3 May 2026, at 14:21, Laurenz Albe  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


Re: Tablespace size in TB

От:
Laurenz Albe <laurenz.albe@cybertec.at>
Дата:
On Sun, 2026-05-03 at 15:26 +0300, masheed ullah wrote:
> Just to check like Oracle, parallelism works well with multiple tablespaces.
> Moving tables/ indexes to multiple tablespaces to use the parallelism to boost
> the backup speed. With a single tablespace, parallelism will not work.

That may be the case with Oracle, but not with PostgreSQL.

pg_basebackup will not parallelize at all.

I found the following article about backup tools useful:
https://thebuild.com/blog/2026/04/30/after-pgbackrest/

You should consider alternatives to parallelism, since parallelism
will only help up to the limit where the disk is saturated.
One think you should seriously consider is incremental backup,
which would reduce the backup time considerably (but not the
restore time).

Yours,
Laurenz Albe


Re: Tablespace size in TB

От:
Christophe Pettus <xof@thebuild.com>
Дата:


> On May 3, 2026, at 08:54, Greg Hennessy  wrote:
> 
> Is the fact that other companies are taking 
> Over support for pgBackRest documented?

Just speaking for my company:

	https://github.com/pgexperts/pgxbackup


Re: Tablespace size in TB

От:
Thiemo Kellner <thiemo@gelassene-pferde.biz>
Дата:
Even with Oracle you need to know the architecture of your storage to decide whether you can expect performance improvements. If you happen to have some kind of NAS, you partitions for the different table spaces might reside on the very same hardware and you probably gain naught.

03.05.2026 14:27:01 masheed ullah <masheedullah@gmail.com>:

Just to check like Oracle, parallelism works well with multiple tablespaces.
Moving tables/ indexes to multiple tablespaces to use the parallelism to boost the backup speed. With a single tablespace, parallelism will not work.

On Sun, May 3, 2026 at 3:21 PM 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?

Yours,
Laurenz Albe



Re: Tablespace size in TB

От:
Ilya Kosmodemiansky <ik@dataegret.com>
Дата:
Hi Greg,

On Sun, May 3, 2026 at 5:55 PM Greg Hennessy <greg.hennessy@gmail.com> wrote:
Is the fact that other companies are taking 
Over support for pgBackRest documented?

Making a company-branded fork is the easiest (and wrong) step. Planning how to pick up the pgBackRest project or create a sustainable, community-driven fork that re-establishes at least the same reputation requires longer preparation. We all need patience.



--
Ilya Kosmodemiansky
CEO, Founder

Data Egret GmbH
Your remote PostgreSQL DBA team
T.: +49 6821 919 3297
ik@dataegret.com


pgBackRest maintenance (was Re: Tablespace size in TB)

От:
Christophe Pettus <xof@thebuild.com>
Дата:


> On May 3, 2026, at 22:55, Ilya Kosmodemiansky  wrote:
> Making a company-branded fork is the easiest (and wrong) step. Planning how to pick up the pgBackRest project or create a sustainable, community-driven fork that re-establishes at least the same reputation requires longer preparation. We all need patience.

Dave was quite clear that someone "picking up the pgBackRest project" was not on the table.  I don't think that avenue is open.

I would feel more sanguine about the idea that a new community-suported fork will emerge if there were an existence proof of it happening in the PostgreSQL community.  I can't think of one.

We need to tell our customers something, and "the community will ride in and maintain pgBackRest, just you wait" isn't a satisfactory answer.  We can tell clients all we want that the current pgBackRest version works just fine, they don't have to change, a community standard version will emerge, and so forth, but that falls on deaf ears.  This is a backup tool; it's second only to PostgreSQL itself in the "must work all the time" camp.  All they hear is what it says on the repo, which is "pgBackRest is no longer being maintained."

I think it more likely that an entirely new backup tool will emerge, become the de facto community standards, and then we will move off pgBackRest (and its forks) onto that.

FAQ