Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a mechanism for terminating long running queries?

0
Posted

Is there a mechanism for terminating long running queries?

0

Virtuoso SPARQL and SQL offer an “anytime” option that will return partial results after a configurable timeout. In this way, queries will return in a predictable time and indicate whether the results are complete or not, as well as give a summary of resource utilization. This is especially useful for publishing a SPARQL endpoint where a single long running query could impact the performance of the whole system. This timeout significantly reduces the risk of denial of service. This is also more user-friendly than simply timing-out a query after a set period and returning an error. With the anytime option, the user gets a feel for what data may exist, including whether any data exists at all. This feature works with arbitrarily complex queries, including aggregation, GROUP BY, ORDER BY, transitivity, etc. Since the Virtuoso SPARQL endpoint supports open authentication (OAuth), the authentication can be used for setting timeouts, so as to give different service to different users. It is

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.