# Connect GX to Athena is extremely slow

**URL:** <https://discourse.greatexpectations.io/t/connect-gx-to-athena-is-extremely-slow/1758>\
**Category:** GX Core Support\
**Created:** [June 7, 2024, 11:03pm UTC](https://discourse.greatexpectations.io/t/connect-gx-to-athena-is-extremely-slow/1758 "2024-06-07T23:03:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kli](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kli](https://discourse.greatexpectations.io/u/kli)\
**Post date:** [June 7, 2024, 11:03pm UTC](https://discourse.greatexpectations.io/t/connect-gx-to-athena-is-extremely-slow/1758/1 "2024-06-07T23:03:52Z")

</div>

Hi there,

we use GX 0.16.16 to connect to Athena data source, however, the GX context loading time is super slow, it takes 6 mins on average to get the context and continue with the validation, I wonder does the team know what is causing the slowness in Athena connection? And if there is any recommendations to speed up this data source connection a bit?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Oliver](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/oliver/32/315_2.png) [@Oliver](https://discourse.greatexpectations.io/u/Oliver)\
**Post date:** [June 9, 2024, 2:16pm UTC](https://discourse.greatexpectations.io/t/connect-gx-to-athena-is-extremely-slow/1758/2 "2024-06-09T14:16:07Z")

</div>

> [@kli](#):
>
> what is causing the slowness in Athena connection?

There are a few reasons why Athena connections could be slow when utilising Great Expectations:

- Data Volume and Complexity
- Configuration and Optimization
- Resource Limitations
- Query Optimization

[https://discourse.greatexpectations.io](https://discourse.greatexpectations.io)

Optimising data queries, enhancing configuration parameters, and making sure the infrastructure is sufficiently provisioned to handle the necessary data quantities and query complexity are frequently used in conjunction to address these problems.
