<@U04S8PLJWMT> What's a good snowflake source ware...
# ask-ai
t
@kapa.ai What's a good snowflake source warehouse for views over a million data?
k
The knowledge sources do not provide a specific recommendation for the optimal Snowflake warehouse size or configuration when using Airbyte to sync views containing over a million records. However, they do provide some relevant context: - When setting up a Snowflake destination for Airbyte, you need to configure the warehouse, database, schema, user, and role in Snowflake. The example setup script uses a warehouse size of xsmall, but this is just a starting point and may not be sufficient for very large datasets or high-throughput requirements. You can adjust the warehouse size (e.g., small, medium, large) based on your performance needs and budget. Snowflake warehouses are scalable, so you can increase the size if you experience slow performance with large views or high data volumes [End-to-end RAG with Airbyte Cloud, Google Drive, and Snowflake Cortex](https://airbyte.com/tutorials/end-to-end-rag-with-airbyte-cloud-google-drive-and-snowflake-cortex). - Performance issues can arise when syncing large volumes of data, as seen in a user report where syncing from Snowflake to another destination failed due to a JDBC timeout after several hours. This suggests that for very large datasets, you may need to consider both the warehouse size and the network/data transfer limitations [Source Snowflake - JDBC timeout](https://github.com/airbytehq/airbyte/issues/21768). - The Snowflake source connector supports both Full Refresh and Incremental syncs. For large views, using Incremental sync (if possible) can help reduce the load and improve performance [Snowflake Source Overview](https://docs.airbyte.com/integrations/sources/snowflake#overview). Summary: A good starting point is to use at least a small or medium Snowflake warehouse for syncing views with over a million records, and monitor performance. If you encounter slow syncs or timeouts, consider increasing the warehouse size or optimizing your sync strategy (e.g., using incremental syncs, partitioning data, or optimizing the view itself). Always test and adjust based on your specific workload and performance requirements. If you need more detailed sizing guidance, you may need to consult Snowflake's own documentation or support, as Airbyte's documentation does not provide explicit recommendations for warehouse sizing for large views.
t
Why is Mongodb destination data is transferred to tmp tables instead of raw tables?
@kapa.ai Would airbyte transfer the data from tmp tables to raw tables?
k
A message from kapa.ai
Based on the knowledge sources, Airbyte does not transfer data from temporary (tmp) tables to raw tables. Instead, the typical flow is: - Data is first written from the source to a raw table in the destination (e.g.,
_airbyte_raw_<table_name>
). - For destinations using Typing and Deduping (T+D), Airbyte then processes the raw data and writes it to a final table (sometimes using a temporary table during the process for atomic swaps or full refreshes). - Temporary tables are used internally during syncs (especially for full refreshes or schema migrations), but the data flow is from raw tables to final tables, not the other way around. There is no mention in the documentation of Airbyte transferring data from tmp tables to raw tables. Instead, tmp tables are used as staging areas before finalizing data into the final tables, and raw tables are the initial landing zone for incoming data from the source [On final table re-creation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping#on-final-table-re-creation). If you are using the new direct-load feature, raw tables may not be created at all, as data is loaded directly into the final tables [Direct loading tables](https://docs.airbyte.com/platform/using-airbyte/core-concepts/direct-load-tables). Summary: Airbyte does not transfer data from tmp tables to raw tables. The flow is from source → raw table → (tmp table, if needed) → final table, not the reverse.