Resource Limitations

Theoretically, GraphQL could allow users to submit very expensive nested queries that could be damaging for the performance of the server.

For this reason, the Denodo GraphQL Service prevents the execution of queries if any of these conditions are met:

  • The query complexity is greater than the value specified by the property graphql.max.query.complexity. Default is 200. The complexity is based on the number of fields requested and it is calculated using the formula: 1 + childComplexity.

  • The query depth is greater than the value specified by the property graphql.max.query.depth. Default is 5.

See the configuration section for details on the graphql.max.query.complexity and graphql.max.query.depth configuration properties.