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 1t6Asl-00B9Uw-HM for pgsql-general@arkaria.postgresql.org; Wed, 30 Oct 2024 15:45:15 +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 1t6Asj-00ACVt-TJ for pgsql-general@arkaria.postgresql.org; Wed, 30 Oct 2024 15:45:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t6Asj-00ACVk-Hh for pgsql-general@lists.postgresql.org; Wed, 30 Oct 2024 15:45:13 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t6Asg-003qNe-MN for pgsql-general@postgresql.org; Wed, 30 Oct 2024 15:45:12 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3807dd08cfcso22322f8f.1 for ; Wed, 30 Oct 2024 08:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bowt-ie.20230601.gappssmtp.com; s=20230601; t=1730303109; x=1730907909; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2yrNPy+h8VVGj3do6D3KSWcrWcnETe8Ov4ZWBY1+7Ds=; b=lW0wFhzASLsvIbyvBO8bgo79/TpZABJ2QQSr8KTeTKOs+bnIwZFpAhkezErd3waIQ0 XGCTtlu71Yu0qowRBgZv2NcO7jJnkEipc/0tFT4tW7FPYDcFHGUEd2foKLrnhct0LD4M rHB9hrmUZEgqZFvf49/X6a13ONgjx7+3MXBO8JggdkU8/MhHeY/tFYZlnHBa648Wh+Ss Qov52zysnPpYzAJHuczpf/y7Y5QP9XGLHFeLGwdHSb46vNlr4kNVUdHA+NLw/Wjd8Szp qPLVieF5+YTU7hMoInxltOPDne38POEf+U7hE4k7HCHqnb746GAAUGrB/hR5RDPqpA2V Vv3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730303109; x=1730907909; h=content-transfer-encoding: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=2yrNPy+h8VVGj3do6D3KSWcrWcnETe8Ov4ZWBY1+7Ds=; b=Cd0IfrcqNXh9ZB3ZZ2DMBHtwL6eR0o6DOgCbvMi24X5Mn6PjqiUJvRvF5nUriab2lp N5Kl8CTil7SFUfCubSHbDsrNWQleL8UcjZLMww7e3s2v5qdMi5dp8hWGSJAPW5jNWj8w eubHDuvxxE79r0ev0hAxHrKSVw4RffmvEDk2l6t/BzCux2ObAIfFp0aEHj/CKECtL+3+ kSn0dpnvq3tyfSVS/gC2g96qi/RlI/+97j5f7M1tXNbTUFthkr8Ml71RdG5g5Nkvawwx T8BbInbuB36nmuyL8SwsDSHedOl7kKKUbyC3vdFASX8tRaqj9hrOtByG9yOu2W5sSoZs flKQ== X-Gm-Message-State: AOJu0YyqUMA0AvdQQXUhPy+wT+8ceKta/f90B1cqjBWlJeJbbIjazVFl IXJU5fZ87By4tVlQndBQsMnMrqwDgnjfPg8kCGDJdKuT1/ja8CvqmI9JTHb+HnkXbKdydKd5+Gp XbhmMzryj3kAm7hXCU9WfShKt4qNA711Kz1gPFSh18Wo0MkNn X-Google-Smtp-Source: AGHT+IHr5ZC+LXlBGl5WHOHb8QVDcWocskLvPCjj3B8GPBiBp2pTsC2QySURsIbHWsHlU9fZfhFmoa3GbahWB+aHUiE= X-Received: by 2002:a5d:4b50:0:b0:37d:61aa:67de with SMTP id ffacd0b85a97d-38061228472mr15563290f8f.42.1730303109525; Wed, 30 Oct 2024 08:45:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Geoghegan Date: Wed, 30 Oct 2024 11:44:43 -0400 Message-ID: Subject: Re: Index Partition Size Double of its Table Partition? To: Don Seiler Cc: Postgres General Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Oct 30, 2024 at 11:39=E2=80=AFAM Don Seiler wrote: > Thanks Peter, I'll look into that shortly. It sounds like you have no updates and deletes. Right? So the only thing that could be different is the way that the pages are being split (aside from variations in the width of index tuples, which seems highly unlikely to be the only factor). The heuristics used to trigger the relevant behavior are fairly conservative. I wonder if we should be more aggressive about it. > I should have also included that this is on PG 15 (currently 15.8 but we = created the indexes when it was still 15.7) on Ubuntu 22.04 LTS. That shouldn't matter, as far as this theory of mine is concerned. Anything after 12 could be affected by the issue I'm thinking of. --=20 Peter Geoghegan