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 1rDZ5T-002R3L-P3 for pgsql-general@arkaria.postgresql.org; Wed, 13 Dec 2023 23:56:24 +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 1rDZ5S-001aIh-ES for pgsql-general@arkaria.postgresql.org; Wed, 13 Dec 2023 23:56:22 +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 1rDZ5Q-001aIZ-Nl for pgsql-general@lists.postgresql.org; Wed, 13 Dec 2023 23:56:22 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rDZ5M-00BrxN-4S for pgsql-general@lists.postgresql.org; Wed, 13 Dec 2023 23:56:19 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id C27DD3200B09; Wed, 13 Dec 2023 18:56:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 13 Dec 2023 18:56:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1702511771; x=1702598171; bh=hCmRGByGJZlbtYhzUxvJwVCCgYNh073gdjk68h3PHJE=; b= AL1T5b8ouuxhiBv9OPHNvXnabf9NxDgP+nCqbn4qR6f9tcYhj8ogiyyvWByx7pNM 3XIOP7Ty0LbiQ0XAln/VqLWP/7F1KqOrz2cCZfCulWFdSoRdhVV7YVR2XwzcuMzU lXNy0MpV7hYUqDPRScIrpGMF068E0PZzU5OKeLmk26vrBp+F9YC2PT5DITtdd2FX kdvsNWK+lpNOmMEnvSDU7X6QcFBb8k/jiKg45Pzn1yBQUEeKCKoW3EnsOPm8b9qv 1MDrkB+YMcs3RNJ3gqQzvjfd0CqGjDVPSY2fDP3HBelhZwo+UT97VMmt3+5xom9d 0vzOuA775WgMzzSGFQh99A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702511771; x= 1702598171; bh=hCmRGByGJZlbtYhzUxvJwVCCgYNh073gdjk68h3PHJE=; b=A rtkPT4tdpSIFzVcPcoRnqbueXFr92pEfdVAolr348ZKS7pjGQ9g4BUk4Iju92duP tuNIGzVAC6jq8xCclfxMaA9TwSZkdu8WWsbGFrREYHOLc5m/xmgeERAryH7RYmf0 LRBo9NNKNMqZnOKS16YL2C+Mi0/Z6uJ2g9tgciv6IJ2cTgdqz/NBwQqmO6lN4Y6T Ry0uRRAr2GmPafm2yxnhS1YWdhO0e6l1T/42plV0Wy1eb6Iw3MbzvUtjoW5x0ICO cexdMKwFIMY8vFu9A/aEFZZOdmKnYd26D5iecZhYdVaO1bc9i013jaM4higvLpvv QcZcov43S7HOxxFg1vv4w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelkedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepfeegfeeiuedtgffgteeggfehkeejheetieeliefg teeikeejvdeiveeigfehvedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Dec 2023 18:56:10 -0500 (EST) Message-ID: Date: Wed, 13 Dec 2023 15:56:09 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Increased storage size of jsonb in pg15 Content-Language: en-US To: Sean Flaherty Cc: pgsql-general@lists.postgresql.org References: <87680387-ed25-41ff-b6de-37e357398df9@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/13/23 15:49, Sean Flaherty wrote: > More information needed: > > 2) An example of reported size for the 14.? and 15.5 cases. > >   Since upgrading from 14.8 to 15.5, the jsonb data that was previously > written in 14.8 is reporting a smaller size than the same hourly data > written after the upgrade (upgrade indicated in yellow): What is producing datafile.dat and how? > > *file* *hourly_timestamp* *filename_bytes* *timestamp_bytes* > *data_filesize* *created_at_bytes* *updated_at_bytes* > datafile.dat 2023-10-19 12:00:00 23 8 1682 8 8 > datafile.dat 2023-10-19 13:00:00 23 8 1687 8 8 > datafile.dat 2023-10-19 14:00:00 23 8 1685 8 8 > datafile.dat 2023-10-19 15:00:00 23 8 1668 8 8 > datafile.dat 2023-10-19 16:00:00 23 8 2155 8 8 > datafile.dat 2023-10-19 17:00:00 23 8 2178 8 8 > datafile.dat 2023-10-19 18:00:00 23 8 2199 8 8 > datafile.dat 2023-10-19 19:00:00 23 8 2187 8 8 > datafile.dat 2023-10-19 20:00:00 23 8 2180 8 8 > datafile.dat 2023-10-19 21:00:00 23 8 2176 8 8 > datafile.dat 2023-10-19 22:00:00 23 8 2053 8 8 > datafile.dat 2023-10-19 23:00:00 23 8 2043 8 8 -- Adrian Klaver adrian.klaver@aklaver.com