pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Sergei Kornilov <sk@zsrv.org>
Cc: Jaime Casanova <jaime.casanova@2ndquadrant.com>
Subject: Re: [HACKERS] generated columns
Date: Wed, 16 Jan 2019 14:14:41 +0100
Message-ID: <e6baf40b-8614-34f5-71a5-227c2eb1d3e0@2ndquadrant.com> (raw)
In-Reply-To: <20190115071359.GF1433@paquier.xyz>
References: <bf9c8765-1aa0-432a-442e-45f715ebe4e7@2ndquadrant.com>
	<20180202022532.GA84623@paquier.xyz>
	<050e663d-d915-f61b-af96-5a09c10ade02@2ndquadrant.com>
	<79e4de23-52e3-2c45-9ba0-5f6932f590aa@2ndquadrant.com>
	<28574501540912440@iva5-750e13568e4d.qloud-c.yandex.net>
	<2ddd0bfa-0fcd-35ec-266c-f03cf72fc581@2ndquadrant.com>
	<26129f50-cf47-2013-8f9b-e7a98853aa69@2ndquadrant.com>
	<CAFj8pRCnXSjxvDqDgruAbf36TEdZZHmV5=xAUbn8Pc2=wHX84A@mail.gmail.com>
	<acb103e7-a1c6-8e53-ec63-0ee02ea8dd73@2ndquadrant.com>
	<CAFj8pRB=L3At5R=DXWRw7OFCdaeZ_+3S5e==DbGgD_7POsqngA@mail.gmail.com>
	<20190115071359.GF1433@paquier.xyz>

On 15/01/2019 08:13, Michael Paquier wrote:
> When testing a bulk INSERT into a table which has a stored generated
> column, memory keeps growing in size linearly, which does not seem
> normal to me.  If inserting more tuples than what I tested (I stopped
> at 10M because of lack of time), it seems to me that this could result
> in OOMs.  I would have expected the memory usage to be steady.

What are you executing exactly?  One INSERT command with many rows?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (112+ messages)  latest in thread

Message-ID: <e6baf40b-8614-34f5-71a5-227c2eb1d3e0@2ndquadrant.com>
Permalink:  ../e6baf40b-8614-34f5-71a5-227c2eb1d3e0@2ndquadrant.com/
Also on:    postgresql.org/message-id/e6baf40b-8614-34f5-71a5-227c2eb1d3e0@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, pavel.stehule@gmail.com, sk@zsrv.org, jaime.casanova@2ndquadrant.com
  Subject: Re: [HACKERS] generated columns
  In-Reply-To: <e6baf40b-8614-34f5-71a5-227c2eb1d3e0@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox