Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tgPaE-00ARTy-RQ for pgsql-performance@arkaria.postgresql.org; Fri, 07 Feb 2025 14:43:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tgPaD-002915-UC for pgsql-performance@arkaria.postgresql.org; Fri, 07 Feb 2025 14:43:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tgPaD-0028w8-K6 for pgsql-performance@lists.postgresql.org; Fri, 07 Feb 2025 14:43:53 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tgPaB-003miF-0z for pgsql-performance@lists.postgresql.org; Fri, 07 Feb 2025 14:43:52 +0000 Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-84cdacbc3dbso157828639f.2 for ; Fri, 07 Feb 2025 06:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738939431; x=1739544231; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Hd32aEx3dN7yYpXm1aOJxj3e2OFWxY0exHA9cvFXN80=; b=YqrfY5oZvsSuMIRUZFTFMheqw2+pQPKqoCLrjFf3cKY5BXqkwRlRn4VFYKZ1UXW/6M BVyQ4cjK+twzFhCfT9hLMIA7i8egUV8JajomvQw3TCoxBJ0WHQF4CK7fqqvE1i+GxONB sOxl1W7d282+CXwjytBBTG6jinC4cS3/9YzUUl17qAHzk5tYykWkN/NkV793yF8GZAj+ jXhGm3Hjd4NkbLecncgFELxVzU2nfTz/qnWMs+KLZazOmEZAPfX9ZGINyGn1WaLc67dp 9tT04MQwhLalL8EgpBk+yGF5J7ptSPnAoRI6DGIU5rEW/kr/RPmgAJgXBy/oDWNnAhcT Ymuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738939431; x=1739544231; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Hd32aEx3dN7yYpXm1aOJxj3e2OFWxY0exHA9cvFXN80=; b=jnLVBVjRXCxm2Z9eZrV+sJi6M4mdhrIwOS8fHhdNTd00gyZutFpXEDqDGTvsddWB3D td9mPbFI6XERgzcXjHuVEMmD9k3QkCqYWaqnJC5kyjy+GMVX+Dp56l98jOJownJjw31a LXAhrjbTWjShe+P88Zk/79+Yaghb4aqtXCih59qUTnJhI0ZrSdvMci8rfJ1pNc6sWRS9 rMxICk1k/LOkbBm1pk+kBXtz2QeJ2NU2sUjgWuoNG1awUyQRV6c/zW9YWtGRnwzxahXY W77KtieOmQ+tBUG9wf5FgrylIffBtPnrsnc1Jc0IWnjqOJtXLVf/L8ASYNxFX8Zjax5p wkYA== X-Gm-Message-State: AOJu0YxhEZxmGEJ/JulIDIli6bsoMhscok021h59zMGJQGfJu1rk8bCC ha4koOu/HLwBg5iN8iTbxKxCOi9G0h8alJBh70nHvIAwpdyq8nUiYMibvYgMaIy7g4zWc1ApBlD dH+tWK9OW4pxVL4E13dU593PzK4I= X-Gm-Gg: ASbGncu3LEkrYfKKlN6Mn6KTre5CxvK55igHVGh/BbXv1IF+0Xh7wxl0rKo98s7Z5FY 1yNHqxlxNyfyNEeU8U96wBL5AlLqEV9HBK4qcNs+7P9Y6hsibZOVxkpByc1UOcIM8mEH0Cfdruj HJZjuZrJ1fgv6jKrjpJzkIrjvbX0+xIb8= X-Google-Smtp-Source: AGHT+IEz1nWo+dQeS8zYamXVVwEmorICs/8R0jjQzPI+pE3NUCzfMSH2AkYDCOTmkkvFBkI43pmswcsXjEO+y2HOj2c= X-Received: by 2002:a05:6e02:1a41:b0:3d0:147a:b5da with SMTP id e9e14a558f8ab-3d13de77c41mr27012765ab.5.1738939430966; Fri, 07 Feb 2025 06:43:50 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Greg Sabino Mullane Date: Fri, 7 Feb 2025 09:43:14 -0500 X-Gm-Features: AWEUYZknCj4PSgBUVadX35Iq69MZ6bwhkfdriL9CUZyAFCEz5mmmAzsXfZD89kY Message-ID: Subject: Re: Poor performance with row wise comparisons To: Jon Emord Cc: "pgsql-performance@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000011a186062d8e6325" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000011a186062d8e6325 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 7, 2025 at 2:05=E2=80=AFAM Jon Emord wrote: > but with limit 101, the extra shared hits return > Can you show the explain analyze for the limit 101 case? Cheers, Greg -- Crunchy Data - https://www.crunchydata.com Enterprise Postgres Software Products & Tech Support --00000000000011a186062d8e6325 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Feb 7, 2025 at 2:05=E2=80=AFAM Jo= n Emord <jon@peregrine.io> wr= ote:
=C2=A0bu= t with limit 101, the extra shared hits return

Can you show the explain analyze for the limit= 101 case?

Cheers,
Greg

--
Crunchy Data - https= ://www.crunchydata.com
Enterprise Postgres Software Products & T= ech Support

--00000000000011a186062d8e6325--