Hi,
an alternative to using the client that Pouria suggested would be to add
"mode=asynchronous-deferred" as an HTTP parameter when talking to the
API. In
that case the query should be evaluated completely and an HTTP response
should
come back - however without the result. Instead the response should
contain a
handle where you could pick up the query result (which you could choose
not to
do).
I'm using "should" a lot, as I haven't used this feature for a while,
and so my
recollection of what it does might be buggy or outdated.
Cheers,
Till
On 2 Dec 2016, at 11:16, Pouria Pirzadeh wrote:
You may find the following client useful.
It works against the HTTP, runs query workload for one or more
iterations
and dumps the response time per query/iteration in a stats file.
https://github.com/pouriapirz/asterixClient
Pouria
On Fri, Dec 2, 2016 at 10:45 AM, Thor Martin Abrahamsen
<[email protected]
wrote:
Hi,
Is it possible to get the execution time metric in the HTTP API?
I’m running some queries and are interested in the execution time.
In the
web interface the duration is printed below the results, but I want
the
queries to execute without printing the results. Either in the web
interface, or through the API. The specific query is iterating
through a
dataset and applying a library function on each record.
I am working on a student project together with Heri.
Mvh.
Thor Martin Abrahamsen
Student @ NTNU
Tlf. +47 470 78 713