<@U04S8PLJWMT> Regarding Hubspot data sync I think...
# ask-ai
u
@kapa.ai Regarding Hubspot data sync I think it's a specification of Hubspot's API, but it takes a very long time to sync. I'm dealing with a lot of data, especially for engagements. Is there anything I can do about this? Let me know if there's a better way.
k
A few options you can try to reduce HubSpot sync time, especially for large “engagements” and other heavy streams: - Limit selected properties/columns. Very large property sets can slow and even break syncs (e.g., long requests, oversized merge queries). Uncheck unneeded properties in the stream to reduce payloads and query size (this has helped with Contacts/Deals and BigQuery merge length issues) ([Source HubSpot: 414 Request-URI Too Large](https://discuss.airbyte.io/t/59), [URI too large for many properties](https://github.com/airbytehq/airbyte/issues/33976), [HubSpot→BigQuery merge length guidance](https://github.com/airbytehq/airbyte/issues/62090)). - Use the latest connectors. Recent HubSpot fixes addressed pagination/duplication causing excessive data reads on line_items, goals, tickets, and contacts. Upgrade to ≥ 5.8.7 if you’re on older versions ([Fixes in 5.8.7](https://github.com/airbytehq/airbyte/issues/61352)). - Consider destination improvements. If you use BigQuery, upgrading to BigQuery 3.0.1+ (Direct Load) can avoid huge merge queries that slow/block syncs in wide schemas. Review the migration guide first ([BigQuery 3.0.1+ tip](https://github.com/airbytehq/airbyte/issues/62090)). - Schedule periodic full refreshes for critical streams. Over long periods, incremental-only can drift; some users periodically re-sync to fix inconsistencies. Airbyte doesn’t yet offer a built‑in scheduled full refresh toggle for incremental streams; it’s a requested feature ([feature request](https://github.com/airbytehq/airbyte/issues/26513)). - For initial large backfills, preload outside Airbyte. If the source API is slow/unreliable for a full historical load, you can bulk load data yourself (e.g., to a staging table) and then use Airbyte just for incrementals; merge with dbt downstream ([discussion](https://discuss.airbyte.io/t/1836)). - Be aware of “engagements” endpoint behavior. Older logic used the /recent endpoint (limited) vs /paged, which could cap data at 10K when state is present. If you see that behavior on older versions, upgrade and re-test ([discussion](https://discuss.airbyte.io/t/3718)). - Tune platform concurrency. If jobs queue due to limited workers, increasing MAX_SYNC_WORKERS (and worker replicas) helped some users reduce wall‑clock-sync time, though there’s no official sizing guide yet ([discussion](https://discuss.airbyte.io/t/3780)). - Expect long runs for very large, rate‑limited HubSpot accounts. For massive streams (e.g., millions of contacts or email_events), tests with narrower start_date ranges or staged backfills can help diagnose and manage runtime ([discussion](https://discuss.airbyte.io/t/2654), [performance note](https://discuss.airbyte.io/t/2219)). If you share your connector versions, destination, and which streams are slowest (plus whether you’ve limited properties), I can point to the most relevant steps above.
u
source Hubspot: 6.0.0 dest BigQuery: 3.0.6
@kapa.ai Do you know why it takes so long to sync engagement data? It seems to be accessing the HubSpot API repeatedly...
k
A message from kapa.ai
Likely causes, based on known HubSpot connector behavior: - Endpoint choice limits throughput. Older implementations used the “recent” engagements endpoint when state is present, which only returns a limited window (10k) and can force many paginated calls; using the “paged” endpoint is preferred for full coverage. If you’re on an older connector, this could explain repeated API access and slow syncs ([HubSpot engagements /recent vs /paged](https://discuss.airbyte.io/t/3718)). - Very large property sets amplify requests. Wide schemas (hundreds/thousands of custom properties) inflate request/response size and can even hit URL/query-size limits, leading to retries and long runtimes. Reducing selected properties mitigates this ([Request-URI Too Large](https://github.com/airbytehq/airbyte/issues/33976), [forum workaround](https://discuss.airbyte.io/t/59), [BigQuery merge length symptom](https://github.com/airbytehq/airbyte/issues/62090)). - Sheer data volume and rate limits. Streams like engagements or email_events can involve millions of records; HubSpot API pagination and throttling make incremental progress small, so the connector issues many sequential requests over long periods ([large-volume performance notes](https://discuss.airbyte.io/t/2219), [18-hour sync context](https://discuss.airbyte.io/t/2654)). - Pagination/duplication bugs (fixed). Recent issues caused excessive reads/loops on some CRM object streams; upgrading to the latest source-hubspot (≥5.8.7) helps avoid unnecessary repeated API calls ([pagination fix and confirmations](https://github.com/airbytehq/airbyte/issues/61352)). What you can do: - Upgrade source-hubspot to the latest version and re-test engagements to avoid legacy endpoint/looping behavior ([pagination fix](https://github.com/airbytehq/airbyte/issues/61352), [endpoint note](https://discuss.airbyte.io/t/3718)). - Unselect nonessential engagement properties to shrink payloads and request complexity ([URI too large/workarounds](https://github.com/airbytehq/airbyte/issues/33976), [forum](https://discuss.airbyte.io/t/59)). - If jobs queue, increase Airbyte worker concurrency to reduce wall-clock time (no official sizing guide) ([concurrency discussion](https://discuss.airbyte.io/t/3780)). - For backfills, run in smaller date ranges or stage data to manage API limits ([large-volume guidance](https://discuss.airbyte.io/t/2219), [email_events scale note](https://discuss.airbyte.io/t/2654)).