I checked your advices on using 2 HDDs for more performance. Actually i used the default install routine and had everything on a single hdd.
In "performance tuning 2 HDDs" u suggested to use "tablespace" to split postgres/logs like(pg_xog or pg_xlog) and the actual data.
I really like the idea of splitting, but my system is stable and running and i got a lot pf data that i dont want to move (using alter table or what ever). So i was thinking of an vice versa approach.
Why dont move the log files to a different drive just using symbolic links ? I run Vista 64bit and with NTFS u can build directory junctions what seems to be the same like symbolic links to directories in Unix.
I moved /8.3/data/pg_log and /8.3/data/pg_xlog to a different spindle and it already increased my performance.
I think of a another optimization, because i have a 3 hdd installed and i would like to try to split data, index and logs for maximum performance.
Unfortunately i´m not really used to postgres, maybe u can give me some advise. My postgres installation looks like this:
/Postgres/8.3/data/
subdirectories from /data/
- base -contains the actual data HDD1
- global -no idea what it is for - any hint? HDD1
- pc_clog - looks like empty and never used HDD1
- pc_log - log of databaseaction HDD2
- pg_multixact - looks like empty and never used HDD1
- pg_subtrans - looks like empty and never used HDD1
- pg_ tblspc - looks like empty and never used HDD1
- pc_twophase - looks like empty and never used HDD1
- pg_xlog - log of databaseaction HDD2
Any suggestions how to split these directories between 3 HDDs ?
Thx