Difference in standalone and cloud nominatim databases #2729
Replies: 6 comments 4 replies
-
Have you kept the flatnode file from the import and use the same for the updates? |
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
-
Well, it looks like you are loosing your areas on updates and that's usually a sign that the node coordinates are not properly stored. And that in turn is pretty much always an error in your setup. A couple of things that might help you debug the issue:
|
Beta Was this translation helpful? Give feedback.
-
Moving this to discussion as it is likely an installation issue and not a bug. |
Beta Was this translation helpful? Give feedback.
-
@lonvia I am a bit puzzled here.
there are no errors no nothing that can hint why this is happening. As for your questions
planet_osm_ways so there is no planet_osm_nodes Still need help. |
Beta Was this translation helpful? Give feedback.
-
You probably mean reindex an object. You can do that with https://github.com/osm-search/Nominatim/pull/2666/files added an admin command to make these steps easier. I will be part of the next stable release.
Reindexing won't help in this case though. Reindexing take data from the planet_osm_* (and flatnode file) and updates data in the placex table. Here something already went wrong applying the OSM update to the planet_osm_* data. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Standalone nominatim installation accumulated differences from the nominatim.openstreetmap.org and those are not fixed in updates. We had this in nominatim 3 and after the update still have it here.
Here is an example
our results
and
nominatim.openstreetmap.org
you see, that the local name section is entirely different. And those diffs pile and add all the time.
To Reproduce
Run daily updates and observe the drift. Its difficult to predict where it will occurs. Fresh nominatim install seems to be ok, bit after running the updates we get this. What are we doing wrong?
We run daily - nominatim replication --catch-up --threads 8
NOMINATIM_REPLICATION_URL="https://planet.openstreetmap.org/replication/day"
NOMINATIM_REPLICATION_MAX_DIFF=5000
NOMINATIM_FLATNODE_FILE="/srv/nominatim/flatnodePlace/flatnode.file"
Software Environment (please complete the following information):
Hardware Configuration (please complete the following information):
Postgresql Configuration:
max_connections = 2000
shared_buffers = 16GB
maintenance_work_mem = 4GB
work_mem = 100MB
effective_cache_size = 24GB
synchronous_commit = off
checkpoint_timeout = 60min
checkpoint_completion_target = 0.9
fsync = on
full_page_writes = on
max_parallel_workers_per_gather = 0
jit = off
Additional info
For nominatim 3 there were partial updates that allowed to reload an object and it helped somehow, but I dont see this in v4. How people fix this in their installations?
Beta Was this translation helpful? Give feedback.
All reactions