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 1hSmrD-0004qn-Eb for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2019 18:17:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hSmrC-0003Oq-2i for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2019 18:17:54 +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 1hSmrB-0003Oe-Pf for pgsql-general@lists.postgresql.org; Mon, 20 May 2019 18:17:53 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSmr9-0004mo-QU for pgsql-general@lists.postgresql.org; Mon, 20 May 2019 18:17:53 +0000 Received: by mail-qk1-x741.google.com with SMTP id q197so9412801qke.7 for ; Mon, 20 May 2019 11:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Lov/O+CR8oig6Elc9XARR9Dm5HNjT7d4VEhwvS6+6Rk=; b=L3rk+wHxHVnr0iBOXWPfgTh1Owfo6Ar3/zTubV+R7bV5yiIhdVVbMSKW7NVitaFnqG kQnIcbsGkp4mWARQaVmkVK5wDO2exBrEVxoKVxKAuWCpE4VBspPzTKb/9DtXv5FNtRNS k7bzOlvOn8sapMG4t0KdEaEaZlsd8UvzJxKfdU+8/r7mdJJxAWf0kRzdGEwihLBUrdGd Ex4OTL8P3M+LQMqqDC05YL6ZoMH14Lqhdb4OOGTxObGDNsChDBSp+JPZJKO24/EpG8ZQ SaSrrOKGZYENItB2+FjRn8hJPaBPD5noO5JlRaOYH9mxN+ZCQM0zo+uHWy/jqmCC6YB1 PCBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Lov/O+CR8oig6Elc9XARR9Dm5HNjT7d4VEhwvS6+6Rk=; b=dcr/n2dXmfJRV0j7IKhZok/vYNLKongtINGDLkkMcIr1uQVt0GOolU+JFQjmGg7D6o 68yJ22ttYSB2mZlgqBec1Fe0GiD8CMWsXhrK8J8yC6NRMvHz7h6ZXqpTniVis3JmzfaG Lur/O4Vwq/EZOQR/6HHWQ9P1/m2fW2RHP0V7yi7zW6wEH7pqgJK69gQSdG02P8/U1t6u X0p15FeRiLLaYsVQmapbwFFWeH23Yh0L63pHYH9xq71FLXhJ+SVV65Eq2btyf0Qw8rP9 L2ohhrTbuZ8I1MgkT4CYrYkY+lX5f3O+fe9ATO2UIgqMqQO2nK5jO3FPi6ms9tt0ivq2 bM2Q== X-Gm-Message-State: APjAAAUlb6xnS5Yxrf/j7qERy2FlejWLkAGd4n1eC8wGTSDsPX8aVR3Z ax/SEAs1hSLrS1B3FoG++e4= X-Google-Smtp-Source: APXvYqzLOArizN7a3hoLBgDSZxjbN+C1DimWaEsZ1RBVI4sXYnDv+jS4eMA1vgpLBrPdzR1t6pVpfA== X-Received: by 2002:ae9:ef4c:: with SMTP id d73mr45920423qkg.325.1558376270245; Mon, 20 May 2019 11:17:50 -0700 (PDT) Received: from [10.35.60.64] ([64.164.57.170]) by smtp.gmail.com with ESMTPSA id q56sm11628136qtk.72.2019.05.20.11.17.48 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 May 2019 11:17:49 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Loading table with indexed jsonb field is stalling From: Will Hartung In-Reply-To: <24634.1558375976@sss.pgh.pa.us> Date: Mon, 20 May 2019 11:17:47 -0700 Cc: Will Hartung , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <36F908DB-2F04-44F8-8C2E-7FD630882E0E@gmail.com> References: <20505.1558202555@sss.pgh.pa.us> <90835D2B-1FBA-4F26-8157-7C831C24B266@gmail.com> <24634.1558375976@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3124) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On May 20, 2019, at 11:12 AM, Tom Lane wrote: >=20 > Hmm, so not a deadlock (plus you're running a version that has that > bug fixed). It sounds like you might have hit an actual bug, perhaps > one that causes it to endlessly re-split an index page, or something > along that line. But it's going to be hard to find the cause without > a test case. I don't suppose you can anonymize your data to the > point where you'd have a publishable test case? That would take some time, thankfully it seems reproducible with a few = million rows. I=E2=80=99ve moved the files around a little bit (not aggressively) and = it still stalled, so I don=E2=80=99t think it=E2=80=99s something = specific to the data. But we=E2=80=99ll have to play with it and see. Thanks.