Английский Наука и Образование
13.08.2026 Читать источник
Эксперты предлагают отказаться от NULL и мультимножеств в SQL ради более надежных баз данных
Исследователи утверждают, что вредные конструкции NULL и «мешков» в реляционных базах данных можно полностью исключить, перейдя на язык с нормализованными отношениями. Такой подход устраняет фундаментальные ошибки проектирования и открывает новые возможности для оптимизации запросов.
Перевод ИИ
Текст статьи доступен на языке оригинала.
Нажмите кнопку «Перевести статью» выше, чтобы сгенерировать перевод с помощью ИИ.
Оригинальный контент
Computer Science > Databases
[Submitted on 11 Aug 2026]
Title:Time to Move on: Querying without Nulls and Bags
View PDF
Abstract:SQL is the database community's success story in terms of language design. The key reason for its success is its declarativeness: it gives rise to optimizability, reducing the programmer's burden significantly. However, given the evolving complexity of problems to solve with query languages, our community needs to re-think some of the fundamental early query language design decisions. Our experience in having worked on the design of Rel (a language for end-to-end relational programming) tells us that it is possible to design, implement, and successfully deploy a language based on fully normalized relations. Such relations avoid what Codd called corrupted relations and what we commonly refer to as bags, and the 'harmful' 'billion dollar mistake' that we know as nulls. In the SQL world, it is accepted that bags and nulls are tolerated as an unavoidable evil. We argue that the evil is completely avoidable: reasons offered for justifying bags and nulls evaporate at a closer examination. In addition to debunking them, we also describe opportunities offered by a null-free language with set semantics.
References & Citations
Loading...
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
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.
Аналитика ИИ и парсинга
Технические детали обнаружения, сопоставления и связывания статьи
Поисковый запрос
«SQL NULL мультимножества нормализованные отношения»
Запрос, сгенерированный ИИ для поиска статьи в веб-источниках
Связанные результаты поиска
Узнайте о NULL и UNKNOWN, а также о том, как они работают в Transact-SQL.
Чтобы определить, является NULL ли выражение, используйте IS NULL или IS NOT NULL вместо операторов сравнения (например = , или !=). Операторы сравнения возвращаются UNKNOWN при наличии обоих аргументов NULL.