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

pgsql: Rework temp_tablespaces patch so that temp tablespaces are

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rework temp_tablespaces patch so that temp tablespaces are
Date: 2007-06-07 19:19:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Rework temp_tablespaces patch so that temp tablespaces are assigned separately
for each temp file, rather than once per sort or hashjoin; this allows
spreading the data of a large sort or join across multiple tablespaces.
(I remain dubious that this will make any difference in practice, but certain
people insisted.)  Arrange to cache the results of parsing the GUC variable
instead of recomputing from scratch on every demand, and push usage of the
cache down to the bottommost fd.c level.

Modified Files:
        config.sgml (r1.125 -> r1.126)
        tablespace.c (r1.47 -> r1.48)
        nodeHash.c (r1.113 -> r1.114)
        nodeHashjoin.c (r1.90 -> r1.91)
        buffile.c (r1.27 -> r1.28)
        fd.c (r1.138 -> r1.139)
        logtape.c (r1.24 -> r1.25)
        tuplesort.c (r1.76 -> r1.77)
        tuplestore.c (r1.32 -> r1.33)
        tablespace.h (r1.17 -> r1.18)
        hashjoin.h (r1.46 -> r1.47)
        nodeHashjoin.h (r1.35 -> r1.36)
        buffile.h (r1.21 -> r1.22)
        fd.h (r1.58 -> r1.59)


pgsql-committers by date

Next:From: Simon RiggsDate: 2007-06-07 20:42:34
Subject: Re: pgsql: Rework temp_tablespaces patch so that temptablespaces are
Previous:From: Alvaro HerreraDate: 2007-06-07 19:07:13
Subject: pgsql: Avoid losing track of data for shared tables in pgstats.

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