1600 limitation - cash/tourney separate or combined?

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

1600 limitation - cash/tourney separate or combined?

Postby ChicagoAl » Fri Jan 07, 2011 7:47 pm

Hi guys.

I've been doing quite a bit of custom stat development, and I'm starting to worry about the column limitation. Is the 1600 limit all custom columns, or per database? In other words does it count HE cash and HE tourney separate, or are they all combined (giving me an effective 800 column limit if i am using them on both sides)?

Also, which table in SQL are the custom columns stored in so I can check how many I have now (or is there another mechanism for checking)?

Thanks!

Al
ChicagoAl
 
Posts: 29
Joined: Thu Aug 05, 2010 10:31 am

Re: 1600 limitation - cash/tourney separate or combined?

Postby WhiteRider » Sat Jan 08, 2011 6:19 am

I'm pretty sure that the restriction hits in the cache tables, as custom "columns" aren't actually in the database until the cache is built, so the limit will be on each game type.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: 1600 limitation - cash/tourney separate or combined?

Postby kraada » Sat Jan 08, 2011 9:36 am

For the record, the columns are stored in the holdem_cache, tourney_holdem_cache, omaha_cache, and tourney_omaha_cache, depending on the game type you are playing.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 1600 limitation - cash/tourney separate or combined?

Postby ChicagoAl » Sat Jan 08, 2011 3:35 pm

Thanks guys. And is the limit 1600 TOTAL columns per cache database or 1600 CUSTOM columns per cache database?
ChicagoAl
 
Posts: 29
Joined: Thu Aug 05, 2010 10:31 am

Re: 1600 limitation - cash/tourney separate or combined?

Postby kraada » Sat Jan 08, 2011 4:09 pm

1600 columns total per cache table - there is a hard limit on 1600 columns for any PostgreSQL table. The limitation is PostgreSQL's, not PT3's.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 1600 limitation - cash/tourney separate or combined?

Postby ChicagoAl » Sat Jan 08, 2011 6:42 pm

Thanks Kraada.

Not to give away too much of what I'm thinking, but it looks like the custom columns are all being created as "integer". Is there a way to use a different data type (bigint, text, or even better array) for a custom column?

Al
ChicagoAl
 
Posts: 29
Joined: Thu Aug 05, 2010 10:31 am

Re: 1600 limitation - cash/tourney separate or combined?

Postby kraada » Sat Jan 08, 2011 6:46 pm

I see where you're going with it and I'd love to have that ability too unfortunately it is not possible at this point in time.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 1600 limitation - cash/tourney separate or combined?

Postby ChicagoAl » Sat Jan 08, 2011 6:49 pm

Can't blame a guy for trying :-)
ChicagoAl
 
Posts: 29
Joined: Thu Aug 05, 2010 10:31 am


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests