Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxwlx-0005TT-Aa for pgsql-general@arkaria.postgresql.org; Wed, 14 Aug 2019 17:09:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hxwlv-0006pI-D4 for pgsql-general@arkaria.postgresql.org; Wed, 14 Aug 2019 17:09:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxwlv-0006l3-1h for pgsql-general@lists.postgresql.org; Wed, 14 Aug 2019 17:09:15 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxwls-0004Ih-Q9 for pgsql-general@lists.postgresql.org; Wed, 14 Aug 2019 17:09:14 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 2BA07993A2 for ; Wed, 14 Aug 2019 10:09:09 -0700 (PDT) Date: Wed, 14 Aug 2019 10:09:09 -0700 (PDT) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Converting Access .mdb to postgres Message-ID: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I have the need to convert a flat-file Access database to postgres. I've exported the .mdb tables using mdbtools. There's an accompanying metadata PDF with column names and data types for each of the 84 tables, but no description of the tables or column headings. I've asked the agency to provide that information ... if they have it. No table has primary or referential keys and, of course, there's no E-R diagram of the schema. If anyone's done this I'd appreciate learning from your experiences. And I assume there are no tools to automate all or part of the process so it must be done manually. Among the tables are many lookup tables. I don't know whether to leave them as tables or apply a different structure to them. Advice, suggestions, and recommendations are all welcome. TIA, Rich