Open A1exanderAlexeyuk opened 1 year ago
@A1exanderAlexeyuk what are the sizes of the drug cohorts and how many of them are there? Maybe we can create some fake data to replicate your set up
Hi @A1exanderAlexeyuk,
I think the short term solution is to run this in batches. So instead of processing your entire cohort table, batch your persons into smaller groups and run the treatment pathways extraction on each group. Then combine the results at the end.
Martin suggested that I work on the txPath package for this instead of ariadne. The goal will be for the txPath package to support large cohorts. Just wanted to provide an update.
@ablack3 @mdlavallee92
The size of the cohort is about 600,000 patients It's about 20 event cohorts (drugs) Run takes more than 4 hours without result, when session interrupted RAM filled with 9 GB data For cohort with 450,000 - takes 3.5 hours to run