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

How to setup tablespace and table partitioning in a template?

From: Michelle Konzack <linux4michelle(at)tamay-dogan(dot)net>
To: pgSQL - Admin <pgsql-admin(at)postgresql(dot)org>
Subject: How to setup tablespace and table partitioning in a template?
Date: 2008-07-12 13:37:52
Message-ID: 20080712133752.GN24484@freenet.de (view raw or flat)
Thread:
Lists: pgsql-admin
************************************************************************
*       Do not Cc: me, because I READ THIS LIST, if I write here       *
*    Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe    *
************************************************************************

Hello,

Our PostgreSQL server is using two SCSI  Raid-1  controllers  (each  two
channels) and I have 5 sets per channel (each two HDD in Raid-1 with one
HotFix).  In summary we have currently 15 Sets.

Sometimes we have the need to duplicate servers and I tried to  use  the
database scheme dump to install a new server...

This dos not work.  ALL databases and tables are  created  on  a  singel
Raid-1 (the first one) and tablespace is ignored.

Can anyone post an example how to do this, so I can edit my  pgSQL  dump
sheme to correct this issue?

Note: It is not very funny to setup each time 15 Raid-1 sets by hand
      since the PostgreSQL has now reached 1400 GByte  and  we  will
      use the second channel of  the  second  controller  to  attach
      again 15 new drives which then support up  to  2.9 TByte.  The
      drives have all 146 GByte.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Responses

pgsql-admin by date

Next:From: sftfDate: 2008-07-14 05:26:05
Subject: Rewrite SELECT WHERE clause on per-session bases. Modifing view source code in one session (user's) from another session (admin's)?
Previous:From: Jessica RichardDate: 2008-07-12 12:03:46
Subject: best starting points....

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