Page MenuHomePhabricator

Queries with ?p wikibase:propertyType wikibase:ExternalId likely to time-out
Open, MediumPublic

Description

The query mentioned in T144476 times-out when using

	?p wikibase:propertyType wikibase:ExternalId .

but works when replacing this with

	?p wdt:P31 wd:Q22964274 .

The former (1500+) is slightly more frequent than the later (74), but still, it the number of properties is fairly limited. Using hint: didn't help either.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Smalyshev closed this task as Invalid.EditedDec 15 2016, 11:06 PM
Smalyshev subscribed.

For me, this query:

SELECT * WHERE { 
  ?a wikibase:propertyType wikibase:ExternalId 
}

finishes in 173 ms. Maybe there was a load on the server or something? Doesn't reproduce now. If it's a different query, please update.

The full query in the other bug is this. It still times out unless the replacement is made. Somehow things go wrong when Blazegraph tries to combine the parts.

Oh, ok, it seems to be the same subquery bug as in T152773

Is it? It still times-out when applying the solution suggested there: sample

Smalyshev triaged this task as Medium priority.Feb 12 2018, 8:06 AM