Databases

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • default_index_tablespace?

    5 answers - 356 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    PostgreSQL 8.0 brought a great tablespaces feature. However, it's still
    a real pain for one who wants to separate tables and indices to different
    tablespaces: he has to do it manually, explicitely specifying tablespace
    for each index.
    Thus, I think it would be handy to have "default_index_tablespace" server
    variable. Any thoughts?
  • No.1 | | 687 bytes | |

    Yeah, I could use that too :)
    I think that would be good in order to separate users on different disks
    easily (if this parameter could be set by user too )

    Le Jeudi 01 D 2005 08:32, Alexander M. Pravking a *:
    PostgreSQL 8.0 brought a great tablespaces feature. However, it's still
    a real pain for one who wants to separate tables and indices to different
    tablespaces: he has to do it manually, explicitely specifying tablespace
    for each index.

    Thus, I think it would be handy to have "default_index_tablespace" server
    variable. Any thoughts?

    (end of broadcast)
    TIP 5: don't forget to increase your free space map settings
  • No.2 | | 931 bytes | |

    12/1/05, Alexander M. Pravking <fduch (AT) antar (DOT) bryansk.ruwrote:

    PostgreSQL 8.0 brought a great tablespaces feature. However, it's still
    a real pain for one who wants to separate tables and indices to different
    tablespaces: he has to do it manually, explicitely specifying tablespace
    for each index.

    Thus, I think it would be handy to have "default_index_tablespace" server
    variable. Any thoughts?

    We would use such a thing. databases use three partitions: log, data,
    index. We currently create our databases like:

    CREATE DATABASE dbname WNER owner TABLESPACE tsname;

    We then specify another index tablespace on index creation (which really
    isn't that difficult).

    Adding an INDEX_TABLESPACE option to CREATE DATABASE might be worthwhile if
    what we have done is typical. if pg maintainers want to suggest this
    usage as sensible.
    -K
  • No.3 | | 1060 bytes | |

    TD?

    %Add default_index_tablespace GUC and database parameter.

    Thu, Dec 01, 2005 at 11:48:28AM -0600, Kelly Burkhart wrote:
    12/1/05, Alexander M. Pravking <fduch (AT) antar (DOT) bryansk.ruwrote:

    PostgreSQL 8.0 brought a great tablespaces feature. However, it's still
    a real pain for one who wants to separate tables and indices to different
    tablespaces: he has to do it manually, explicitely specifying tablespace
    for each index.

    Thus, I think it would be handy to have "default_index_tablespace" server
    variable. Any thoughts?

    We would use such a thing. databases use three partitions: log, data,
    index. We currently create our databases like:

    CREATE DATABASE dbname WNER owner TABLESPACE tsname;

    We then specify another index tablespace on index creation (which really
    isn't that difficult).

    Adding an INDEX_TABLESPACE option to CREATE DATABASE might be worthwhile if
    what we have done is typical. if pg maintainers want to suggest this
    usage as sensible.
    -K
  • No.4 | | 468 bytes | |

    "Jim C. Nasby" <jim (AT) nasby (DOT) netwrites:
    TD?
    %Add default_index_tablespace GUC and database parameter.

    That was part of the original tablespace proposal and was rejected for
    (what seemed at the time) good reasons. It'd be nice if this thread
    betrayed any awareness whatsoever of the previous discussions

    regards, tom lane

    (end of broadcast)
    TIP 5: don't forget to increase your free space map settings
  • No.5 | | 538 bytes | |

    Fri, Dec 02, 2005 at 06:06:25PM -0500, Tom Lane wrote:
    "Jim C. Nasby" <jim (AT) nasby (DOT) netwrites:
    TD?
    %Add default_index_tablespace GUC and database parameter.

    That was part of the original tablespace proposal and was rejected for
    (what seemed at the time) good reasons. It'd be nice if this thread
    betrayed any awareness whatsoever of the previous discussions

    Any idea on what to search for? 'default index tablespace' isn't turning
    up anything that looks like that discussion

Re: default_index_tablespace?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Databases"

EMSDN.COM