by kraada » Sat Aug 01, 2009 2:46 pm
Just to give a bit more information:
The holdem_cache table is used to basically streamline the statistics generation process.
Whenever the Update Cache part of Housekeeping is run, PT3 goes through and rebuilds the value of any column needed for any stat for every player, and they're stored by name as columns in the holdem_cache table. So for example, cnt_vpip is the number of times someone had VP$IP at the time the cache was last built (that value is stored in the settings table). Then PT3 adds in a dynamically generated value for the newer hands and sums the two together - doing sums over all hands was too resource intensive previously, which is why the cache was added.
If your computer can handle without running with a cache (and some can), there are a few ways to disable the cache so the holdem_cache table won't be used at all by the HUD, the easist of which is to use the Last X Hands option on the Hud Options tab - if you don't want the actual functionality to kick in, set it to a large number (say, 100000) and that should work fine as well. (The other option is to build a new column, use it in a new custom stat, add it to the HUD and don't update the cache - then PT3 can't use the cache for that one stat, which results in the cache not being used at all.)
I hope that helps; if you still need more feel free to ask :)