From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Copy & Re-copy of DB
Date: Sat, 23 Jan 2021 09:17:14 -0600
Message-ID: <95187928-f291-6595-c26f-54faa37a67f9@gmail.com> (raw)
In-Reply-To: <1402129814.2072651.1611406363403@mail.yahoo.com>
References: <1776022013.3890342.1611234824367.ref@mail.yahoo.com>
<1776022013.3890342.1611234824367@mail.yahoo.com>
<00b51766-0fb1-6c6c-82c1-e08cf122e798@rodonnell.ie>
<1829358841.3898628.1611237155653@mail.yahoo.com>
<CAD3a31ULW3QB17zyc_27F+J3DW9mgorOMo3Tgm+Xa1rc=1pPhg@mail.gmail.com>
<132794689.1264279.1611299517588@mail.yahoo.com>
<CAD3a31U2c_XGOonZo6e_UKNVZ0p3aFefAHm5RUHeoHMh-SHX2Q@mail.gmail.com>
<CAD+mzowaFe0_7_NMLWYUWFfCqSNdA9GDbpK+vAQLyu0n=wAheQ@mail.gmail.com>
<20210122142132.GA10505@campbell-lange.net>
<CAD+mzox6rwny6kKWf6y3KthfF72dsi3Muo6vsu2Gd_zDvG=u5Q@mail.gmail.com>
<20210122155749.GA13685@campbell-lange.net>
<1402129814.2072651.1611406363403@mail.yahoo.com>
On 1/23/21 6:52 AM, sivapostgres@yahoo.com wrote:
> We are an ISV. I agree the risk involved in sharing the data. Still few
> of my customers need that facility and are accustomed to it when using SQL
> Server. On switch over to PG, I face this issue as a limitation. Need to
> find and provide a solution.
>
> For those customers, having good volume of data, we're implementing
> replication which resolves this issue. For smaller sized database
> (company(ies)), they prefer (and we too) this copy and re-copy procedure,
> to transfer the data between home and office.
>
> And this pandemic made this a compulsory feature, which they don't want to
> loose. This transfer is not a one time job, it gets repeated, which they
> have been doing for years. Here security is not a big concern for them.
>
> Portability is the need for them.
Sadly, the architecture of Postgres means that there's no concept of
detaching *a single database*.
If you only have one database in the "cluster" (ancient Postgres term for
"instance"), then you can stop the cluster "-m smart", tar up data/, and
transfer it across. You'll need to have a directory on your dev server,
custom postgresql.conf (that among other things uses a different port
number) and pg_hba.conf files,
TBH, tarring data/ isn't really necessary.
> Happiness Always
> BKR Sivaprakash
>
> On Friday, 22 January, 2021, 09:28:13 pm IST, Rory Campbell-Lange
> <rory@campbell-lange.net> wrote:
>
>
> On 22/01/21, Benedict Holland (benedict.m.holland@gmail.com
> <mailto:benedict.m.holland@gmail.com>) wrote:
>
> > Sometimes it is easier to simply > replicate the existing bad process
> > that a team agrees to rather than making > a better process.
>
>
> As Alvar Aalto said in a lecture at MIT
>
> It is not by temporary building that Parthenon comes on Acropolis.
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Copy & Re-copy of DB
In-Reply-To: <95187928-f291-6595-c26f-54faa37a67f9@gmail.com>
References: <1776022013.3890342.1611234824367.ref@mail.yahoo.com> <1776022013.3890342.1611234824367@mail.yahoo.com> <00b51766-0fb1-6c6c-82c1-e08cf122e798@rodonnell.ie> <1829358841.3898628.1611237155653@mail.yahoo.com> <CAD3a31ULW3QB17zyc_27F+J3DW9mgorOMo3Tgm+Xa1rc=1pPhg@mail.gmail.com> <132794689.1264279.1611299517588@mail.yahoo.com> <CAD3a31U2c_XGOonZo6e_UKNVZ0p3aFefAHm5RUHeoHMh-SHX2Q@mail.gmail.com> <CAD+mzowaFe0_7_NMLWYUWFfCqSNdA9GDbpK+vAQLyu0n=wAheQ@mail.gmail.com> <20210122142132.GA10505@campbell-lange.net> <CAD+mzox6rwny6kKWf6y3KthfF72dsi3Muo6vsu2Gd_zDvG=u5Q@mail.gmail.com> <20210122155749.GA13685@campbell-lange.net> <1402129814.2072651.1611406363403@mail.yahoo.com> <95187928-f291-6595-c26f-54faa37a67f9@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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