Re: Timeout on Oak Queries ?

2017-03-23 Thread Ian Boston
I have created https://issues.apache.org/jira/browse/OAK-5978 to track.
Best Regards
Ian

On 23 March 2017 at 14:03, Davide Giannella  wrote:

> On 23/03/2017 11:12, Ian Boston wrote:
> > Hi,
> > Is it possible to configure a maximum execution time for Oak queries ?
> >
> > Other "database" systems often monitor the time a query is taking and
> kill
> > if if it exceeds a time limit to avoid long running queries causing
> outages.
> >
> >
>
> I'm aware of "timeouts" on node reads but not on time. So we cancel a
> query that iterated over a certain amount of nodes or as of 1.6 may hit
> the traversal index https://issues.apache.org/jira/browse/OAK-4888.
>
> Not aware on time constraints. I think though it will be a good feature
> to add if not there.
>
> Davide
>
>
>


Re: Timeout on Oak Queries ?

2017-03-23 Thread Davide Giannella
On 23/03/2017 11:12, Ian Boston wrote:
> Hi,
> Is it possible to configure a maximum execution time for Oak queries ?
>
> Other "database" systems often monitor the time a query is taking and kill
> if if it exceeds a time limit to avoid long running queries causing outages.
>
>

I'm aware of "timeouts" on node reads but not on time. So we cancel a
query that iterated over a certain amount of nodes or as of 1.6 may hit
the traversal index https://issues.apache.org/jira/browse/OAK-4888.

Not aware on time constraints. I think though it will be a good feature
to add if not there.

Davide




Timeout on Oak Queries ?

2017-03-23 Thread Ian Boston
Hi,
Is it possible to configure a maximum execution time for Oak queries ?

Other "database" systems often monitor the time a query is taking and kill
if if it exceeds a time limit to avoid long running queries causing outages.

Best Regards
Ian