메뉴 건너뛰기

SAP 한국 커뮤니티

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

모포 2012.05.08 12:39 조회 수 : 6749

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.

번호 제목 글쓴이 날짜 조회 수
167 TABLE INDEX 추가 및 후속작업 [16] file 루베루베루베룹 2009.04.22 6670
166 특수 문자 표현 [8] ecbase 2006.12.02 6680
165 BAPI_PR_CREATE 구매요청 생성시에 사용하세요. 이렇게도 쓸 수 있군요. [1] 노름마치 2007.12.10 6684
164 자주 사용하는 시스템변수 [8] 열공아밥 2009.12.20 6715
163 유용한 Abap Sample Package [2] 양키(이경환) 2014.03.31 6720
162 LIKE (% _)의 사용법 [8] ecbase 2006.12.02 6738
» Second index 생성시 MANDT 필드 필요 없다. [2] 모포 2012.05.08 6749
160 Difference between select single and up to 1 row [2] sapjoy 2006.12.12 6818
159 프로그램간 테이블 넘김 [6] ecbase 2006.12.02 6821
158 Email 전송 Sample [6] 양키(이경환) 2014.03.12 6829
157 [TIP] FILE_OPEN_DIALOG시 바탕화면을 기본경로로 설정하기 [16] file 고양이야옹 2010.06.29 6853
156 AT 의 사용법(LOOP) [19] ecbase 2006.12.02 6865
155 SAP 지뢰 찾기 [10] file 버미! 2010.06.09 6869
154 message table의 각 필드들을 모아서 하나의 문장으로 [4] 꿀단지 2011.10.11 6877
153 GUI_DOWNLOAD 펑션(메소드) 사용시 Leading Zero현상 해결방법 [3] 양키(이경환) 2014.02.17 6901
152 debug 시 문장 skip 요령 [36] 하마대왕 2013.10.04 6904
151 명령어 결과에 따른 SY-SUBRC [5] sapjoy 2014.09.16 6984
150 IE 9.0 설치 시 se80 다운되는 문제 해결 [5] Jey 2011.03.16 6998
149 SAPLINK - 소스 업&다운 프로그램 입니다. [5] file abaper_qj 2014.06.18 7000
148 문자열 자를 때 자르는 위치에 2BYTE문자가 있는지를 체크하는 방법입니다. [8] 꿈하루 2007.12.01 7066