How do I create new database on a different disk ?

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

How do I create new database on a different disk ?

Postby Romeo83 » Sat Aug 25, 2012 3:19 am

How do I create new database on a different SSD ? I can't find anywhere where it would let me choose which of my SSD-s I create the database on.
Romeo83
 
Posts: 13
Joined: Wed Sep 10, 2008 2:28 pm

Re: How do I create new database on a different disk ?

Postby polk3 » Sat Aug 25, 2012 5:00 am

Romeo83 wrote:How do I create new database on a different SSD ? I can't find anywhere where it would let me choose which of my SSD-s I create the database on.


PostgreSQL allows multiple clusters or tablespaces that would allow you to spread your database across multiple volumes. I don't think PokerTracker has any facility to help with this though, and I'm not sure pgAdmin is very helpful either. It's not that surprising though, since database volume management is a fairly advanced topic.

The easiest thing though is to just make sure that your PostgreSQL database is installed on a volume that has enough space for all your databases. Basic outline:

* Back up your db from PT
* Uninstall PostgreSQL
* Reinstall PostgreSQL in another location
* Restore backup from PT
polk3
 
Posts: 67
Joined: Thu Aug 05, 2010 1:31 pm

Re: How do I create new database on a different disk ?

Postby Romeo83 » Sat Aug 25, 2012 12:34 pm

thanks polk3, that worked !
Romeo83
 
Posts: 13
Joined: Wed Sep 10, 2008 2:28 pm


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 14 guests