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 1hMXSU-000652-4s for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2019 12:38:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hMXSQ-0001PS-QY for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2019 12:38:30 +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 1hMXSQ-0001PK-Gi for pgsql-general@lists.postgresql.org; Fri, 03 May 2019 12:38:30 +0000 Received: from mail-ot1-x342.google.com ([2607:f8b0:4864:20::342]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMXSO-0002Um-Bc for pgsql-general@lists.postgresql.org; Fri, 03 May 2019 12:38:30 +0000 Received: by mail-ot1-x342.google.com with SMTP id b18so5136741otq.3 for ; Fri, 03 May 2019 05:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Seo5jjiHl7IrLY7unclgdtHFiw+Axo+MXcAl7vdTfFM=; b=dnDvHXT+e8d9N68vU9rEKtcYzENC4233WyDgABHIXSYWIhVAlt0cBUmAMAv3n1eM7j WGAGq9dTpT1NPxyAclxGlhXs+jBne58cTOKeXvhVr4Xwgea157RGDwCMrfxGeGNPywNZ 58kdjo3rBbazw436SLGmlmevCBVVnPv7jB5vfJeTlhZ9QGVcq8dKh25tCj4fcpiaMKhP K4kWmDsjzmWLlQ9p9p0hbrUtgdYEOUKViI/MmQMzRanlCMmrIyHpQBBAbFErXNtiGVsa IRZfW5KRcTi6y5ThshNXs45OnUFAdizEoHFuCbCytLpeUStig7QmeTO5RscMXbpG1nMX I84w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Seo5jjiHl7IrLY7unclgdtHFiw+Axo+MXcAl7vdTfFM=; b=ToBofPlGLtvmbdHK4SnLpg0hIO95u7i4+OEKN1pn4qIpO4S1ozz/oWS44NRl7GCxfk rZWXu8Wsljgul6DVMNvEjvusmR/65Xa9UOP/xn4QCcESbNo8JeEeCxOKyuLpnlH9o3wZ 9CAY5jObB6Il03LEG7Nh2efAxbhmQ+2v/ptMYg8ZaFQk6gVS+XfgrBQtOh8J+gXdxNfl aS/1JXj4sHV6aILQ43DTvGcGGp3PkFkIpeWcvqa3hDtyz1EGGcKCT4UN7UBbvQyGOoG3 0gKPGzxwhKHJyuSnpNCfZRDSJ95lKCnjFaLfllu7f2zaYy4j2gGcy6RADD73r7jzuy5j U5qw== X-Gm-Message-State: APjAAAUcWFZ/+jSUoyO87CI7aemdZ+5YIOZBoQsiiYqJrfb4jle6B8dh SgHuSdt479FRQapN+QszviIxxKieHoU= X-Google-Smtp-Source: APXvYqyOEdB0/RxeDAGcAyD00eTepDbqAjLYvX3OrJNtrcUOLMW1OSViuF04GWJ/TEdmxtPwOonFEA== X-Received: by 2002:a9d:7185:: with SMTP id o5mr6527632otj.245.1556887105057; Fri, 03 May 2019 05:38:25 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id x12sm425933otq.19.2019.05.03.05.38.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 May 2019 05:38:23 -0700 (PDT) Subject: Re: Migrating database(s) from Sybase ASE 15.7 to PostgreSQL 10.6 on Linux To: pgsql-general@lists.postgresql.org References: <20190503115651.GA22389@sh4-5.1blu.de> From: Ron Message-ID: Date: Fri, 3 May 2019 07:38:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190503115651.GA22389@sh4-5.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/3/19 6:56 AM, Matthias Apitz wrote: > Hello, > > We're investigating the migration of our LMS (Library Managment System) > from Sybase ASE 15.7 to PostgreSQL 10.6. The used database in field have > around 400 columns, some of them are also containing BLOB (bytea) data. > The DB size vary upto 20 GByte. The interfaces contain any kind of > language one could imagine :-) ESQL/C, JDBC, Perl DBD, ... > > Re/ the migration of the data itself, are there any use case studies > which could we keep in mind? We plan to export the tables with our own > tool which produces CSV with delimiter '|' (and \| if the char | is in > char columns too) and with hex representation of the BLOB data. This seems > to fit nicely with PostgreSQL's COPY command. > > Any known pitfalls? Do you have many stored procedures, functions, etc? -- Angular momentum makes the world go 'round.