pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Yu <wyu@talisys.com>
To: pgsql-admin@postgresql.org
Subject: Re: Microsoft access verses postgresql
Date: Tue, 04 Nov 2003 10:47:02 -0800
Message-ID: <bo8s77$1ptr$1@news.hub.org> (raw)
In-Reply-To: <3FA7E5DD.5060904@3times25.net>
References: <A18F646C74D7A949955C5C746FC9BF481CA916@jupiter.galileo.com.pl>
	<3FA7E5DD.5060904@3times25.net>

Geoffrey wrote:
> I've got a client who is following my suggestion that they replace a set 
> of excel spreadsheets with a database solution.  They are looking at two 
> proposals, postgresql solution or an Access solution.  The requirements 
> will include vpn connectivity from one site to another.  It appears they 
> will be going with the Access solution.  I've got concerns regarding 
> this based on research I've done that seems to indicate that Access, 
> when used in a multi-user solution is easily corrupted.  Does anyone 
> have any knowledge/experience with such issues?
> 

My experience: Access, like any desktop-based database, is subject to 
data corruption in multi-user environments. Pretty easy to picture when 
every machine keeps chunks of data in their local memory, has to write 
back to the network and then somehow push the updates to the other 
clients. You *can* avoid data corruption using very strict locks -- but 
you can't use Access' built-in table/row locking as those functions also 
suffer from the same multi-user synchronization problem. What you can do 
is to write your own locking functions based on file handle access. Make 
a temp dir on a network and everytime you want to update/insert, attempt 
to create a file based on the table/record (e.g. CUSTOMERS-0 for 
inserts, CUSTOMERS-1000 for specific records) -- a valid file handle 
would then mean you have a lock. For the most part, you can avoid data 
corruption if you bypass the built-in locking functions but you will 
still have to periodically take down the system during production hours 
for reindexing when even these measures fail.




view thread (16+ messages)  latest in thread

Message-ID: <bo8s77$1ptr$1@news.hub.org>
Permalink:  ../bo8s77$1ptr$1@news.hub.org/
Also on:    postgresql.org/message-id/bo8s77$1ptr$1@news.hub.org

 · 

reply

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-admin@postgresql.org
  Cc: wyu@talisys.com
  Subject: Re: Microsoft access verses postgresql
  In-Reply-To: <bo8s77$1ptr$1@news.hub.org>
  References: <A18F646C74D7A949955C5C746FC9BF481CA916@jupiter.galileo.com.pl> <3FA7E5DD.5060904@3times25.net> <bo8s77$1ptr$1@news.hub.org>

* 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