Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2006, 08:06 PM
sui generis sui generis is offline
Senior Member
 
Join Date: Dec 2005
Posts: 511
Default PT: Postgre DB Advantages?

Hi,

I've been around here for a bit and pokertracker still seems to elude me. I'm wondering what the advantages and disadvantages of converting to a postgre SQL database. I looked around the pt forums and didn't find much help - it just seems like an alternative database. Anyone offer a little insight? I'm getting tired with pt's crappy performance and am kinda hoping this might boost speed.

-eric
Reply With Quote
  #2  
Old 03-02-2006, 08:33 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: PT: Postgre DB Advantages?

Main advantage is that it can handle DBs larger than 2GB. This only really effects you if you have over 500k hands.

As for speed increases, I found none at all. It took about 50 hours to import about 900k hands into a fresh PG DB on a friends PC which has 2GB mem, dual processors, and a raid array HD (It just crashed on mine each time I tried). After doing all this I came to the sad conclusion that something is flawed about PT's DB schema itself or the parsing code is badly written.

Since then I move to PokerManager, which does not yet have all of the features of PT, but does handle large amounts of data much better.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #3  
Old 03-02-2006, 09:37 PM
Ariose Ariose is offline
Senior Member
 
Join Date: Jan 2006
Location: Ain\'t gettin better, only gettin stuck
Posts: 128
Default Re: PT: Postgre DB Advantages?

Do Postgres PT databases have another, larger, size limit? Does PAHud work with PokerManager?
Reply With Quote
  #4  
Old 03-02-2006, 10:02 PM
pokergrader pokergrader is offline
Senior Member
 
Join Date: Apr 2005
Posts: 3,792
Default Re: PT: Postgre DB Advantages?

[ QUOTE ]
Main advantage is that it can handle DBs larger than 2GB. This only really effects you if you have over 500k hands.

As for speed increases, I found none at all. It took about 50 hours to import about 900k hands into a fresh PG DB on a friends PC which has 2GB mem, dual processors, and a raid array HD (It just crashed on mine each time I tried). After doing all this I came to the sad conclusion that something is flawed about PT's DB schema itself or the parsing code is badly written.

Since then I move to PokerManager, which does not yet have all of the features of PT, but does handle large amounts of data much better.

Juk [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]

Its not going to help the write time as much as it will the access and load times.

Access is a pretty terrible DBMS, and PSQL has so many advantages and optimizations that it definetly will be faster in things that aren't constrained by hard drive write times.
Reply With Quote
  #5  
Old 03-02-2006, 10:12 PM
sui generis sui generis is offline
Senior Member
 
Join Date: Dec 2005
Posts: 511
Default Re: PT: Postgre DB Advantages?

Is it worth the 2 days of conversion time, though, for this increase in performance?

-eric
Reply With Quote
  #6  
Old 03-02-2006, 11:06 PM
pokergrader pokergrader is offline
Senior Member
 
Join Date: Apr 2005
Posts: 3,792
Default Re: PT: Postgre DB Advantages?

[ QUOTE ]
Is it worth the 2 days of conversion time, though, for this increase in performance?

-eric

[/ QUOTE ]

It depends whether you plan on have a huge database at some point in the future.
Reply With Quote
  #7  
Old 03-03-2006, 01:44 AM
roueful roueful is offline
Senior Member
 
Join Date: Jun 2004
Posts: 337
Default Re: PT: Postgre DB Advantages?

For reference, I convert a database that had maybe 100k hands, and it took about 4 hours on my laptop.
Reply With Quote
  #8  
Old 03-03-2006, 06:29 AM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: PT: Postgre DB Advantages?

[ QUOTE ]
For reference, I convert a database that had maybe 100k hands, and it took about 4 hours on my laptop.

[/ QUOTE ]

Yes, for some strange reason PT suffers from exponential decay in performance.

I don't think anybody has worked out why this is the case, but 100k hands will import proportionally much quicker than 500k hands. Also after getting to near 1 million hands, I found that I could observe/play at a faster rate than PT could actually import my hands.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #9  
Old 03-03-2006, 06:37 AM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: PT: Postgre DB Advantages?

[ QUOTE ]
[ QUOTE ]
Main advantage is that it can handle DBs larger than 2GB. This only really effects you if you have over 500k hands.

As for speed increases, I found none at all. It took about 50 hours to import about 900k hands into a fresh PG DB on a friends PC which has 2GB mem, dual processors, and a raid array HD (It just crashed on mine each time I tried). After doing all this I came to the sad conclusion that something is flawed about PT's DB schema itself or the parsing code is badly written.

Since then I move to PokerManager, which does not yet have all of the features of PT, but does handle large amounts of data much better.

Juk [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]

Its not going to help the write time as much as it will the access and load times.

Access is a pretty terrible DBMS, and PSQL has so many advantages and optimizations that it definetly will be faster in things that aren't constrained by hard drive write times.

[/ QUOTE ]

I can only comment on my attempted use with PlayerView (PAHUD could be much better with PG DBs). When using with PlayerView I found it to actually be slower at retrieval than simply using the two access DBs I had before conversion. Also, I have a bit of a crappy system, so this might not be the best testbed for this... [img]/images/graemlins/smile.gif[/img]

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #10  
Old 03-03-2006, 06:40 AM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: PT: Postgre DB Advantages?

[ QUOTE ]
Do Postgres PT databases have another, larger, size limit?

[/ QUOTE ]

No, I don't think so (or if it does it will be some huge limit and PT performance will have degraded to the stage of total unuasability long before...).

[ QUOTE ]
Does PAHud work with PokerManager?

[/ QUOTE ]
Sadly no, but I think the main thing holding up development in PokerManager is the general lack of interest. PT seems have the market fairly well cornered, but IMHO it is not bc it is the best application, it is simply bc it got in their first and had better marketing.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.