본문 바로가기

use-the-index-luke

3.Oracle Cannot Index NULL

use-the-index-luke 저자 Markus Winand


Markus Winand는 SQL에 대한 통찰력을 제공하고 다양한 시스템이 SQL을 지원하는 방법을 modern-sql.com 에서 보여줍니다. 이전에 그는 use-the-index-luke.com 을 만들었는데, 지금도 활발하게 유지되고 있습니다. Markus는 winand.at 를 통해 강사, 연사 및 컨설턴트로 고용될 수 있습니다.


You can upload a Korean translation of use-the-index-luke.com on your blog

Thank you from the bottom of my heart to author Makus Winand for allowing me.

These are translations that I use for studying by using a papago (google translate)

The translations may not be correct or there may be a typo.

I'd appreciate it if you could point it out in the comments.



use-the-index-luke.com 의 한글번역본을 블로그에 업로드 해도 된다고

허락해주신 Makus Winand 저자님께 진심으로 감사합니다.

이 번역본들은 제가 공부용도로 번역기(papago, google transrate)를 돌려서

번역한 내용들이라 맞지 않거나, 오타가 있을수 있습니다.

댓글로 지적해주시면 감사하겠습니다.


https://use-the-index-luke.com/sql/myth-directory/null-cannot-be-indexed

Oracle 데이터베이스가 NULL을 인덱싱 할 수 없음

이 미신의 출처는 정확하게 표현된 문장을 보면 이해하기 쉽습니다:


모든 인덱스 열이 NULL인 경우 오라클 데이터베이스는 행을 인덱스에 포함하지 않습니다.


미신과 현실의 차이는 작습니다. 미신은 엉성한 형태의 진실인 것 같습니다.

NULL은 인덱스에 null이 아닌 다른 열을 추가하여 인덱싱 할 수 있습니다:


CREATE INDEX with_null ON table_name (nullable_column, '1');


'use-the-index-luke' 카테고리의 다른 글

5.Select * is Bad  (0) 2024.02.19
4.Dynamic SQL is Slow  (0) 2024.02.15
2.Most Selective First  (0) 2024.02.08
1.Indexes Can Degenerate  (0) 2024.02.05
B.Myth Directory  (0) 2024.02.01