Closed rcarroll0452 closed 3 years ago
This is entirely normal and expected. While processing the changes from OSM, Nominatim notices and marks a couple of dependent objects which have not been directly modified but should be reprocessed nonetheless because they depend on a changed object. They can't be processed directly because order of objects matters when indexing. So they get marked as to-be-indexed.
This isn't really a problem when running Nominatim in minutely update mode. The dependent objects will be processed a minute later during the next run. It might not be ideal when running updates only once a day or week.
Thank you for the response :)
Hi,
We just did a full planet import a couple of weeks before and commenced daily updates using
nominatim replication
.We noticed that even though the updates are completed, a few thousand records remain unindexed after every day's update for which we have to manually run
nominatim index
So in the last one week, everyday, once the daily updates goes into sleep mode, I kill them (using Ctrl+C), and I run
nominatim index
two times one after the other to fully index all records and then restart the daily updates for the next day usingnominatim replication
.Details from log below:
After daily update completed today, the output of
nominatim admin --check-database
command:First run
nominatim index
command (redacted info for Done 0/0 ranks except interpolation lines & rank 30),The output of
nominatim admin --check-database
command (redacted info since every other checks returns OK as above):Second run
nominatim index
command (redacted info for Done 0/0 ranks except rank 29, interpolation lines & rank 30),The output of
nominatim admin --check-database
command (redacted info since every other checks returns OK as above):Between all these, a SELECT statement as below to PSQL to obtain the count of unindexed records matches the numbers above
We also noticed that during update, while it indexes, it completes upto rank 29, then starts for rank 0, then interpolation_lines before going to rank 30
Software Environment (please complete the following information):
Hardware Configuration (please complete the following information):
I'll be happy to provide any further details if required