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 1fIs6q-0003eK-Hw for pgsql-general@arkaria.postgresql.org; Wed, 16 May 2018 08:48:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fIs6p-0005F8-8F for pgsql-general@arkaria.postgresql.org; Wed, 16 May 2018 08:48:31 +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 1fIs6n-0005Ey-Bt for pgsql-general@lists.postgresql.org; Wed, 16 May 2018 08:48:31 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIs6i-0004iT-Gx for pgsql-general@lists.postgresql.org; Wed, 16 May 2018 08:48:28 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EC74F22418; Wed, 16 May 2018 04:48:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 16 May 2018 04:48:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=POXHbHk1u1QRX7tQmp844KYZ1zHJMF0xWmPBt5ai1KE=; b=jWt20N1r k99SewZd4kd3e46dxFUNqKzmzbZhHXAbSwgbIbYWH4n/4fWQmwm/G1dVsvn7XfeZ aH/+5tk2ShadMFrb4A5C1tIY/aiuD2wxuWLjwXgs3hH47Miq0cG0K+AambxiNmcc RsF+kK5RqkhiJHyssTm0REnqjvDVSsQFBsxPNNecvunlFMPDNGvPnJ/6Sl34AkVF 7vSauSJOj1H/fItsfSEXHEba15E9dUARleHU/NYk77zRadxthqT3e+ZyC84o2loa mXho4Sz09vqIf3DwQ/ryMFVAcA6ncwb2L6NJftY5I2nYzGEe+VXWjNGwAELhOiQP bBUedQh3u5SayA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=POXHbHk1u1QRX7tQmp844KYZ1zHJM F0xWmPBt5ai1KE=; b=Lt2T2Wgtjj84SrN8nvXDFPFyx2s3THLHKwxItggvt1ibI jf4cxpqACxgusOzy0fbpjtbCG7j+5eYw10pyFcPZYOpEQF05fDq0YyW8wEIAdZHx nGpMJZil84X++qvYECwwmy5rE1B2JvWMnMywe+SFF0olIL6IkivxH2qWb4VeDTbu 2/VkakOCESiYZBibdiuf0cpjQHF+0mcjbAYfkQvwMBlr2CRUVoBjZ4lx9H8VtcjI MPXgeUBQjrUkaHMgk3rby35DixUQOmEWQP5ud6VDwwvrJT3XtZOVebUYA50VbXFc fsHGFF9g6D6/6XkvfB2stdByTSR/WtYq8uFB+1C/w== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 57042E4350; Wed, 16 May 2018 04:48:19 -0400 (EDT) Date: Wed, 16 May 2018 17:48:11 +0900 From: Michael Paquier To: ChatPristi Cc: "pgsql-general@lists.postgresql.org" Subject: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19 Message-ID: <20180516084811.GA14835@paquier.xyz> References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com> <2120893212.2682655.1526396569241@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <2120893212.2682655.1526396569241@mail.yahoo.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 15, 2018 at 03:02:48PM +0000, ChatPristi wrote: > I got the error with PG 10.3 and 10.4 on CentOS 7 up-to-date.The > command works with a smaller size database.=20 > The command works with the same database with PG 9.3.19 on RHEL 6.9 > up-to-date. >=20 > I attach the EXPLAIN SELECT command. Well, instead of an explain output which takes 2.4MB compressed and 9.6MB uncompressed (take it as unreadable), could you produce a self-contained test case with a glimpse of the schema you are using? Where does the OOM happen, and how did you change your partitioned table schema? Are you using the native partitioning instead? -- Michael --envbJBWh7q8WU6mo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlr78EsACgkQnvQgOdby QH38dQ//b0OFD9awHFgvwOI894LPY87RSOmdnpaDEgI+XMjTPrsYrTUWa1GM2fy+ u9D3fX6QQ4LFUGR2YMaQEAj6MRJEHezj2jRy8rCMlZ4KjcnecojzTPfbF1wq4woQ bgr83ct7VUKVw6voYOQ1ggNRvYpIJAiNkmGFO1VP6D9KOT6A2cvV+bM1zNNwHmYt UwWb9Ng2d2gR6Hc3VO0ZZluAA/sVvmToUVDPlWpxzSsr/WUmaU2yV3Z+MoGZ4wO3 v5hawRI6ILI0ZbC4/1xvBMEe/dKKNLhbFBhHTH6UUYATLC0JhjN5/VhuRNkB+nNr N/MfvxMzbon/GbMOMlHpFL5eFUs9s9dTm7xPabUU6lrDgnn5nJF2eHK7ih0ZHhCt 39qkEBgomtVoXnctQ8WLc6+UuUf9B83gv99Zjo10tGwQLlKPwBzgS/+VK9mley0d zrqNtRpuhTtgynr5D13EqSlxZLHSQM1x6JK0b+zt51nG/V1XTMvg3EAhVjIGvOTE twZaz4t2sQBHsOiegsh2j4C2+zVMJcBqDwyVHyZqSReqWDxbwzSydC8fOyt51SKl gvbb6VZhjUdLZMfK8uQWUDI1TL6XeIpdBLIVu1g2oGve84pu9X+Ex3Kbbo16NGoM gOR4xwcibhO4dYiHGyFZDyX/7Ax/fRvnLOgkmxh7iSMLLvLX1Bw= =tuJi -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--