[CUBVEC-142] Change internal catalog structures for considering Vector Index #6722
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
http://jira.cubrid.org/browse/CUBVEC-142
Purpose
System Catalog의
BTREE_STATS에 B+Tree Index에 대한 통계정보만 담도록 수정한다.이를 위해 Object Repesentation에 Index Type에 대한 정보를 추가로 지원한다.
Implementation
OR_ATTRIBUTE에 Index Type 정보 추가OR_ATTRIBUTE_INDEX로 변경OR_ATTRIBUTE구조를 사용하던 기존 코드들의BTID획득 방식 변경DISK_REPR)의BTREE_STATS에 오직 B+Tree 정보만을 포함OR_ATTRIBUTE에 추가된 Index Type 정보를 확인하여 B+Tree인 경우에만 추가되도록 변경BTID_IS_VECTOR_INDEX)OR_INDEX의BTID를 인자로 받기 때문에,OR_INDEX의BTREE_TYPE값을 통해 Index Type 구분이 가능하다.Remarks
해당 변경을 통해 아래와 같은 TC가 모두 정상적으로 작동한다.