[OSM-dev] Status of Database Server after 0.4 Upgrade: Fragile

Jason Reid osm at bowvalleytechnologies.com
Mon May 14 06:48:37 BST 2007


Yep, only seen 2 all day so far, when trying to update a huge area 
(entire upload was ~15 minutes), it failed after around 4 minutes the 
first two times then it worked properly.

Jason

> Awsomeness. This worked. Map call should be now somewhat faster.  
> Needs to be done for the segs too.
>
> Also talking to people it seems that the 500 errors have super  
> dropped off?
>
>
> On 13 May 2007, at 06:37, John McKerrell wrote:
>
>   
>> Thanks for this Steve, good to know what's going on...
>>
>> On 12 May 2007, at 21:36, SteveC wrote:
>>
>>     
>>> So here's a braindump:
>>> <snip>
>>> way tags. most of the api code is fairly fast but the api map call
>>> does a sql request for every way to get its tags. it shouldn't,
>>> someone needs to fix.
>>>       
>> I'm probably way off the mark here, but I'm not in the house much to
>> try this out, but doesn't :include do something like this? Like on
>> the way retrieval line:
>>
>> ways = Way.find(way_ids)
>>
>> If we simply added:
>>
>> ways = Way.find(way_ids, :include => [ :way_tag ] )
>>
>> Would that do it? With my little experience of rails I really don't
>> have a clue, but from the bits of documentation I've seen on :include
>> it does suggest that's what we need.
>>
>> John
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>>
>>     
>
> have fun,
>
> SteveC | steve at asklater.com | http://www.asklater.com/steve/
>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>   





More information about the dev mailing list