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 #15

Closed
pnorman opened this issue Sep 30, 2014 · 0 comments
Closed

Start middle table indexing once processing is finished #15

pnorman opened this issue Sep 30, 2014 · 0 comments

Comments

@pnorman
Copy link

pnorman commented Sep 30, 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.

Not planned for resolution pre-merge

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

1 participant