Arif Chaudhary
06/02/2024, 8:09 AMkapa.ai
06/02/2024, 8:09 AM<base_url>/workspaces/<workspace-id>/connections/<connection-id>/status
. - For example, if the URL is localhost:8000/workspaces/92ad8c0e-d204-4bb4-9c9e-30fe25614eee/connections/5432b428-b04a-4562-a12b-21c7b9e8b63a/status
, the connection ID is 5432b428-b04a-4562-a12b-21c7b9e8b63a
. 2. Access the Airbyte Database: - If you are using the default airbyte-db
Postgres database, you can access it using the following command: sh docker exec -ti airbyte-db psql -U docker -d airbyte
- Ensure you have the correct credentials specified in the .env
file. By default, they are: sh DATABASE_USER=docker DATABASE_PASSWORD=docker DATABASE_DB=airbyte
3. Run the SQL Command to Update Resource Requirements: - Connect to the database and run the following command with the connection ID and resource requirements filled in: sql update connection set resource_requirements = '{"cpu_limit": "0.5", "cpu_request": "0.5", "memory_limit": "500Mi", "memory_request": "500Mi"}' where id = '<id-from-step-1>';
### Example: If your connection ID is 5432b428-b04a-4562-a12b-21c7b9e8b63a
, the command would be: sql update connection set resource_requirements = '{"cpu_limit": "0.5", "cpu_request": "0.5", "memory_limit": "500Mi", "memory_request": "500Mi"}' where id = '5432b428-b04a-4562-a12b-21c7b9e8b63a';
### References: - [Configuring Connection-Specific Requirements](https://docs.airbyte.com/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements) - [Accessing the Default Database](https://docs.airbyte.com/operator-guides/configuring-airbyte-db#accessing-the-default-database-located-in-docker-airbyte-db) By following these steps, you can successfully connect to the Airbyte database and configure connection-specific resource requirements.Arif Chaudhary
06/02/2024, 8:26 AMkapa.ai
06/02/2024, 8:26 AMrds.logical_replication
parameter, you need to wait for a maintenance window to automatically restart the instance or restart it manually. - [Source](https://docs.airbyte.com/integrations/sources/postgres#step-3-enable-logical-replication-on-your-postgres-database) 2. Enabling Logical Replication on Azure Database for Postgres: - After changing the replication mode to logical
, you need to restart the server using the Azure CLI command: bash az postgres server restart --resource-group group --name server
- [Source](https://docs.airbyte.com/integrations/sources/postgres#step-3-enable-logical-replication-on-your-postgres-database) If your question pertains to a different action or configuration, please provide more details so I can give you a more accurate answer.