Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flRxi-0000GU-Uz for pgsql-admin@arkaria.postgresql.org; Fri, 03 Aug 2018 04:45:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flRxg-0005Ya-Qf for pgsql-admin@arkaria.postgresql.org; Fri, 03 Aug 2018 04:45:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flRuE-0002ri-NE for pgsql-admin@lists.postgresql.org; Fri, 03 Aug 2018 04:41:38 +0000 Received: from cat-porwal-prod-mail1.catalyst.net.nz ([202.78.240.226]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flRu9-0001bT-DS for pgsql-admin@postgresql.org; Fri, 03 Aug 2018 04:41:37 +0000 Authentication-Results: auth=pass smtp.auth=mark.kirkwood@catalyst.net.nz smtp.mailfrom=mark.kirkwood@catalyst.net.nz Received: from [IPv6:2406:e001:b97:1:2cf6:c402:95a5:51ed] (unknown [IPv6:2406:e001:b97:1:2cf6:c402:95a5:51ed]) (Authenticated sender: mark.kirkwood@catalyst.net.nz) by cat-porwal-prod-mail1.catalyst.net.nz (Postfix) with ESMTPSA id 7E1D88079A; Fri, 3 Aug 2018 16:41:24 +1200 (NZST) Subject: Re: Postgres 10 disk space requirement compared to postgres 9.5.4 To: Debraj Manna , pgsql-admin References: From: Mark Kirkwood Message-ID: <8364f37d-0d54-096f-8ab2-6d994e616e7f@catalyst.net.nz> Date: Fri, 3 Aug 2018 16:41:24 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I think people have been answering a question that is different from what you are asking. It looks to me like you are asking something to the effect: *After* upgrading to Postgres 10 - will I use more disk space than 9.5? I don't believe that there have been significant changes in storage space allocation between 9.5 and 10, so your tables should be the same size. e.g I frequently create a database using pgbench scale 100. it has used 1.5 GB of disk for all the version of Postgres that I have used (and that is quite a few)! Cheers Mark On 03/08/18 15:57, Debraj Manna wrote: > Anyone any thoughts on this? > > On Thu 2 Aug, 2018, 7:57 PM Debraj Manna, > wrote: > > Hi > > On moving from postgres 9.5.4 to postgres 10.x we have to do data > migration. > > Can some one let me know will the disk space requirement remain > same for same set of tables with same number of rows in postgres > 10.x and postgres 9.5.4 ? > > Thanks, >