Skip to main content

Community

Other: REST API: GET Schema and PATCH Schema performance improvements

Answered

Please sign in to leave a comment.

Comments

4 comments

  • Official comment

    Hey Shath,

    This endpoint might help your team: https://fivetran.com/docs/rest-api/api-reference/connector-schema/pre-create-connector-schema-config

    This allows you to pass in the schema config if you already know it before hand and will be immediate, because the response is just what you passed in. This has been useful for other teams with super big schemas, let me know if it helps!

    Jimmy

    I confirm patch endpoint to update schemas  takes too much time to complete.

    I have an open ticket with this issue as well, Fivetran Support team suggested to use individual tables patch endpoint but even using that endpoint, takes the same amount of time to complete for individual table update cause endpoint is returning all schemas and tables in response 

    Adding to Nestors comment, we are also facing a similar issue with the Terraform code where it takes 23 mins to update the schema/table config where the connector has a large set of schemas and tables.

    Hi Jimmy, 

    This "pre-create" endpoint works immediately after the connector creation, but we have use cases where we will need to update an existing connector to enable a schema or a table in the future. This is where it will become problematic.