Re: disk usage advice needed - Mailing list pgsql-general

From Bruce Momjian
Subject Re: disk usage advice needed
Date
Msg-id 200105021445.f42Ej9o05650@candle.pha.pa.us
Whole thread Raw
In response to disk usage advice needed  (newsreader@mediaone.net)
List pgsql-general
> Hello
>
> My data directory is like (pg 7.1 linux 2.4.4)
> ---
> $ ls
> PG_VERSION  base/  global/  pg_hba.conf  pg_ident.conf  pg_xlog/  postgresql.conf  postmaster.opts
> ----
>
> With 7.0.3 I remember?? that there are files named according to table
> names.  With 7.1 I don't know which disk file is associated with
> which table.  What I would like to do is spread the files between
> two ide disks in order to gain some performance.  I heard
> somewhere that I can symlink some of the files to a different
> disk to gain some speed and I was wondering of which of those
> files are my tables.   What advise would you give if I
> can split pg data between two disks.
>
> I think all of the data is in base/ directory and it looks
> like this
>
>     1/  18719/  18836/  573216/
>
> I have two currently two big tables that are
> constantly (1-5 times per second the whole day)
> being accessed and always simultaneously and
> I wish these two tables to live on two separately.

I just wrote two articles, one on performance and the other on writing
PostgreSQL applications.  You can get them at:

    http://candle.pha.pa.us/main/writings/pgsql/

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Adam Walczykiewicz
Date:
Subject: Cannot build PL/Perl ...
Next
From: "Albertson, Chris"
Date:
Subject: RE: Ideal hardware configuration for pgsql