메뉴 건너뛰기

SAP 한국 커뮤니티

Second index 생성시 MANDT 필드 필요 없다.

모포 2012.05.08 12:39 조회 수 : 6742

OSS Note 912620 를 보니 흥미로운게 있네요.

보통 인덱스 태우기 위해선 순서대로 인덱스 필드를 만들어 줘야 타는 걸로 알고 있어서

Second 인덱스 생성시 MANDT를 반드시 추가해왔는데 대부분 그럴 필요가 없네요. 

 

    16. Should indexes always begin with the client column?

              For historical reasons, many SAP indexes begin with the client column (MANDT, CLIENT, MANDANT, ...). In many cases, this column only increases overhead by increasing the size of the index. The client column is only useful or advantageous in a limited number of situations:

  • There are selections that can be completely covered by the index if the index includes the client, which makes a processing-intensive table search unnecessary.
  • The client is used in a unique index to guarantee application consistency.
  • A short-term work-around is required for the CBO (Cost-Based Optimizer) problem described in Note 176754 (18).
  • The table contains several filled clients. Therefore, the client condition is selective in this context.

              In most cases, it is not necessary to include the client in the index.

번호 제목 글쓴이 날짜 조회 수
147 Access predicates and Filter predicates sapjoy 2012.03.14 6289
146 테이블Active시 (Warnings Occurred During Activation) 안나오게하는방법 [6] 양키 2012.03.29 99702
145 PD 인포타입 [3] file 준서기 2012.04.01 9652
144 숫자 포맷에서 콤마와 소수점이 바뀌어 나올 경우 [3] 쌉비씨 2012.04.16 10232
» Second index 생성시 MANDT 필드 필요 없다. [2] 모포 2012.05.08 6742
142 sap buffer 리셋 [7] sapjoy 2012.06.01 10136
141 SDN -> SCN 변경되면서 Contents별로 바뀐 LINK 모음 [13] Wise 멘토 2012.07.06 19045
140 SAP Netweaver 설치 시스템사양 Tip [1] 양키 2012.09.21 7541
139 ADT(abap development tool) 설치 방법입니다. [1] Wise 멘토 2012.10.12 10228
138 SCN에 올라온 ADT Tutorials Link 입니다. [4] Wise 멘토 2012.10.12 4903
137 외부 명령어 등록(EXTERNAL COMMAND) [2] sapjoy 2012.11.02 5478
136 SELECT-OPTIONS과 PARAMETERS 동적으로 선언하기 [9] file 버미! 2012.12.13 7223
135 Abap Dump Top 10 [5] 양키 2013.01.14 15742
134 엑셀에서 '-' 부호 앞으로 옮기기 [18] file MasFI 2013.02.08 8998
133 Area menu 한방에 다운로드 >,.< [10] 배불뚝이용 2013.02.26 8582
132 ALV Subtotal 맨위에 표기하기 [8] 양키 2013.03.26 5580
131 TSE05 테이블 유지보수를 통한 프로그램 HEADER정보 자동입력. file paran 2013.05.21 4764
130 ALV TOOLBAR 메뉴 버튼을 올립니다. [6] file 블루보이 2013.06.26 3321
129 ABAP&SAP_MEMORY 에 대해 올려봄니다. [5] file 블루보이 2013.06.26 4196
128 Popup Function 을 모은 프로그램임니다. [5] file jokang 2013.06.26 4620