How to update from PT2 (PSQL 8.0)??

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

How to update from PT2 (PSQL 8.0)??

Postby Pegasus2003 » Sat Jan 17, 2009 7:08 am

I'am using PSQL 8.0 and 2.17. Now I would like to update to the new Version 3. Of course using my old hand/datas from the database.
Can I just install the new PT 3? Or do I have to export import my datas? Do I have to reinstall PSQL ?

I do not know what I have to do :( Thanks for helping me!
Pegasus2003
 
Posts: 1
Joined: Sat Jan 17, 2009 6:58 am

Re: How to update from PT2 (PSQL 8.0)??

Postby kraada » Sat Jan 17, 2009 11:17 am

The easiest upgrade path is to export your hands from PTv2, uninstall PostgreSQL, then upgrade to PT3 with PostgreSQL. Your version of PostgreSQL is significantly older and PT3 won't function with it. The download of PT3 that comes with the PostgreSQL installer comes with 8.3.5 which is much faster and will work properly with PT3.

You can export your PTv2 hands via Utilities --> Export Hand History to File ... which will also export imported tournament summaries (though manually entered summaries cannot be transferred at this time).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: How to update from PT2 (PSQL 8.0)??

Postby BrianChina » Wed Jan 21, 2009 3:43 pm

This is a timely thread because I've decided to upgrade too, but I have a couple of questions first.

1-Your comment about manually entered summaries.
All UB and PP tournaments need to be entered manually versus PS. Does that mean I'm going to lose all this data? Tell me no.

2-Keeping PT2 alive until I've finished my conversion.
I would like to keep PT2 alive in case things go wrong and while I'm setting things up (which looks to be quite a lot of work). It seems to me that the conversion process you document will destroy the PT2 setup and database? Shouldn't I upgrade the PT2 postgresql to 8.3.5 first, make sure it's working ok with PT2, and then upgrade to PT3 without postgresql?

3-At what point to I uninstall my current version of postgresql...or does the postgresql 8.3.5 install do that automatically?

PS. In case it makes a difference, my current db size has 168k players, 2331 tourneys, and 191k hands.
BrianChina
 
Posts: 49
Joined: Tue May 06, 2008 12:04 am

Re: How to update from PT2 (PSQL 8.0)??

Postby kraada » Wed Jan 21, 2009 3:51 pm

(1) If you manually entered the tournament in PTv2 those tournament results won't carry over to PT3. I wish I could tell you otherwise, but at the moment there's no way to get that information over.

(2) The automated conversion process in PT3 basically just exports the hands from PTv2 and imports them into PT3, so exporting the hands yourself when performing this upgrade is essentially the same thing. PTv2 should work properly in PostgreSQL 8.3.5 as far as I'm aware. There is a known issue with PAHUD that causes it to be unable to update the database cache while using PostgreSQL 8.3, but if you've already got the cache built it will still work fine. To upgrade the PTv2 PostgreSQL database you will need to backup the database from the 8.0 version of PostgreSQL (or any version prior to 8.3.0) and then restore it into the 8.3.5 version once it's installed. If you look at the Database & Postgres FAQ it talks about backing up and restoring PostgreSQL databases using pgAdmin III and that should do the trick for backing up and restoring for you.

(3) Once you've upgraded successfully your PostgreSQL version and made sure everything works, you can get rid of the old installation of PostgreSQL at your leisure. The way PostgreSQL is set up you could have 8.0 and 8.3 installed on the same machine and running at the same time, the only catch is they'd need to run on different ports. You can change what port it runs on in the postgresql.conf file if you need them both running at the same time. Otherwise so long as 8.0 is stopped while 8.3 is running there won't be any problem from having them both installed while you convert over.

Once you've upgraded PostgreSQL versions you can still continue to use PTv2 alongside PT3 without any difficulties as well.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests