I think we should set the right expectations about working with large cohorts.
Quoting Dan's response from September 17:
I just wanted to correct one small misunderstanding. Running large cohorts does *not* work in wikimetrics at this time for two reasons:
You'll have a problem uploading them as Dario mentioned (because it validates each user individually against the database, as Dario guessed). The best solution for this is to create a temp table of all the users we are trying to upload and verify them in one query. This would be very fast and not too hard to implement.
A large cohort will not fit in the "IN" clause of a SQL query. This is a known limitation and we have to fix it by creating a temporary table from the cohort. We can then join to the temp table for any metrics. The reason I've delayed this is because the same mechanism could be used to implement dynamic cohorts, boolean cohort combinations, and project level cohorts. We should prioritize these technically related features and then I can come up with a plan to do the minimally viable thing without shooting ourselves in the foot.
Hope that makes sense. As for the rest, I leave prioritization up to you guys except where it touches on technical issues, as above.
Dario
On Oct 11, 2013, at 9:50 AM, Toby Negrin tnegrin@wikimedia.org wrote:
Hi Steven -- is this working now?
Cheers,
-Toby
On Thu, Oct 10, 2013 at 6:36 PM, Steven Walling swalling@wikimedia.org wrote:
On Thu, Oct 10, 2013 at 6:32 PM, Diederik van Liere dvanliere@wikimedia.org wrote: Hi Steven,
It could be related to general Labs maintenance that is happening right now but to be sure can you email me your cohort so we can test it ourselves tomorrow? D
I'll try it again when Labs is not undergoing maintenance. It's not critical.
-- Steven Walling, Product Manager https://wikimediafoundation.org/
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics