Skip site navigation (1) Skip section navigation (2)

pgsql: Improve planner's estimation of the space needed for HashAgg

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve planner's estimation of the space needed for HashAgg
Date: 2005-01-28 19:36:41
Message-ID: 20050128193641.81A6A3A6053@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Improve planner's estimation of the space needed for HashAgg plans:
look at the actual aggregate transition datatypes and the actual overhead
needed by nodeAgg.c, instead of using pessimistic round numbers.
Per a discussion with Michael Tiemann.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/executor:
        nodeAgg.c (r1.126.4.1 -> r1.126.4.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeAgg.c.diff?r1=1.126.4.1&r2=1.126.4.2)
    pgsql/src/backend/optimizer/plan:
        planner.c (r1.177 -> r1.177.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planner.c.diff?r1=1.177&r2=1.177.4.1)
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.186 -> r1.186.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.186&r2=1.186.4.1)
    pgsql/src/include/executor:
        nodeAgg.h (r1.23 -> r1.23.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/nodeAgg.h.diff?r1=1.23&r2=1.23.4.1)
    pgsql/src/include/optimizer:
        clauses.h (r1.77 -> r1.77.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/optimizer/clauses.h.diff?r1=1.77&r2=1.77.4.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-01-28 20:34:31
Subject: pgsql: When dealing with multiple grouping columns coming from the same
Previous:From: Tom LaneDate: 2005-01-28 19:34:42
Subject: pgsql: Improve planner's estimation of the space needed for HashAgg

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group