메뉴 건너뛰기

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.

번호 제목 글쓴이 날짜 조회 수
» Second index 생성시 MANDT 필드 필요 없다. [2] 모포 2012.05.08 6742
386 자주 사용하는 시스템변수 [8] 열공아밥 2009.12.20 6705
385 특수 문자 표현 [8] ecbase 2006.12.02 6677
384 BAPI_PR_CREATE 구매요청 생성시에 사용하세요. 이렇게도 쓸 수 있군요. [1] 노름마치 2007.12.10 6673
383 유용한 Abap Sample Package [2] 양키(이경환) 2014.03.31 6669
382 TABLE INDEX 추가 및 후속작업 [16] file 루베루베루베룹 2009.04.22 6653
381 LIKE (% _)의 사용법 [8] ecbase 2006.12.02 6636
380 Buffer Bypass 방법 [4] sapjoy 2010.05.20 6614
379 [Tip] Explorer 8.0 & SAP GUI 7.2 fancky 2011.05.19 6603
378 <img src=d.gif>[Function]Edit 팝업창을 뛰워보자[추천:e-abap] [19] file 양키 2010.09.28 6600
377 [Function]금액(숫자)를 영문철자로 바꿔보자 [3] file 양키 2010.09.28 6549
376 테이블 구조 다운로드 DD03L 테이블 조회 [1] sapjoy 2006.12.12 6540
375 SAP Icon 출력 [3] 홍성현 2007.08.09 6537
374 Nested loops Tunning [3] sapjoy 2012.03.13 6498
373 (-) 부호 값 앞에 붙이기 [6] 권장원 2009.11.06 6473
372 SAP의 On-line Program에서 Double Click Event 잡는 법 [8] Delight 2008.04.30 6452
371 Internal Table Read performance [4] file sapjoy 2012.03.12 6430
370 add 구문 [3] sapjoy 2006.12.02 6430
369 특정프로그램 내에서 프린터로 직접 프린트하는 함수 [8] 미쓰조 2010.03.17 6429
368 업로드할 엑셀 파일을 TXT 파일(탭으로 분리된)로 내리지 않고 엑셀파일로 꿀단지 2011.10.11 6374