[ 
https://issues.apache.org/jira/browse/PHOENIX-4593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chinmay Kulkarni updated PHOENIX-4593:
--------------------------------------
    Labels: phoenix-hardening  (was: )

> Detect and fail queries that are deemed too expensive
> -----------------------------------------------------
>
>                 Key: PHOENIX-4593
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4593
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: James Taylor
>            Priority: Major
>              Labels: phoenix-hardening
>
> Based on a conversation over on PHOENIX-1556, we should have configurable 
> limits for various query operators:
> - max size of client-side order by
> - max size of server-side order by
> - max size of client-side aggregation
> - max size of server-side aggregation
> - max bytes processed for an UPSERT SELECT
> - max rows deleted by DELETE
> Some of these are controlled by the max amount of memory allowed, but this is 
> suboptimal as you end up using cluster resources and then failing at runtime. 
> Ideally, if we had histograms available (PHOENIX-1178), we could detect at 
> compile time if we think the limits will be reached and then disallow them.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to