Why some number of element id keep empty even the greater number has been used

E.g.

https://www.openstreetmap.org/node/6358775424

Not found

but +1000

https://www.openstreetmap.org/node/6358776424

Is used, as one node that part of the way with id 679072985, tagged as barrier=hedge by Ninjoh on 2019-03-24T17:46:52Z

Why some number keep from uses? Thanks for explaining.

asked 04 Sep, 14:40

MY5DVrAr0e599Japan's gravatar image

MY5DVrAr0e59...
113
accept rate: 0%


This is an internal implementation detail in the way PostgreSQL manages its unique sequences. Sometimes new IDs are assigned but then not used e.g. because of a transaction rollback or other technical reasons. Therefore, our documentation makes no assurances about IDs other than that they are unique. They can have gaps, and it can even be possible that an object with a smaller ID is created after an object with a larger ID.

permanent link

answered 04 Sep, 18:49

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
80.9k907111251
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

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:

×230
×199
×161
×55
×7

question asked: 04 Sep, 14:40

question was seen: 150 times

last updated: 04 Sep, 18:49

powered by OSQA