Best approach for compering data across multiple Temporal Workflows

Hi,

We have long-running workflows in our system and are exploring the best way to compare data across multiple workflows for product-related purposes.

Would you recommend querying Temporal directly for this comparison, or is it better to output the workflow data to an external database and use that for the comparison use case.

Thanks!

We recommend using an external database for cross-workflow aggregations.