Re: VXQuery RESTful API: Measuring query execution time

2017-08-13 Thread Michael Carey
AsterixDB actually has three options: - Execute query and return results, all synchronously. - Execute query and return a HANDLE to the results, synchronously - the handle can be used later to get the results. - Execute the query asynchronously and return a HANDLE - the handle can be used

Re: VXQuery RESTful API: Measuring query execution time

2017-08-12 Thread Erandi Ganepola
Hi Preston, Yes, I have proceeded in that way. Now there is a query parameter to specify whether the results needs to be received in sync or async. Async mode is similar to what we previously had. Sync mode will return the results after waiting for hyracks job to complete. Thanks and Regards, *E

Re: VXQuery RESTful API: Measuring query execution time

2017-08-07 Thread Preston Carman
I think a few offline discussion have clarified the issue with timing. As we move forward, I think timing is important. As you have highlighted, different types of timing values are available with synchronous and asynchronous requests. asynchronous query request - returns compile time result req