PocketQuery allows you to globally configure a timeout and data limits for both queries and REST calls.

Query Timeout

The amount of seconds a query or REST call is allowed to take before it is aborted. By default this is set to 0 which means there is no timeout.

Your JDBC driver needs to support the remote query timeout server configuration option (queryTimeout).

Query Data Limit

The maximum number of rows processed per query that will be processed by PocketQuery. If the result of your query is bigger than this number, it is simply cut off, just like a LIMIT clause would do. By default this is set to 0 which means all rows are processed.

REST Data Limit

The maximum number of bytes accepted from a REST call by PocketQuery. If the result of your REST call is bigger than this number, the execution of your query is aborted. By default this is set to 0 which means all results are accepted.