1. A database system-implemented method comprising: receiving, by the database system, a request from a computing device that is communicatively part of a cloud network, wherein the request includes a query for receiving data from the database system, wherein the request is placed by a user having access to the computing device and representing a tenant in a multi-tenant environment; and evaluating, by the database system, in runtime, the request to determine whether the request satisfies a predetermine threshold value, wherein the threshold value defines a permitted range of columns and a permitted range of rows based on a query policy associated with the tenant, wherein if the request satisfies the predetermined threshold value, returning, by the database system, a response based on the predetermined threshold value, wherein the response is returned to the computing device, wherein if the request fails to satisfy the predetermined threshold value, returning, by the database system, an adjusted response to the computing device, wherein the adjusted response is generated based on one or more adjustments made, in runtime, to at least one of the permitted range of columns and the permitted range of rows, wherein the one or more adjustments are calculated such that a net adjustment to the permitted ranges of columns and rows remains in compliance with the query policy, and wherein the one or more adjustments are calculated using one or more formulae provided for adjusting the threshold value while remaining in compliance with at least one of the query policy and user expectations such that by at least one of limiting a number of the permitted range of columns or the permitted range of rows while avoiding a heap limit, wherein the permitted ranges of columns and rows include minimum and maximum integer values.