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 1p3cpr-0001rL-6j for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Dec 2022 12:50:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p3cos-00013F-3Y for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Dec 2022 12:49:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3cor-000133-Oj for pgsql-hackers@lists.postgresql.org; Fri, 09 Dec 2022 12:49:37 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p3col-0001xy-4F for pgsql-hackers@lists.postgresql.org; Fri, 09 Dec 2022 12:49:36 +0000 Received: by mail-pl1-x62f.google.com with SMTP id jl24so4759485plb.8 for ; Fri, 09 Dec 2022 04:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timescale.com; s=google; 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=VFX8NRumMxYFzOEhxfULORCUkejGMqsEwWQ0A1K41pg=; b=aUU73fQ5c5G5B0u2hldvkdAFt254GbnY2MfrMFigaz593Fk6fajdMyBA0twDrKFAB3 AgKkPqNDUU1MPXxKIOJQatn01fO63sMbyVaa+KB7gbYFCSQfSEGiKxqJKdKaf+F2MRbk EOjBgbi+jW5oKD4BArxLGTpaXN2XtArOBA8G9f97HhL3vhsN/tGtldQrVqsfAqtIbYc4 vy3rdrdnrHYVA3EHBaXzBVSHnbNva2MV1poAA27O38YXQawHzHFE+sDT7BmhWNIwl0o2 lWkr9VVMPZ1PXcAgim1c5l1TqYSlpKRFr92y1h0oSIHwY7NKjVARXUjYQzmj6/q4twbm du1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=VFX8NRumMxYFzOEhxfULORCUkejGMqsEwWQ0A1K41pg=; b=1UoVHXQQBgMoTsD4H8aY9L7It4CddYPCNwpamMsclAACn11JnqD4uN+tqf7nntr0r+ hHK8f2+d8GRSDj5PxInLF6hc612nAEpG1ouZ8KMfacoYB8Z68VD7Zj4svoGbtt+pXtuG ajYVjfYBqEztFXf2tmD0ciOwv8N11UxohAogOSEgYIo+Upv35n9E8UlMgB+dVHiQ4N7i LpLKXCCd3RFsLhHEqi+bfCUaaZJy/b3XKlciZUhMJoHx0+pWQ3psLIFEr8+NW//b0jjr 8PLyn/8c888LlnJLo0o4G8U9kcYR6/eD6suTbfwZYr0kZJIvabx8T2J0wCgsFnFrnFNF HxcA== X-Gm-Message-State: ANoB5plrj6b2JTjQCWpRr/w+lWwJguMNZC7ehuvovuFXWsSBPqS034hl TXQC2EXbgIy8MJttgQJP3V7FmzUuHwWz0gVoy/28ATNJ9dQRKo5PRDM= X-Google-Smtp-Source: AA0mqf4gffhGCg3Lqqc+VTE+eGBgJB3bG3cIPadfKGL4h86ryhF+61LjX+vqsoxQIhk5LCy4fWVIvNDryIgWAWilAso= X-Received: by 2002:a17:90a:e398:b0:219:61e2:226b with SMTP id b24-20020a17090ae39800b0021961e2226bmr42804050pjz.11.1670590169890; Fri, 09 Dec 2022 04:49:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Aleksander Alekseev Date: Fri, 9 Dec 2022 15:49:18 +0300 Message-ID: Subject: Re: Add 64-bit XIDs into PostgreSQL 15 To: "pgsql-hackers@lists.postgresql.org" Cc: adherent postgres , Chris Travers , Chris Travers , Bruce Momjian 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 Hi adherent, > Robertmhaas said that the project Zheap is dead=EF=BC=88https://twit= ter.com/andy_pavlo/status/1590703943176589312=EF=BC=89, which means that we= cannot use Zheap to deal with the issue of xid wraparound and dead tuples = in tables. The dead tuple issue is not a big deal because I can still use p= g_repack to handle, although pg_repack will cause wal log to increase drama= tically and may take one or two days to handle a large table. During this t= ime the database can be accessed by external users, but the xid wraparound = will cause PostgreSQL to be down, which is a disaster for DBAs. Maybe you a= re not a DBA, or your are from a small country, Database system tps is very= low, so xid32 is enough for your database system , Oracle's scn was also= 32bits, however, Oracle realized the issue and changed scn to 64 bits. The= transaction id in mysql is 48 bits. MySQL didn't fix the transaction id wr= aparound problem because they think that 48 bits is enough for the transact= ion id. This project has been running for almost 1 year and now it is comin= g to an end. I strongly disagree with your idea of stopping this patch, and= I suspect you are a saboteur. I strongly disagree with your viewpoint, as = it is not a fundamental way to solve the xid wraparound problem. The Postgr= eSQL community urgently needs developers who solve problems like this, not = bury one' head in the sand This is not uncommon for people on the mailing list to have disagreements. This is part of the process, we all are looking for consensus. It's true that different people have different use cases in mind and different backgrounds as well. It doesn't mean these use cases are wrong and/or the experience is irrelevant and/or the received feedback should be just discarded. Although I also expressed my disagreement with Chris before, let's not assume any bad intent and especially sabotage as you put it. (Unless you have a strong proof of this of course which I doubt you have.) We want all kinds of feedback to be welcomed here. I'm sure our goal here is mutual, to make PostgreSQL even better than it is now. The only problem is that the definition of "better" varies sometimes. I see you believe that 64-bit XIDs are going to be useful. That's great! Tell us more about your case and how the patch is going to help with it. Also, maybe you could test your load with the applied patchset and tell us whether it makes things better or worse? Personally I would love hearing this from you. --=20 Best regards, Aleksander Alekseev