<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>it's working on freebase right now.</div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://tinyurl.com/btnmuf%0A">http://tinyurl.com/btnmuf</a></span></div><div><font class="Apple-style-span" face="Verdana" size="3"><span class="Apple-style-span" style="font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></font></div><div><font class="Apple-style-span" face="Verdana" size="3"><span class="Apple-style-span" style="font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">I looked up your original request (by looking in our logs for the "transaction_id") and can see that a graph query timed out. My recent attempt did incur about 2.5 seconds in the graph request (db timeout threshold is 8 sec.)</span></span></font></div><div><br></div><div>I have opened a bug, however, because, I am able to reproduce the timeout on sandbox as well as some of our test graphs. Someone will get back to you on this list to answer your question.</div><div><br></div><div>Brendan</div><div><br></div><div><div><div>On Mar 2, 2009, at 4:18 PM, augusto callejas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>hi-<br><br>i'm getting a consistent query timeout.<br>my query is for the /type/link history for /people/person nodes<br>that have been added since a certain time (and whose target<br>type's are from a certain set).<br><br>is there anything i can do to avoid the query timeout?<br>perhaps change the limit size when i cursor? will that<br>reduce the amount of time spent on the query?<br>or is query time based on other factors that are<br>query independent, but data size dependent?<br><br>thanks,<br>augusto.<br><br><br>----<br>{<br> "q":{<br> "code":"/api/status/error",<br> "messages":[<br> {<br> "info":{<br> "host":"graph04.p01.sjc1.metaweb.com",<br> "detail":[<br> "timed out"<br> ],<br> "timeout":8.0,<br> "port":8100<br> },<br> "message":"Query timeout",<br> "code":"/api/status/error/mql/timeout"<br> }<br> ]<br> },<br> "status":"200 OK",<br> "code":"/api/status/ok",<br> "transaction_id":"cache;cache01.p01.sjc1:8101;2009-03-03T00:10:14Z; <br>0046"<br>}<br>====<br>{<br> "q" : {<br> "cursor" : "eNqVkNtOwzAMhl- <br>nE6lmO47jWAjxHtUuSsukirJOHSAeH491FUjjAktRvvicv3ufT9NsvT5FayZLALvmYKhJY5JEu_bQ2x0qsxYUrteARavacbQboU01DoeX09v0o9Dm-qEaTq3BNS8mG-_rymf7qdeKGNcEsfmuEFCrHTAACONe4Zd13nU_fD73RmAoASVjYJEYMKesIHkBhQsgafD-DL7oAhoXKItHIH8DE5Xga5TCqhdIeAWmIAmoFCxnYEHR4Gu7IzokwSKUgqqmzJkDEpGz0satee0Ndjd1Gv_Q6WM4GmbICP9W6KzHOrM5zpPfW58oXIri9lEKIOK-Ky3571tEUH_zF_Lkfys=",<br> "query" : [<br> {<br> "master_property" : null,<br> "operation" : null,<br> "sort" : "timestamp",<br> "source" : {<br> "guid" : null,<br> "type|=" : [<br> "/people/person"<br> ]<br> },<br> "target" : {<br> "guid" : null,<br> "id" : null,<br> "type" : [],<br> "type|=" : [<br> "/organization/organization",<br> "/organization/organization_membership",<br> "/tv/tv_actor",<br> "/tv/regular_tv_appearance",<br> "/tv/tv_program",<br> "/people/person",<br> "/film/actor",<br> "/film/performance",<br> "/film/film",<br> "/music/album",<br> "/music/artist",<br> "/music/musical_group",<br> "/music/group_membership",<br> "/music/group_member",<br> "/dining/restaurant",<br> "/people/marriage",<br> "/location/location",<br> "/religion/religion",<br> "/business/company",<br> "/type/type"<br> ]<br> },<br> "timestamp" : null,<br> "timestamp>=" : "2009-02-28T04:33:59.275Z",<br> "type" : "/type/link",<br> "valid" : null<br> }<br> ]<br> }<br>}<br>----<br>_______________________________________________<br>Developers mailing list<br><a href="mailto:Developers@freebase.com">Developers@freebase.com</a><br>http://lists.freebase.com/mailman/listinfo/developers<br></div></blockquote></div><br></div></body></html>