{
  "id": 6456450,
  "title": "ID design and primary keys",
  "url": "https://urgent.news/2026/09/09/id-design-and-primary-keys",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-09T18:31:44.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://anchorsandlinks.com/posts/primary-keys/"
  },
  "original_language": "en",
  "account": "External IDs serve as unique identifiers for entities in business-oriented systems. They can be used externally, such as in emails or printed documents, and have three defining properties: uniqueness, the possibility of changing over time, and the ability to identify a single entity at any given moment. A common method for assigning external IDs is through the use of integer numbers, starting from 1 and incrementing sequentially. However, this method has limitations and drawbacks, such as the inability to accommodate non-ISBN books or books with identical titles. Another approach is to generate date-based and random IDs, which can be used for external purposes while the meaningless integer number is stored internally for technical convenience. It is crucial to validate and authenticate external IDs, even if they are generated by the system itself. Additionally, some external IDs may be generated by outside systems, which can pose challenges such as forgery or inaccuracies. In such cases, it may be more appropriate to treat the external ID as an attribute of a different anchor rather than a standalone entity.",
  "summary": null,
  "key_points": [
    "External IDs have three defining properties: uniqueness, changeability, and single identification.",
    "Sequential integer IDs have limitations, like inability to handle non-ISBN books.",
    "Validate and authenticate external IDs, even if system-generated."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}