[Developers] query timeout

Christopher R. Maden crism at metaweb.com
Thu Aug 21 18:16:52 UTC 2008


Augusto Callejas wrote:
> i consistently get a query timeout on this query:
> 
> should i expect this query to timeout in general?  or is there something
> wrong with the database host?

Let’s see: you’re asking for all the types and literal properties of 
every instance of a whole pile of types?  Yeah, I’d say you should 
expect that to timeout! (-:

I think you are going to need to throw a limit clause in there; it 
defaults to 100, and that will be a lot for a query like this.

~Chris
-- 
Christopher R. Maden
Data Architect
Freebase.com: <URL: http://www.freebase.com/ >
Metaweb Technologes, Inc. <URL: http://www.metaweb.com/ >


More information about the Developers mailing list