0

Hello , Before doing the migration, should I disable something to do it?

3.3.0 -> 3.4.0 Reorganisation of location_area_country table The table location_area_country has been optimized. You need to switch to the new format when you run updates. While updates are disabled, run the following SQL commands:

CREATE TABLE location_area_country_new AS SELECT place_id, country_code, geometry FROM location_area_country; DROP TABLE location_area_country; ALTER TABLE location_area_country_new RENAME TO location_area_country; CREATE INDEX idx_location_area_country_geometry ON location_area_country USING GIST (geometry); CREATE INDEX idx_location_area_country_place_id ON location_area_count

asked 18 May, 18:17

edderantonio's gravatar image

edderantonio
111
accept rate: 0%


One Answer:
1

https://nominatim.org/release-docs/latest/admin/Migration/ Disable anything that writes to the database. That's the update script (http://nominatim.org/release-docs/latest/admin/Import-and-Update/#updates), if you haven't installed the update script, then nothing needs to be disabled.

permanent link

answered 18 May, 21:08

mtmail's gravatar image

mtmail
3.8k1059
accept rate: 30%

thank you!

(18 May, 21:36) edderantonio

but it doesn't come in the documentation how to disable

(18 May, 22:10) edderantonio

If the script is running kill the process. https://www.linux.com/topic/desktop/how-kill-process-command-line/ If the script is not running, then nothing needs to be done. Make sure the cronjob is disabled so it doesn't start automatically.

(18 May, 22:13) mtmail

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×591
×173
×21
×1

question asked: 18 May, 18:17

question was seen: 95 times

last updated: 19 May, 05:48

powered by OSQA