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.96) (envelope-from ) id 1vQjZK-00GJ7Z-1I for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 09:54:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQjZI-00CYEo-1X for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 09:54:40 +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.96) (envelope-from ) id 1vQjZI-00CYEe-0Z for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 09:54:40 +0000 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vQjZG-002te5-0B for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 09:54:40 +0000 Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-8b2df1e0c10so113996085a.0 for ; Wed, 03 Dec 2025 01:54:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764755676; x=1765360476; 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=KG04QDICdUqYX+ZhAjzqP+nPiCXGanAOoNQkgbHipyQ=; b=BJaLxhAE3GS/+i8DCATkwxXNC7l6f8GoLoIDrDvdsdnukcyPypxBz8nm0IPmjG/ALc kSa8QyzoELZBDWn63oOiwgsNgrHmObyhPCyuOlVvmzyMk0quxoHFzd2xWNV+mbVp2PCx wwbO1Svk/QIps/tfQeFfD1b9Ej8Vgom6JFCiglKuvdjT3APYBVixj0dMlaPKW78WGURG e6/Lf5iKsdnRlsOlpUMJoqJquT4Ewolw6X24PMvOtqFgAk5y2OTEioh2w3kbY9VrkTK1 TQdwT9+9bgTsvzUhhUkbRKuFGqQ87lzcyO48iyBIabTK4tXh6tJMgHDBT2qjLSf9vmfo YKKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764755676; x=1765360476; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KG04QDICdUqYX+ZhAjzqP+nPiCXGanAOoNQkgbHipyQ=; b=Kg/r1Tf/8Gyx9GuYn2Vah0DRkDlJNnUGLnz3Ym5oeNw5V+FW8F4rvMJNPsUYQqIdqn Nq23eyVRhBtAGW+vxjBrR+T3MNRRsZJZ2427E3z6Jxd7B7NQeOv6jLq9oLEkwLvMuOp1 ojFm+YFK4vyIFUFAZJMfkdiusS5M2/Son5fkEzinJfkMCjz6Atb3B+GJakM+JoQJNSCh 1Vu07iLutSg66gySSXzcDj2BLuks2PHR5WpN8nD40WRQm3YwAhKxJu4XNE0p1NOOKPAQ ClEXkjBS9yYrSQLfO54Zz44M1/OWAVcpsjFOaYt7wRj4vw9tB/PgtU1wG+upAMIGk7vm kWFg== X-Forwarded-Encrypted: i=1; AJvYcCXNjwfAj66faCvZU5Ji/pYciRCRXcG4Svqb/RCVJDURzBYSpuOKFI3GjUuzdS4KztGVrV4HDBKDOoXjfodr@lists.postgresql.org X-Gm-Message-State: AOJu0YynUOw3Xhi2g7lM7ihxJ4xA79SR7NLkU2SvyCXSCJ3TKMigW4j4 JRCHn6UgNRl4/aDbIsSa82AkUrjqtE7SXYns5G+ua8kEo1VxhgXJhIqLswAo2d6U0x1VaaxbGRB rXKICK4gunduQxPtDHe75o71uhuBJ7qg= X-Gm-Gg: ASbGnctl+60klToyFT2HMLpbtoIofX3p+wHdNTPvxV9aRrG4wiSoNqmWM5IxomejCEH 4OYK7EyBW9qcp/i4102AH0T0ve530ccz6PmkCJ4exRt0lmLtvITyXPzR7kVf7bMCRzQtuGpq9di WzcnSJpIkj9BuYvArqT+yDeE0Oit5OZpX4ElT6cgtLrHTUXCY3Wwc6PKno+Ao9VONP8fHKIc6xu ec2W9ybmYCxmzEH+YkjcBJfboyNhTBx70Zro3Y1HO8W9AkJ8qlP+AqtyOUNQUBY5QfLMA== X-Google-Smtp-Source: AGHT+IFGKMpY2T2as6lE5rQrJ0uTWNvtQDZLRrxhVDxsKW6oElMLmcjEtUOyE9O1WUAIGdDlH38Af7yJNHkcyH3Ubcw= X-Received: by 2002:a05:622a:1b86:b0:4ee:1f0c:c19d with SMTP id d75a77b69052e-4f01aecd86amr5956431cf.0.1764755675805; Wed, 03 Dec 2025 01:54:35 -0800 (PST) MIME-Version: 1.0 References: <2bc58592-9d74-4af0-bdd1-1a88e8683f7c@iki.fi> <36531c0e-292c-409d-bbc7-a252cf6e910a@iki.fi> <54aa8f65-f0e4-4464-b543-e0399c1cab1e@iki.fi> <4a9dda70-0af7-41a4-9636-b168f2fc48ef@iki.fi> <46cc45e9-fddd-44bc-bcb3-96889aafd921@iki.fi> <6c298bc4-7029-4c1d-bf16-3e094842ce32@iki.fi> <9ee6324a-44fc-42fb-bf8e-7c3b53395588@iki.fi> <52227f05-51aa-40c4-8f83-9c79fff16175@iki.fi> In-Reply-To: <52227f05-51aa-40c4-8f83-9c79fff16175@iki.fi> From: Maxim Orlov Date: Wed, 3 Dec 2025 12:54:23 +0300 X-Gm-Features: AWmQ_bmwekd6SD_fourgmIYP_wZZrXu_J8UoiNKU_3FFdi8lUQzm1xkf2IGjMHo Message-ID: Subject: Re: POC: make mxidoff 64 bits To: Heikki Linnakangas Cc: Alexander Korotkov , Alvaro Herrera , wenhui qiu , Postgres hackers , Ashutosh Bapat Content-Type: multipart/alternative; boundary="0000000000002bfab90645093398" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002bfab90645093398 Content-Type: text/plain; charset="UTF-8" The biggest problem with compression, in my opinion, is that losing even one byte causes the loss of the entire compressed block in the worst case scenario. After all, we still don't have checksums for the SLRU's, which is a shame by itself. Again, I'm not against the idea of compression, but the risks need to be considered. As a software developer, I definitely want to implement compression and save a few gigabytes. However, given my previous experience using Postgres in real-world applications, reliability at the cost of several gigabytes would not have caused me any trouble. Just saying. -- Best regards, Maxim Orlov. --0000000000002bfab90645093398 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The biggest problem with compression, in my opinion, is th= at losing
even one byte causes the loss of the entire compressed block i= n the
worst case scenario. After all, we still don't have checksums = for the
SLRU's, which is a shame by itself.

Again, I'm no= t against the idea of compression, but the risks need to
be considered.<= br>
As a software developer, I definitely want to implement compression = and
save a few gigabytes. However, given my previous experience usingPostgres in real-world applications, reliability at the cost of severalgigabytes would not have caused me any trouble. Just saying.

--
Best regards,
=
Maxim Orlov.
--0000000000002bfab90645093398--