Query Performance Has Changed

I have a query, which I will detail below, which worked on the 6.X series of Stardog and had OK performance. Now, with 7.0.1 (I tried to download the 7.0.2 to see if there is a difference but the wget as listed on the webisite downloaded 7.0.1), the query does not finish within the 5m timeout (but does if I bump the query timeout to 10m) and the query plan seems out of proportion for what the query seems to be. The main configuration options that I use are sameAs=FULL.

prefix rel: <http://purl.org/vocab/relationship/>
prefix foaf:  <http://xmlns.com/foaf/0.1/>

select ?a
from <tag:stardog:api:context:all>
where {
    ?a rel:descendantOf <http://example.com/LL/lagin.trig#ConaillCernaig>
}

The query plan is 30785 lines long so I will not include it here but I can provide it on request.

Thank you for your time and consideration.

Hi Chris,

If you share the dataset, we will try to reproduce. Otherwise plans for 6.* and 7.0.1 could help too.

Best,
Pavel

Hi Pavel,

I would be happy to send you the dataset. Would you like me to attach it to this issue or email it to you? Sadly, I do not have 6.* on my machine anymore.

All the best,
Chris

You can send it directly to me (pavel at stardog) or upload to some file sharing service.

Thanks,
Pavek

Chris,

In fact, the plans are similarly large with both 6 and 7. Stardog 6 is indeed faster executing it. We'll look into it. The internal issue number is #7937, in case i forget to provide an update (you can look it up in the release notes).

Best,
Pavel

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.