Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start middle table indexing once processing is finished #193

Open
pnorman opened this issue Oct 25, 2014 · 1 comment
Open

Start middle table indexing once processing is finished #193

pnorman opened this issue Oct 25, 2014 · 1 comment

Comments

@pnorman
Copy link
Collaborator

pnorman commented Oct 25, 2014

With in-memory pending, the middle tables are only read from once processing is finished. This allows us to build indexes right away, including the GIN index on planet_osm_ways.nodes, which is often slower than the rest of the import.

By starting it sooner, it will make the pending ways and other indexes no longer part of the critical path for import speed on a --slim import. It might increase contention for disk, but this is probably not an issue.

Moved from MapQuest#15

@lonvia
Copy link
Collaborator

lonvia commented Feb 14, 2019

There is no longer a processing stage, so this is not possible in this way. However, the indexing still might be moved a little bit ahead. The way-node index can already be created while relations are still being imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants