Max size of base?

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

Moderator: Moderators

Max size of base?

Postby ivolga » Mon Feb 16, 2009 6:31 pm

I use 4-5 large bases (datamining).

1. How can I estimate the size of base?
2. What maximum size for one base (I don't want to slowdown PT3)?
3. What maximum size for all bases I used unanimously (I don't want to slowdown PT3)?

Thank you
ivolga
 
Posts: 34
Joined: Sat May 24, 2008 6:41 pm

Re: Max size of base?

Postby WhiteRider » Mon Feb 16, 2009 7:00 pm

There is no maximum size, it all depends on your system so you will have to gauge a DB as being too big when you notice performance start to degrade.
Do you mean in hard disk space required?
Postgres does not store your databases in separate files, they are all mixed up together but you can get an idea how much space they are taking up by looking at how big the data folder is in your postgres installation.
I think someone worked out a rough MB/million hands, but I can't remember what it was off the top of my head - I'm sure someone will tell you.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Max size of base?

Postby g_a_quintas » Tue Feb 17, 2009 1:57 am

Hi,

Planning to datamine in long term and put HH into one database?

I have my hardware/software setup below:

Intel core 2 duo 1.8GHZ
4GB of RAM
250 HD 7200rpm (around 150 GB of free space)
windows xp pro 64 bit
windows virtual memory of 32,000 MB

I tried to import 500 million hands into one database. While importing, PT3 crashes everytime when it reach importing hands between 200 million to 300 million hands. I tried to cut these 500 million hands into 5 database (100 million hands each) and imported them successfully (more than 4 hours each) and it took more than 4 hours each for caching (and other PT3 maintenace steps) to finish. When I used this 100 million hands of database my PT3's performance suffer and I can not use this size of database on my online playing. With 100 million hands PT3 can still do it's tasks but with big performance issues specially when you are relying on the stats while playing.

I'm planning to upgrade my hardware into one of these specs below:

1.) Dell Precision T7400 Workstation (with 2x300GB 15Krpm SAS - RAID 0 configurations)
2.) HP DL380 G5 Performance (with 2x300GB 15Krpm SAS - RAID 0 configurations - PCIe x16 support)

Note: More hard disk size and more memory is recommended.

Ofcourse, If I build my bankroll through playing poker that I have the spare money to buy this expensive hardware. But I believe PT3 can handle "ANY SIZE" of DB you throw on these hardware and you can have an edge playing online.

Regards,
g_a_quintas
Sydney, Australia
g_a_quintas
 
Posts: 9
Joined: Mon Feb 25, 2008 11:03 pm

Re: Max size of base?

Postby kraada » Tue Feb 17, 2009 5:25 pm

PT3 databases take up roughly 10G per million hands. With the specs you gave a 250G hard drive, you are almost certainly running out of hard drive space. Also, in order for the housekeeping to complete successfully you need to have at least twice as much space free on the hard drive as is used in the database in question (this is because of limitations in PostgreSQL's CLUSTER function and not something we can fix ourselves). So if you have a 10M hand database, you would want 100G for the database, plus 200G free, for 300G of total space on the drive. I'm very surprised PT3 got as far as it did importing your hands before crashing, to be honest.

If you're going to have hundreds of millions of datamined hands, you really will want to look into using several drives (see this post) that are quite large.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Max size of base?

Postby g_a_quintas » Tue Feb 17, 2009 7:59 pm

Hi Krada,

I did a performance configurations on my PostgreSQL which PT3 is using. Just relying on PostgreSQL default seetings is not enough for this big DB manipulations.

http://www.powerpostgresql.com/Download ... nf_80.html

Configuring your postgresql according to your current hardware settings can maximize the overall performance. But still with my current setup, running this big db is not recommended. I just did that for testing purposes only with the purpose of knowing how much PT3 can handle base on my current hardware limitations and with the help of software performance configurations.

Regards
g_a_quintas
g_a_quintas
 
Posts: 9
Joined: Mon Feb 25, 2008 11:03 pm

Re: Max size of base?

Postby kraada » Tue Feb 17, 2009 8:18 pm

Yes, we talk about those sorts of optimizations in the Performance Tuning: PostgreSQL FAQ.
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