Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fR0Ln-0006UW-Jj for pgsql-general@arkaria.postgresql.org; Thu, 07 Jun 2018 19:13:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fR0Lm-00072T-FP for pgsql-general@arkaria.postgresql.org; Thu, 07 Jun 2018 19:13:34 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fR0Lm-00072K-7H for pgsql-general@lists.postgresql.org; Thu, 07 Jun 2018 19:13:34 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fR0Lj-0007nO-9c for pgsql-general@lists.postgresql.org; Thu, 07 Jun 2018 19:13:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AB02521A99; Thu, 7 Jun 2018 15:13:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 07 Jun 2018 15:13:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=cdcDa2Z3LvU4vcduk39t5sSdv1ydY JEGnGHPsBL3hqc=; b=Oc+6KGUauXHD/5CrDwToxNaCr6iHcwsiYo13m+Gr3yUka lCVxh4W6/iN5aC/8ZPa3mJKNusE9detksMKl5ViAus4D+QnR7zJZmctGyF8EJ+xI qrRWX3RfZWrOEknHncLRMkn7UTIKauZL6Zbm4zLg6+2lgQ1HZIX9I+KDyguRTfZG ev17LXgBUyYhV4e7D92xMolYmpaE4prjlnvsvsHtujqcSUIG3OIeWtTX8d1plnR9 us2t3oQV2XpcIutF/cMvS/njLGceQxS59JGKfpFoQmP+it0molqXYwhD/cxqyyUh HZWjnlZb9jGTI9IPw1j6hb+80TrVNkVZtSMsARsOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=cdcDa2 Z3LvU4vcduk39t5sSdv1ydYJEGnGHPsBL3hqc=; b=O6mCRg36Nh6gge/d8duyPG C+xTFgucTLQeFglL+ESyJT0LbE48cwEHDFV7m6TwvTAb7w+ohOtX8OsTg8ipRnd/ dqtkiSjlpqP/DtYrF65r7zcpMS5B833OY8zMwWKMwwt/9VPYpAlOIp0Y+PbUZGXV CsczVncFQI0CFb0uyDvfTeQHn8wCtgidjEEnq1maOQb06s36v27wuYAr+V6zrM3B PHeUumIUser/uTlRZBzUGcE0K9L4zOo/kmGv9mADeGjkG6RRjdZuD5hjY+cXRdPC T1fkhGGTFr4wzTO1RN30xA+JLcrBlGqCrGqHc7Vy9gJzzm9x1YfSQGyaRQOUXboA == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.159.209]) by mail.messagingengine.com (Postfix) with ESMTPA id 110FF10266; Thu, 7 Jun 2018 15:13:28 -0400 (EDT) Subject: Re: Query hitting empty tables taking 48 minutes To: Rob Sargent , pgsql-general@lists.postgresql.org References: <186A2F70-5953-4FE4-9586-BF3F114AF1CC@logicalchaos.org> <3f0ce0f4-1103-bce8-7398-c77c7ef8c739@gmail.com> From: Adrian Klaver Message-ID: <658df6fd-c0c6-0e27-c78d-ed4c470a43d8@aklaver.com> Date: Thu, 7 Jun 2018 12:13:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <3f0ce0f4-1103-bce8-7398-c77c7ef8c739@gmail.com> 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: Precedence: bulk On 06/07/2018 12:11 PM, Rob Sargent wrote: > >> > What's the url doing in "blob_id = ds3.blob.id