i have a lot of streams in an airbyte connection a...
# ask-ai
s
i have a lot of streams in an airbyte connection and connection is getting very slow when ingesting data how to optimize this connection
u
There are several ways you can optimize your Airbyte connection when dealing with a large number of streams: 1. Isolate each stream into a separate sync job: This can help improve performance by reducing the load on each job. This suggestion was mentioned in a [forum post](https://discuss.airbyte.io/t/2416). 2. Allocate more memory to the connection: This can be done by adjusting the resource requirements for the connection. Here's an example of how to do this in SQL:
Copy code
update connection set resource_requirements = '{"cpu_limit": "1", "cpu_request": "1", "memory_limit": "4Gi", "memory_request": "4Gi"}' where id = '5dc1787f-cfc0-4411-a2c6-4423d0ddff29';
This command was shared in a [forum post](https://discuss.airbyte.io/t/2416). 3. Upgrade to the latest version of both connectors: Upgrading to the latest version of your source and destination connectors can help improve performance. This was suggested in a [forum post](https://discuss.airbyte.io/t/4373). 4. Limit the number of tables per connection: If you're using CDC, it's recommended to limit the number of tables to a maximum of 30 per connection. This is due to a limitation between the source and destination that the Airbyte team is working to improve in the future. This was also suggested in a [forum post](https://discuss.airbyte.io/t/4373). 5. Use staging on Destination: This was also suggested in a [forum post](https://discuss.airbyte.io/t/4373). Remember that the throughput of 2K-3K rows per second is within the normal range of Airbyte's database connector, and there may not be an obvious way to speed up the connection beyond these optimizations.