메뉴 건너뛰기

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.

번호 제목 글쓴이 날짜 조회 수
407 풍선도움말 Quickinfo [16] file 양키 2010.12.17 7210
406 ABAP 교육 [6] file 밤의화신 2013.09.11 7198
405 sap 화면 웹(web)으로 띄우기(ITS, SAPGUI HTML) [4] file sapjoy 2014.11.14 7181
404 오더 상태 테이블 [1] sapjoy 2006.12.12 7176
403 MiniSAP SAP Netweaver 7.0 ABAP Trial Version의 인스톨 [8] gauguin 2008.06.08 7171
402 ABAP Example sapjoy 2014.03.24 7109
401 유용한 sql 팁(rollup) 이동암 2007.04.19 7099
400 문자열 자를 때 자르는 위치에 2BYTE문자가 있는지를 체크하는 방법입니다. [8] 꿈하루 2007.12.01 7059
399 IE 9.0 설치 시 se80 다운되는 문제 해결 [5] Jey 2011.03.16 6996
398 SAPLINK - 소스 업&다운 프로그램 입니다. [5] file abaper_qj 2014.06.18 6984
397 명령어 결과에 따른 SY-SUBRC [5] sapjoy 2014.09.16 6939
396 GUI_DOWNLOAD 펑션(메소드) 사용시 Leading Zero현상 해결방법 [3] 양키(이경환) 2014.02.17 6869
395 SAP 지뢰 찾기 [10] file 버미! 2010.06.09 6864
394 AT 의 사용법(LOOP) [19] ecbase 2006.12.02 6864
393 debug 시 문장 skip 요령 [36] 하마대왕 2013.10.04 6862
392 [TIP] FILE_OPEN_DIALOG시 바탕화면을 기본경로로 설정하기 [16] file 고양이야옹 2010.06.29 6828
391 프로그램간 테이블 넘김 [6] ecbase 2006.12.02 6820
390 Difference between select single and up to 1 row [2] sapjoy 2006.12.12 6809
389 message table의 각 필드들을 모아서 하나의 문장으로 [4] 꿀단지 2011.10.11 6796
388 Email 전송 Sample [6] 양키(이경환) 2014.03.12 6759