Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO1N8-0008Dt-Di for pgsql-hackers@arkaria.postgresql.org; Sun, 21 Mar 2021 16:56:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lO1N7-0008OZ-8m for pgsql-hackers@arkaria.postgresql.org; Sun, 21 Mar 2021 16:56:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO1N7-0008OK-1l for pgsql-hackers@lists.postgresql.org; Sun, 21 Mar 2021 16:56:13 +0000 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lO1N0-0003iq-5Y for pgsql-hackers@postgresql.org; Sun, 21 Mar 2021 16:56:12 +0000 Received: by mail-qv1-xf33.google.com with SMTP id x27so7572810qvd.2 for ; Sun, 21 Mar 2021 09:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wi3ck-info.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7xX+IKrqAD1LPZkvl6ZXfuEe3Q+ODNxQDbDHHclPoIY=; b=wpULEH8DgoyErjZ9n2wII6ql2Efigq/waM4pVtDEfJnmfW2jb1tHwWdQct5k50VvTo jIrSyFmggjro/x10D9z4QkWxL2pMozfShLf3wi2KmEF8RuruhsUNRCBK8z4bpzEgUBl0 Fqk6F3jJg38HWxa1n1AnYJGCvr7jQA6d1BmgS7Ber4U5NWFgbnYflhAB6C4TzyAR39sB tS+6MPLh4TBw4L+ozpQbQNRP4yUVACkT9trXTfWHdxhbbR21YErZxYnmPTJo4QyCAzdm 96h3/MvIgfcmCKYOLF1AM00VYZt9yql+WGtQjlqeNMzliVRsMrQvC2uY//WJ+4uBR9+Q J5mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7xX+IKrqAD1LPZkvl6ZXfuEe3Q+ODNxQDbDHHclPoIY=; b=UqLXCxuG1iuqxSbjv4qvVxad4zevsiVmKWTCFId33fON1ndsFpnWGXZ074Z/OBn1at +Qt4YeYCcG37WEfHPsbPpEXX0xfAnPgGLjZRO+YoTkjk/OvIImYzgAK2fMzzOJRgUwuW Hq/6W7Q8yBvgzNIkoz+wfDJWb4wEzzHmHEF9/gK/Zy4ZJ/8EKpDqV8kKTuxi4e+ZBCIU AfAR9DoKpRXPzQRdAEkEQCjcGwFBIjlc+CvltX71SKZDbyQAH9aEZMS2bAUioztB7UaU 6g9DzhoeIVYPpS8ya6j53Vo8xsv3HJH1CuEFkc/Pye228/2dTQ7toopnf6d4fDeXlc9u Q4iA== X-Gm-Message-State: AOAM533Dio/fymDwZuF1FpHnkLBHP/lrofycVOPZDTFpKDAMOwBP4PBK 72PyK85TRWIT/lyJLCJfd/BEjs2KiUHc8hca X-Google-Smtp-Source: ABdhPJxU9UZngv5FHJbIMeZ+VOLT55ZpXtLv3p/wKvjOplukfRkPEEeQ+yoO7plkzVlN++sb/iUYHA== X-Received: by 2002:a0c:e9c7:: with SMTP id q7mr17772122qvo.7.1616345763638; Sun, 21 Mar 2021 09:56:03 -0700 (PDT) Received: from jupiter.onmars.janwieck.no-ip.info (pool-98-114-241-134.phlapa.fios.verizon.net. [98.114.241.134]) by smtp.gmail.com with ESMTPSA id z188sm8984181qkb.40.2021.03.21.09.56.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Mar 2021 09:56:03 -0700 (PDT) Subject: Re: pg_upgrade failing for 200+ million Large Objects To: Andrew Dunstan , Tom Lane Cc: Magnus Hagander , Robins Tharakan , Peter Eisentraut , "pgsql-hackers@postgresql.org" References: <1742698.1615221182@sss.pgh.pa.us> <1743618.1615222719@sss.pgh.pa.us> <4fbf92f2-ec91-f4fa-a259-f0968e34f3d7@wi3ck.info> <181907.1616253799@sss.pgh.pa.us> <147fa478-510b-18ef-5323-9c1725b2493c@wi3ck.info> From: Jan Wieck Message-ID: <5bdcb010-ecdd-c69a-b441-68002fc38483@wi3ck.info> Date: Sun, 21 Mar 2021 12:56:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/21/21 7:47 AM, Andrew Dunstan wrote: > One possible (probable?) source is the JDBC driver, which currently > treats all Blobs (and Clobs, for that matter) as LOs. I'm working on > improving that some: You mean the user is using OID columns pointing to large objects and the JDBC driver is mapping those for streaming operations? Yeah, that would explain a lot. Thanks, Jan -- Jan Wieck Principle Database Engineer Amazon Web Services