How many hands could be stored in one database

General discussion of PokerTracker 3.

Moderator: Moderators

How many hands could be stored in one database

Postby Dilas » Tue May 13, 2008 12:58 pm

I would like to know, how many hands could be stored to 1 database.

I m playing round about 10.000 hands/week
Does it make sense to use different databases to improve the speed ?
Dilas
 
Posts: 138
Joined: Wed Apr 23, 2008 11:48 am

Re: How many hands could be stored in one database

Postby Josh » Tue May 13, 2008 1:41 pm

We have a user who imported over 20 million hands into a database.

Using multiple databases make sense if you're datamining. I would make a rotation of observed databases (like one for two months worth, or whatever). Then you can delete old datamined databases in favor for just using the newer ones.
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

Re: How many hands could be stored in one database

Postby Dilas » Tue May 13, 2008 2:52 pm

Josh wrote:We have a user who imported over 20 million hands into a database.

Using multiple databases make sense if you're datamining. I would make a rotation of observed databases (like one for two months worth, or whatever). Then you can delete old datamined databases in favor for just using the newer ones.


Sorry but I don't understand that. What do mean with rotation ?
Lets say I use my first database for 2 month. Then I create a new one - what is with my old hands ?
Should I import them to the new database ?
Dilas
 
Posts: 138
Joined: Wed Apr 23, 2008 11:48 am

Re: How many hands could be stored in one database

Postby WhiteRider » Tue May 13, 2008 3:00 pm

Dilas wrote:Sorry but I don't understand that. What do mean with rotation ?
Lets say I use my first database for 2 month. Then I create a new one - what is with my old hands ?
Should I import them to the new database ?

Yes, I'd never quite got this idea right in my head either, but it's just occurred to me..
Maybe the idea would be to create an observed DB for each month, so you have May08 being imported to at the moment, and you keep April08 for use by the HUD, but delete March08. Then at the end of May you stop importing to May08 and create a new June08 to import into, delete April08 but keep May08 in use by the HUD.
(Obviously you'd probably keep more months than that..)
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: How many hands could be stored in one database

Postby Dilas » Wed May 14, 2008 4:13 pm

WhiteRider wrote:Yes, I'd never quite got this idea right in my head either, but it's just occurred to me..
Maybe the idea would be to create an observed DB for each month, so you have May08 being imported to at the moment, and you keep April08 for use by the HUD, but delete March08. Then at the end of May you stop importing to May08 and create a new June08 to import into, delete April08 but keep May08 in use by the HUD.
(Obviously you'd probably keep more months than that..)


I don't think this is a good idea.
Why should I use the HUD with an "old" database (April08 instead of May08) and is it possible to work with 2 databases at one time (HUD and datamining)?

Much better would be a feature to delete all hands not played by "hero" (user) older then ... days / played before ....
to keep the database small.
What do think about this one?
Dilas
 
Posts: 138
Joined: Wed Apr 23, 2008 11:48 am

Re: How many hands could be stored in one database

Postby WhiteRider » Wed May 14, 2008 4:26 pm

You can use more than one DB in the HUD, and it will combine stats, so you're not using April08 instead of May08 but as well as, and also combined with your 'played' DB.
The selective purge you suggest at the end will be added, and this is how I've always done things. I think the multiple database solution is intended for those with huge DBs, or if you want to archive the old DBs (though better to archive old hand history files I'd think).
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: How many hands could be stored in one database

Postby bigvb » Wed May 14, 2008 4:59 pm

i like this idea, will this make things faster.
bigvb
 
Posts: 81
Joined: Mon Feb 04, 2008 9:39 pm

Re: How many hands could be stored in one database

Postby drinkxyz » Thu May 15, 2008 10:37 pm

Ok I'm on lifetilt now after having tons of headaches getting postgresql to work, but all is well there now. I was browsing the forums because I have multiple PT2 databases that I am going to import into PT3, and I'm wondering whether I should make multiple databases and if so how? Also, I like the aforementioned idea of being able to cull old datamining hands into an archive (without hero, before x date). Is that possible with PT3?
drinkxyz
 
Posts: 13
Joined: Thu Mar 06, 2008 6:45 pm

Re: How many hands could be stored in one database

Postby Josh » Thu May 15, 2008 10:43 pm

The trial version of PT3 only allows you to have one database. If you've registered, you can make as many databases as you want using the Database Management window. If you want to separate your observed hands from your played, you'll need to selectively export from PT2 and import the hands into the desired PT3 database.
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

Re: How many hands could be stored in one database

Postby drinkxyz » Thu May 15, 2008 10:52 pm

Well I'm definitely going to register... Is there any good reason to create multiple databases e.g. one for each site? Is postgresql+PT3 so much more efficient that I wouldn't notice any improvement in performance? I'm already in the process of importing my FTP database which isn't too big yet (only like 400K hands -some datamined). Is it safe to say that it will be possible to selectively remove the non-hero hands later on?

Also I'm FREQUENTLY being forgotten by the pokertracker site and forum almost every time I try to reply to a post or submit for help (going on for months). Is this a known problem, or is it something on my side (e.g. Peer Guardian, firewall, etc)? Thanks!

Registering right now btw...
drinkxyz
 
Posts: 13
Joined: Thu Mar 06, 2008 6:45 pm

Next

Return to General [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests