multiple PT4 databases

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

multiple PT4 databases

Postby One23drumm » Sat Feb 08, 2020 2:29 am

Hello!
I already have multiple PT4 databases and I want to create a new one, but on the another hard drive. Is there any way to have different PT4 databases on different hard drives and to switch between them?
Thanks
One23drumm
 
Posts: 69
Joined: Sun Apr 15, 2012 7:25 am

Re: multiple PT4 databases

Postby Flag_Hippo » Sat Feb 08, 2020 7:40 am

There isn't a straightforward method for this but you do have two options:

1. Install a different version of PostgreSQL (using another port) to your other drive.

2. Creating a database on another drive using the existing version of PostgreSQL needs to be done via PGAdmin (click your Windows Start button then type pgadmin and you should see it). Right click on your server in PGAdmin (where it says PostgreSQL x.y) and choose "New Object -> New Tablespace". Give it a name, set the owner to the postgres user via the drop down and enter your directory on the Definition tab. Once you have the tablespace, right click on where it says Databases and choose "New Database", give it a name and set the owner to the postgres user again. On the Definition tab, pick an existing PokerTracker 4 database as a Template and pick the tablespace you created (I recommend using an empty database as the template unless you want the data in that database copied over). You can then add that database to PokerTracker 4 via "Database -> Database Management -> New -> Browse Databases". If you've not used PGAdmin before you should backup your poker data before making any changes there as making database changes outside of PokerTracker 4 is somewhat beyond the normal scope of our support and can break things if it's not done correctly.
Flag_Hippo
Moderator
 
Posts: 17131
Joined: Tue Jan 31, 2012 7:50 am

Re: multiple PT4 databases

Postby One23drumm » Sun Feb 16, 2020 3:21 am

Thank you for such detailed instructions!!! All works fine
One23drumm
 
Posts: 69
Joined: Sun Apr 15, 2012 7:25 am

Re: multiple PT4 databases

Postby WhiteRider » Sun Feb 16, 2020 5:00 am

Great - thanks for the update!
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 0 guests