Computer Science > Databases
[Submitted on 7 Jun 2023]
Title:Reversible Numeric Composite Key (RNCK)
View PDFAbstract:In database design, Composite Keys are used to uniquely identify records and prevent data duplication. However, they require more memory and storage space than single keys, and can make queries more CPU-intensive. Surrogate Keys are an alternative that can overcome some of these limitations, but they can also introduce new disadvantages. To address these challenges, a new type of key called a Reversible Numeric Composite Key (RNCK) has been developed. RNCK is a single number that encodes multiple data attributes, and can be decoded back to the original values. This makes it possible to achieve the benefits of both Composite Keys and Surrogate Keys, while overcoming some of their limitations. RNCK has been shown to improve query performance and reduce memory and storage requirements. It can be used in relational databases, large static datasets, and key-value caching systems. RNCK has been successfully used in production systems for several years.
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.