Total number of hands in database

General discussion of PokerTracker 3.

Moderator: Moderators

Total number of hands in database

Postby DrewOnTilt » Thu Jan 31, 2008 1:41 am

Is there anywhere that I can see the total number of hands that are in a database? If PT3 doesn't display this anywhere then what SQL command should I use in pgAdmin III?

I need to compare my newly created PT3 database to an older database to ensure that everything imported correctly.
DrewOnTilt
 
Posts: 134
Joined: Fri Jan 25, 2008 6:34 pm

Re: Total number of hands in database

Postby APerfect10 » Thu Jan 31, 2008 2:41 am

[codedh3]SELECT
count(*) as total_hands
FROM
holdem_hand_summary[/codedh3]
APerfect10
Site Admin
 
Posts: 4463
Joined: Sat Dec 08, 2007 6:03 pm

Re: Total number of hands in database

Postby omaha » Thu Jan 31, 2008 9:34 am

Any way for us computertards to find this (very important -hint hint) stat yet?
omaha
 
Posts: 215
Joined: Sat Dec 22, 2007 8:39 pm

Re: Total number of hands in database

Postby Josh » Thu Jan 31, 2008 10:38 am

Not yet, it will be added when the summary tab gets put back in.
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

Re: Total number of hands in database

Postby ozora tsubasa » Thu Jan 31, 2008 1:34 pm

[quote="omaha"585]Any way for us computertards to find this (very important -hint hint) stat yet?[/quote585]

It's quite easy actually. Open up pgadmin, connect to your database. Then right click on your listed PT3 database and click "Create Script"

Then paste the above script and hit "execute query"

[img585]http://www.karidegiliz.biz/publicpoker/2p248.jpg[/img585]
ozora tsubasa
 
Posts: 28
Joined: Thu Jan 24, 2008 8:32 pm

Re: Total number of hands in database

Postby _dave_ » Wed Feb 06, 2008 12:51 am

[quote="APerfect10"kke][codekke]SELECT
count(*) as total_hands
FROM
holdem_hand_summary[/codekke][/quotekke]

is this not a bit nasty?

aside from that is misses donkaments too :(

[codekke]SELECT
count(id_hand) as total_hands
FROM
holdem_hand_summary[/codekke]

or

[codekke]SELECT
count(id_hand) as total_hands
FROM
tourney_holdem_hand_summary[/codekke]

?
_dave_
 
Posts: 1147
Joined: Sun Dec 09, 2007 6:19 pm

Re: Total number of hands in database

Postby APerfect10 » Wed Feb 06, 2008 3:34 am

[quotec8x]is this not a bit nasty?[/quotec8x]

From my MySQL days where count(*) is actually faster than count(field)...
APerfect10
Site Admin
 
Posts: 4463
Joined: Sat Dec 08, 2007 6:03 pm


Return to General [Read Only]

Who is online

Users browsing this forum: No registered users and 7 guests

cron
highfalutin