[Developers] query timeout

Jack Alves jack.alves at gmail.com
Thu Aug 21 20:57:11 UTC 2008


It works if you split the types and use two queries,

   "/organization/organization",
   "/organization/organization_membership",
   "/dining/restaurant",
   "/people/marriage",
   "/location/location",
   "/religion/religion",
   "/business/company"


then

   "/tv/tv_actor",
   "/tv/regular_tv_appearance",
   "/tv/tv_program",
   "/people/person",
   "/film/actor",
   "/film/performance",
   "/film/film",
   "/music/album",
   "/music/artist",
   "/music/musical_group",





On Thu, Aug 21, 2008 at 11:25 AM, Augusto Callejas <
acallejas at appliedminds.com> wrote:

> well, i'm only asking for literal properties that have been updated or
> deleted after a certain period in time:
>
>        "timestamp>=" : "2008-08-20T02:29:19.739Z",
>
> is the timestamp filter being applied only until the end?
>
> also, are you saying that the default limit (100) is too much?
> that i should be providing a limit lower than 100?
>
> thanks,
> augusto.
>
>
> On 8/21/08 11:16 AM, "Christopher R. Maden" <crism at metaweb.com> wrote:
>
> > 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
>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080821/fc25bdd0/attachment.htm 


More information about the Developers mailing list