Importing Duplicates Very Slow

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

Moderator: Moderators

Importing Duplicates Very Slow

Postby cl3537 » Thu Feb 21, 2008 2:49 pm

Dear Josh,

I am importing Fulltilt hand histories about 100,000 at a time to test the duplicate skipping. It is working but much slower than importing them originally.
Shouldn't importing duplicates be faster not slower.

Manual Import 443 Files 130,000 Hands (Originally about 12 Minutes To Import)
Second Time on the same batch took 1:32 to skip the the files as duplicates.

Also the number of hands are the same but PT2 has 4965 minutes but PT3 has 4898 minutes

Regards,
Jordan
cl3537
 
Posts: 3
Joined: Sun Jan 20, 2008 3:33 am

Re: Importing Duplicates Very Slow

Postby Josh » Thu Feb 21, 2008 3:16 pm

When PT3 encounters a duplicate, it checks what is currently in the database. If the new hand has more information, it overwrites the old information. This checking is what causes duplicates to take longer.

What report in PT3 are you looking at to get the minutes?
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

Re: Importing Duplicates Very Slow

Postby mofo » Thu Feb 21, 2008 8:15 pm

Dunno if this is applicable, but when the original raw HH is saved in the database, just add some quickly calculable hash for the hand. Then while importing, just calc the hash and compare to the already existing hand's hash. Because I suspect most duplicate cases are when the hands are identical, this would speed things up quite a bit?
mofo
 
Posts: 31
Joined: Tue Feb 19, 2008 6:49 am

Re: Importing Duplicates Very Slow

Postby Josh » Thu Feb 21, 2008 9:31 pm

It don't think that would speed it up much actually, since the delay is caused by reading from the database for every hand. Your method would require that too.
Josh
Site Admin
 
Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 56 guests

cron