You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/24 22:51:44 UTC
[jira] [Commented] (USERGRID-1336) Implement a query analyzer
[ https://issues.apache.org/jira/browse/USERGRID-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883675#comment-15883675 ]
ASF GitHub Bot commented on USERGRID-1336:
------------------------------------------
GitHub user michaelarusso opened a pull request:
https://github.com/apache/usergrid/pull/567
[USERGRID-1336] Initial commit of a simple query analyzer feature.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/usergrid query-analyzer
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #567
----
commit a494146250ea92c6d0ebbb9c579ff194525f5eed
Author: Michael Russo <ru...@google.com>
Date: 2017-02-24T22:49:09Z
[USERGRID-1336] Initial commit of a simple query analyzer feature.
----
> Implement a query analyzer
> --------------------------
>
> Key: USERGRID-1336
> URL: https://issues.apache.org/jira/browse/USERGRID-1336
> Project: Usergrid
> Issue Type: Story
> Reporter: Michael Russo
> Assignee: Michael Russo
>
> Implement a query analyzer such that the following things can be taken into consideration based on applicatino set limits:
> size of collection (in count of entities and total bytes)
> size of index (total bytes)
> number of query operands
> number of query sort predicates
> If one exceeds the limit, mark it as a violation.
> The initial approach for this will be log only such that we can alert based on logs if something extremely abnormal is detected. Also provide the client a new queryparam "analyzeOnly" so that for any existing query, they can run this and get back the warnings without having the query execute against Elasticsearch.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)