Hi Lorena,

You could execute the query against the /sparql endpoint using curl and time it:

$ time curl --request POST 'http://localhost:8890/sparql/?' --data-urlencode 
'query=select count(*) where {?s ?p ?o}' --data 'format=html' 
<table class="sparql" border="1">
  <tr>
    <th>callret-0</th>
  </tr>
  <tr>
    <td>282263</td>
  </tr>
</table>
real    0m0.015s
user    0m0.004s
sys     0m0.004s
$

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 19 May 2015, at 18:26, Lorena Etcheverry <lore...@fing.edu.uy> wrote:
> 
> Hi Hugh:
> thanks for the prompt reply!
> 
> Those instructions allow to log and explore metrics on the server side, which 
> are very useful, but I was asking if there is any way of getting the 
> estimated execution time as a response to a HTTP request.
> This would be useful info to display in a client tool, for instance.
> 
> best regards,
> Lorena
> 
> 
> 
> On 05/19/2015 01:49 PM, Hugh Williams wrote:
>> Hi Lorena,
>> 
>> You can enable query profiling to obtain query compile, execution and many 
>> other metrics as detailed at:
>> 
>> 
>>         http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#querylogging 
>> <http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#querylogging>
>> 
>> Or you can profile a single query with the profile('<query>'); command which 
>> gives the query plan for the specified query including the compilation and 
>> execution time as detailed at:
>> 
>> 
>>         http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#EfficientSQL 
>> <http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#EfficientSQL>
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.      //              http://www.openlinksw.com/ 
>> <http://www.openlinksw.com/>
>> Weblog   -- http://www.openlinksw.com/blogs/ 
>> <http://www.openlinksw.com/blogs/>
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
>> <http://www.linkedin.com/company/openlink-software/>
>> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
>> Google+  -- http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology Providers
>> 
>>> On 19 May 2015, at 15:59, Lorena Etcheverry <lore...@fing.edu.uy 
>>> <mailto:lore...@fing.edu.uy>> wrote:
>>> 
>>> Hi
>>> 
>>> I would like to know if there is a way to get, via HTTP, the estimated
>>> execution time of a SPARQL query in VOS 7.
>>> 
>>> best regards,
>>> Lorena
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> One dashboard for servers and applications across Physical-Virtual-Cloud 
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y 
>>> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y>
>>> _______________________________________________
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net 
>>> <mailto:Virtuoso-users@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
>> 
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to