Pagesize
Specifies the maximum number of results returned per page from GraphQL.
Data Type
string
Default Value
""
Remarks
This property controls the maximum number of results the server retrieves per page when querying the GraphQL service. Adjusting the page size can impact performance and resource usage:
- Larger page sizes reduce the number of requests made to the server, which can improve performance. However, larger page sizes require more memory to store the results of each page, potentially increasing memory consumption.
- Smaller page sizes consume less memory but may increase the number of requests required to retrieve all results, which can lead to slower performance.
You can provide a single page size or a comma-separated list for multiple pagination levels. In the latter case, the server applies different page sizes at each nested level in the GraphQL data.
The effective page size directly influences the query cost in GraphQL. If the query cost exceeds server-imposed limits, the request may fail. Adjust this property cautiously to balance performance and resource utilization. This property is useful for optimizing data retrieval strategies, particularly for applications requiring large datasets or constrained by server-side limitations.