Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore DuckDB as an alternative approach to Phenologs pipeline #3

Open
bryanlaraway opened this issue May 20, 2024 · 1 comment
Open
Assignees

Comments

@bryanlaraway
Copy link
Member

bryanlaraway commented May 20, 2024

The current and previous (MS thesis work) implementation of the phenologs pipeline is computationally intensive, requires too much time when run locally, even with the parallel processing implementation. Can the pipeline be sped up with DuckDB, accomplishing much of the logic via table joins instead of nested Python for-loops?

@bryanlaraway
Copy link
Member Author

bryanlaraway commented May 20, 2024

Noting my first memory/processing issue when running the 'star join' to generate the cross-product table of every cross-species phenotype combination. Might be a laptop limitation, so need to test on a more powerful desktop machine for comparison.

Update: Running on a local machine with 128GB of RAM, the table creation script ran just fine within a minute or two. Will have to see how well downstream operations run as well though.

@bryanlaraway bryanlaraway self-assigned this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant