this book을 읽을 때인덱스를 만들 때 Where 절을 사용해야하는 이유는 무엇입니까?
나는 where 조건이있는 색인을 만들 수 있음을 알게되었습니다.
나는 우리가이Create index `<index_name>` on `<table_name>`
또는
Create index `<index_name>` on `<table_name>` Where (`<Conditions>`)
하지만 장점이 무엇인지 모르는 같은 인덱스를 만들 수 있다는 것을 발견?
What are the benefits of a filtered index
?
가장 유용한 열은 Where conditions
입니까?
Create unique index IX_Contacts on Contacts(User_ID) Where (IsDefault=1)
각
User_ID
을 위해, 그들은 하나, 단 하나의 기본을 가질 수 있다고 말한다 :