From: | Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Thom Brown <thom(at)linux(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
Subject: | Re: GSoC proposal - "make an unlogged table logged" |
Date: | 2014-04-01 16:37:57 |
Message-ID: | CAFcNs+oUjmtOgiCihJBrucRemznkcac6WhrNu+fXxs1NkSX3KQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Mar 7, 2014 at 12:36 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> =?ISO-8859-1?Q?Fabr=EDzio_de_Royes_Mello?= <fabriziomello(at)gmail(dot)com>
> writes:
> > Do you think is difficult to implement "ALTER TABLE ... SET UNLOGGED"
> too?
> > Thinking in a scope of one GSoC, of course.
>
> I think it's basically the same thing. You might hope to optimize it;
> but you have to create (rather than remove) an init fork, and there's
> no way to do that in exact sync with the commit. So for safety I think
> you have to copy the data into a new relfilenode.
>
>
Hi all,
In the GSoC proposal page [1] I received some suggestions to strech goals:
* "ALTER TABLE name SET UNLOGGED". This is essentially the reverse of the
core proposal, which is "ALTER TABLE name SET LOGGED". Yes, I think that
should definitely be included. It would be weird to have SET LOGGED but not
SET UNLOGGED.
* Allow unlogged indexes on logged tables.
* Implement "ALTER TABLE name SET LOGGED" without rewriting the whole
table, when wal_level = minimal.
* Allow unlogged materialized views.
Comments?
--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog sobre TI: http://frabriziomello.blogspot.com<http://fabriziomello.blogspot.com>
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2014-04-01 16:40:40 | Re: GSoC proposal - "make an unlogged table logged" |
Previous Message | Tomas Vondra | 2014-04-01 16:28:40 | Re: PATCH: decreasing memory needlessly consumed by array_agg |