메뉴 건너뛰기

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.

번호 제목 글쓴이 날짜 조회 수
547 ABAP TUNNING sapjoy 2012.03.12 234724
546 New function vs Old function(obsolete) sapjoy 2014.03.31 127814
545 테이블Active시 (Warnings Occurred During Activation) 안나오게하는방법 [6] 양키 2012.03.29 99710
544 자주 사용하는 String 조작 명령어 [7] 양키(이경환) 2015.01.13 35030
543 collect 구문 [4] sapjoy 2006.12.03 27038
542 사용자 패스워드 변경 함수, 창 [11] sapjoy 2009.12.21 25840
541 R/3 용어 정의 Definitions [4] sapjoy 2007.01.23 23899
540 BAPI_PR_CREATE 구매요청 생성시에 사용하세요 [2] 노름마치 2007.12.10 23708
539 SELECT statement D.Y.Kim 2007.07.20 23648
538 문자열에 있는 값이 숫자만으로 되어있는지 문자가 포함됐는지 체크하는 함수 [3] 꿀단지 2011.10.11 19914
537 LIKE와 TYPE의 차이 [13] sapjoy 2006.12.06 19724
536 숫자입력 체크(Numeric character check) [1] 양키(이경환) 2014.01.28 19642
535 SDN -> SCN 변경되면서 Contents별로 바뀐 LINK 모음 [13] Wise 멘토 2012.07.06 19045
534 ALV LIST 진행시 LAYOUT 속성값 [18] kwon09 2007.04.11 17370
533 ABAP 핵심정리 [23] SARA 2007.03.14 17343
532 인터널 테이블 라인수 lines [8] sapjoy 2014.01.20 17289
531 ABAP 구문 총정리 [39] file Wise 멘토 2008.11.24 17174
530 FOR ALL ENTRIES IN 구문 사용시 select 필드 선택시 주의사항. [7] 나침반친구 2007.03.13 17043
529 SYST 시스템 변수 정리 [5] 아밥뽀 2014.08.23 17029
528 프로그램 정보(프로그램 리스트, PROGRAM LIST, PROGRAM TABLE) [3] sapjoy 2007.02.23 16866