Re: Move vs. copy table between databases that share a tablespace?

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Move vs. copy table between databases that share a tablespace?
Date: 2019-04-03 13:33:54
Message-ID: 6350b533-4410-358f-f9f5-99be7abdaf0b@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/3/19 8:18 AM, Steven Lembark wrote:
> Trying to find a way of moving a large table between databases
> in the same cluster. There is not sufficient space to copy the
> contents -- the dedicated tablespace that fits the beastie is
> on an 80% full disk.
>
> Given that the two databases live in the same cluster and have
> the owner & the tablespace in common, is there any way to move
> the contents without a dump & reload?

COPY TO STDIN and pipe that through ssh to another server?

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2019-04-03 13:36:28 Sv: SQL queries not matching on certain fields
Previous Message Torsten Förtsch 2019-04-03 13:30:00 Re: SQL queries not matching on certain fields