[Tile-serving] [openstreetmap/osm2pgsql] Dropped ways on particular diff (#735)

Paul Norman notifications at github.com
Fri Apr 7 02:38:28 UTC 2017


A diff between the osm2pgsql stderr output with the first node and without is 
```diff
--- without_first_node  2017-04-07 04:23:37.089426226 +0200
+++ with_first_node     2017-04-07 04:24:05.425470312 +0200
@@ -88,7 +88,7 @@
 Reading in file: changes-2391119-reduced.osc
 Using XML parser.
   parse time: 0s
-Node stats: total(18), max(4780166732) in 0s
+Node stats: total(17), max(4780166732) in 0s
 Way stats: total(1), max(127018391) in 0s
 Relation stats: total(0), max(0) in 0s
 Maximum node in persistent node cache: 4780168191
@@ -171,10 +171,10 @@
 Using lua based tag processing pipeline with script wikidata.lua

 Going over pending ways...
-       107 ways are pending
+       73 ways are pending

 Using 1 helper-processes
-^MFinished processing 107 ways in 0 s
+^MFinished processing 73 ways in 0 s

 Committing transaction for admin_area
 Committing transaction for admin_line
@@ -214,10 +214,10 @@
 Committing transaction for wikidata_polygon

 Going over pending relations...
-       134 relations are pending
+       98 relations are pending

 Using 1 helper-processes
-^MFinished processing 134 relations in 0 s
+^MFinished processing 98 relations in 0 s

 Committing transaction for admin_area
 WARNING:  there is no transaction in progress
@@ -293,47 +293,47 @@
[diff noise from ordering]
-node cache: stored: 18(100.00%), storage efficiency: 0.22% (dense blocks: 1, sparse nodes: 6), hit rate: 67.86%
+node cache: stored: 17(100.00%), storage efficiency: 0.21% (dense blocks: 1, sparse nodes: 5), hit rate: 79.12%

-Osm2pgsql took 3s overall
+Osm2pgsql took 2s overall
```
I find nothing useful there, but I did try forcing sparse or dense caches and nothing changed. I also tried setting their coordinates to be the same.

Looking at the nodes, the first one is a member of a way that is not a member of any relations, the second one is a member of a way that is a member of a route relation.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/735#issuecomment-292407792
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170406/4263ab69/attachment.html>


More information about the Tile-serving mailing list