
viewtopic.php?f=17&t=13300
On my travels trying to figure this out for myself using old posts it appears I've come across two fundamentally different ways to keep your DB on a different drive to the PostgreSQL installation:
viewtopic.php?f=17&t=526&start=0pny#p3436
As far as I can tell this method uses TABLESPACE to store the data folder only on the second drive while keeping the vast majority of config and other files and folders on the main drive.
viewtopic.php?f=17&t=3463#p16720
(specifically referring to the second point mentioned... paragraph starting "Alternatively...")
As far as I can tell this method copies the vast majority of files and folders (including the data folder) to the new drive, leaving a config file (postgresql.conf) on the original drive to point the program to all the goodies on the second drive.
Are both of these posts valid ie. do they work?
If so, how would the methods compare to each other with regards to:
Speed of operation (I'd guess post 1 - only the data is stored on the secondary drive, the program itself is intact on the original drive)
Ease of recovery in case of HD/program (I'd guess post 2 - all settings would be stored with the data ie. the treasure chest AND the key)
Advice here would be appreciated... there seems to be a lack of direction as to the workings of PostgreSQL... obviously its a stand-alone product and not part of PT3, however it's required for PT3 so you'd think we'd be able to get definitive advice as to how to use it correctly. As is we have to trawl through old posts hoping someone else had the same problem (assuming the solutions worked then and/or still work now), or wait for a postgreSQL expert to answer posts (which can't be expected to be answered promptly as I'm assuming these experts are not part of the PT team, given postgreSQL isn't part of PT3)
I guess that's another thing to tack on the end of the world's biggest to-do list. In the mean time if a postgreSQL expert is out there answers to the above questions would be greatly appreciated.
Mullin
