I need to ingest sample data through Airbyte from ...
# ask-ai
n
I need to ingest sample data through Airbyte from MySQL, limited to 5,000 records per table. How can this be achieved?
k
Airbyte does not currently provide a built-in way to limit the number of records ingested per table (such as a "limit" parameter) during a sync from MySQL or other sources. This feature has been requested by users, as seen in both the Airbyte community forum and GitHub issues, but it is not available as of now. The typical workaround suggested is to work with a smaller dataset at the source level or to use incremental syncs creatively, but there is no straightforward configuration in Airbyte to enforce a per-table row limit during syncs from MySQL or other databases [Limit connection sync records returned](https://discuss.airbyte.io/t/4082) [Limit The Rows To Be Synced](https://github.com/airbytehq/airbyte/issues/19572). If you need to ingest only 5,000 records per table, you would need to: - Apply a row limit (e.g., using SQL views or exporting a subset) on the MySQL side before syncing, or - Use Airbyte’s incremental sync mode (if supported by your source and use case) to control the amount of new data ingested over time, but this does not guarantee a strict row limit per table. There is no configuration in Airbyte’s UI or YAML connector definitions that allows you to set a maximum number of records to sync per table for MySQL sources. If this is a critical requirement, you may want to upvote or comment on the related GitHub issue to express your interest in this feature. Summary: You cannot directly limit the number of records per table to 5,000 during Airbyte syncs from MySQL using current Airbyte features or configuration options. Workarounds must be implemented outside of Airbyte, such as limiting data at the source or using custom SQL views [Limit connection sync records returned](https://discuss.airbyte.io/t/4082) [Limit The Rows To Be Synced](https://github.com/airbytehq/airbyte/issues/19572).