X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4404AD1B4F4 for ; Tue, 4 Nov 2003 19:17:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 63188-02 for ; Tue, 4 Nov 2003 15:17:14 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 9772ED1B509 for ; Tue, 4 Nov 2003 15:16:54 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hA4JGnNu065051 for ; Tue, 4 Nov 2003 19:16:50 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hA4Il3xM059324 for pgsql-admin@postgresql.org; Tue, 4 Nov 2003 18:47:03 GMT From: William Yu X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Microsoft access verses postgresql Date: Tue, 04 Nov 2003 10:47:02 -0800 Organization: Hub.Org Networking Services Lines: 27 Message-ID: References: <3FA7E5DD.5060904@3times25.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <3FA7E5DD.5060904@3times25.net> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/33 X-Sequence-Number: 11021 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.