This State is since 20 Minutes: Attempting typing ...
# ask-ai
m
This State is since 20 Minutes: Attempting typing and deduping for dl_gus.EEL with suffix _ab_soft_reset Why it is taking so long?
k
The step "Attempting typing and deduping for dl_gus.EEL with suffix _ab_soft_reset" can take a long time for several reasons, based on the available knowledge sources: 1. Large or Complex Tables: If your table has a large number of records or complex schema, the typing and deduping process (which involves transforming and deduplicating data from raw tables into final tables) can be compute-intensive and slow, especially on large datasets. 2. Soft Reset Process: During a soft reset, Airbyte drops and re-creates the final table transactionally. This involves erasing raw tables, building a new temporary final table, and then swapping it in place of the old one. This process can be slow if the underlying data is large or if the database is under heavy load. Additionally, any schema migrations or changes in data types/column order can add to the processing time [On final table re-creation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping#on-final-table-re-creation). 3. Destination Performance: Some destinations (like BigQuery or Snowflake) may experience slowdowns due to resource constraints, timeouts, or transient errors. For example, BigQuery can time out or hit query length limits, which can cause retries and delays [[BigQuery Issue](https://github.com/airbytehq/airbyte/issues/36303)]. 4. Long-lived Airbyte Instances: There are reports that on long-lived Airbyte instances, certain steps (like clearing storage or resetting streams) become increasingly slow over time, possibly due to accumulated metadata or local state. Rebuilding the environment can temporarily resolve this, but the root cause may be related to how Airbyte manages its internal state over time [[Forum Post](https://discuss.airbyte.io/t/3620)]. If the process is stuck for an unusually long time (e.g., over 20 minutes), it may be due to one or a combination of the above factors. If this persists, consider checking the Airbyte logs for errors or timeouts, and if needed, restarting the Airbyte instance or opening a GitHub issue with detailed logs for further investigation.
m
@kapa.ai what would say the state without the postfix _ab_soft_reset?
k
A message from kapa.ai
The state without the postfix _ab_soft_reset refers to the normal, ongoing typing and deduping process for a destination table in Airbyte, rather than a "soft reset" operation. A "soft reset" (indicated by the _ab_soft_reset suffix) is a special process where Airbyte drops and re-creates the final table, typically for reasons such as schema migrations or a transactional full refresh. This process is designed to be as transactional as possible and is usually invisible to most observers. When the table does not have the _ab_soft_reset suffix, it means Airbyte is performing standard typing and deduping operations—transforming and deduplicating data from the raw table to the final table—without needing to rebuild the table from scratch [On final table re-creation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping#on-final-table-re-creation). In summary, the state without the _ab_soft_reset suffix indicates regular operation, while the presence of the suffix signals a table re-creation (soft reset) is in progress.
m
The table has approx 50 million rows in BigQuery. Could this cause the long waiting time?
@kapa.ai The table has approx 50 million rows in BigQuery. Could this cause the long waiting time?
k
A message from kapa.ai
Yes, having approximately 50 million rows in your BigQuery table can significantly increase the time required for the typing and deduping process. Large tables require more compute resources and time for Airbyte to process, especially during operations like soft resets or full table re-creation, which involve reading, transforming, and writing all rows. This is consistent with user reports and documentation indicating that large datasets can lead to long processing times during these steps [Typing and Deduping](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping). Additionally, BigQuery charges and processes data based on the amount of data scanned and transformed, so larger tables not only take longer but can also incur higher costs. Users have reported that normalization and deduplication steps can process many times the size of the destination table, further increasing the time and resources required for large tables [Forum Post: Deduped + history generates too much processing costs](https://discuss.airbyte.io/t/2445). In summary, the size of your table is very likely a major factor in the long waiting time you are experiencing.
m
@kapa.ai how long should I wait before cancel the job?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not specify an exact recommended waiting time before canceling a job during the typing and deduping (or soft reset) process. The duration can vary greatly depending on factors such as table size, destination performance, and system resources. However, there are some relevant points from the sources: - Users have reported jobs running for many hours (even up to 20 hours) when processing large tables, especially in BigQuery, before hitting a "deadline exceeded" error or deciding to cancel manually [Forum Post: Destination Bigquery sync process never starts](https://discuss.airbyte.io/t/298). - The only configurable timeout mentioned is the
SYNC_JOB_MAX_TIMEOUT_DAYS
environment variable, with a minimum of 1 day, which may be too long for many use cases [Forum Post: Sync hangs until I cancel](https://discuss.airbyte.io/t/709). If your job is taking significantly longer than previous runs with similar data volumes, or if you see no progress in the logs for an extended period, it may be reasonable to cancel and investigate further. But there is no official guidance on a specific time threshold in the documentation or community posts.
m
Was ist das für ein Fehler? 2025-08-09 211010 source INFO main i.a.c.i.s.r.s.SourceStateIterator(computeNext):50 sending state message, with count per stream: {dbo_PS1=10000} 2025-08-09 211015 destination INFO Malformed non-Airbyte record (connectionId = 7182c2e9-fec9-4c27-a26e-1ee5b3b78a59): Terminating due to java.lang.OutOfMemoryError: Java heap space