메뉴 건너뛰기

SAP 한국 커뮤니티

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

모포 2012.05.08 12:39 조회 수 : 6767

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.

번호 제목 글쓴이 날짜 조회 수
387 Difference between select single and up to 1 row [2] sapjoy 2006.12.12 6853
386 프로그램간 테이블 넘김 [6] ecbase 2006.12.02 6830
» Second index 생성시 MANDT 필드 필요 없다. [2] 모포 2012.05.08 6767
384 BAPI_PR_CREATE 구매요청 생성시에 사용하세요. 이렇게도 쓸 수 있군요. [1] 노름마치 2007.12.10 6728
383 자주 사용하는 시스템변수 [8] 열공아밥 2009.12.20 6727
382 TABLE INDEX 추가 및 후속작업 [16] file 루베루베루베룹 2009.04.22 6713
381 특수 문자 표현 [8] ecbase 2006.12.02 6696
380 Buffer Bypass 방법 [4] sapjoy 2010.05.20 6652
379 <img src=d.gif>[Function]Edit 팝업창을 뛰워보자[추천:e-abap] [19] file 양키 2010.09.28 6631
378 [Tip] Explorer 8.0 & SAP GUI 7.2 fancky 2011.05.19 6608
377 SAP Icon 출력 [3] 홍성현 2007.08.09 6602
376 테이블 구조 다운로드 DD03L 테이블 조회 [1] sapjoy 2006.12.12 6584
375 [Function]금액(숫자)를 영문철자로 바꿔보자 [3] file 양키 2010.09.28 6559
374 Nested loops Tunning [3] sapjoy 2012.03.13 6543
373 SAP의 On-line Program에서 Double Click Event 잡는 법 [8] Delight 2008.04.30 6540
372 (-) 부호 값 앞에 붙이기 [6] 권장원 2009.11.06 6486
371 특정프로그램 내에서 프린터로 직접 프린트하는 함수 [8] 미쓰조 2010.03.17 6481
370 Internal Table Read performance [4] file sapjoy 2012.03.12 6451
369 add 구문 [3] sapjoy 2006.12.02 6451
368 TRANSPORTING [9] ecbase 2006.12.02 6395