Re: PostgreSQL Portable

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: PostgreSQL Portable
Дата
Msg-id 5410C797.5080301@pinpointresearch.com
обсуждение исходный текст
Ответ на PostgreSQL Portable  (Daniel Begin <jfd553@hotmail.com>)
Ответы Re: PostgreSQL Portable  (Rémi Cura <remi.cura@gmail.com>)
Re: PostgreSQL Portable  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-general
On 09/10/2014 02:00 PM, Daniel Begin wrote:

First, I am a Newbie regarding PostgreSQL …

 

I just started to look at PostgreSQL to implement a large GIS DB (1Tb).  The data must reside in an external disk with eSATA connection and may be moved to different locations (and Windows desktops/laptops). I was looking to install PostgreSQL and PostGIS extensions on each PC (setting-up the proper PGDATA directory to the external disk) until I read about PostgreSQL and PgAdmin Portable …

 

http://sourceforge.net/projects/pgadminportable/

http://sourceforge.net/projects/postgresqlportable/

 

Is that a viable alternative considering the expected size of the DB? Any comments or proposal would be appreciated J

Daniel


It appears you are looking to take the PostgreSQL data directory from machine to machine on an external drive. I fear you will run into some potential problems:

1. Performance (mentioned by others).

2. OS mismatch. Have you ensured that all client machines are running identical setups? The underlying files are not guaranteed portable between OS versions and 64/32-bit. In fact they probably won't be.

3. Backups. What happens when one user screws up the database?

Perhaps you could explain further the genesis of this requirement. The message list is littered with questions like this asking how to implement a certain solution when, given an understanding of the reason the question is being asked, a far better solution exists. This happens even more often when the person asking is a "newbie."

Cheers,
Steve

В списке pgsql-general по дате отправления:

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: PostgreSQL Portable
Следующее
От: Daniel Migowski
Дата:
Сообщение: Re: PARTIAL, DEFERRABLE UNIQUE CONSTRAINTS