메뉴 건너뛰기

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.

번호 제목 글쓴이 날짜 조회 수
387 System field 정리한 내용이에요 [4] 김창훈 2007.08.21 5487
386 테이블 update 프로그램 [4] sapjoy 2007.08.29 4747
385 Image를 화면에 보여주는 방법 [1] 정두영 2007.08.30 6027
384 OK Code Values... 흠,,, [1] 김창훈 2007.08.31 4652
383 제가 모은 팁들입니다. [62] file 풍운사랑 2007.09.07 5541
382 미니 SAP 설치 메뉴얼 입니다. [5] 신종철™ 2007.09.17 4574
381 너무도 당연해서 가끔 잊곤하는 공기와 같은 존재 'F1' key [5] 백혜정 2007.09.19 4034
380 ABAP TIP [4] file 둘리67 2007.10.03 5952
379 ICON ascii code [3] file sapjoy 2007.10.05 5006
378 SAP 어플리케이션의 구성 [3] file 노름마치 2007.10.10 3897
377 간단팁1 : 텍스트 금액에서 천단위 구분자 ',' 삭제(개수 상관없음) [12] 윤훈태 2007.10.15 5436
376 간단팁2 : 특정 값으로 구분된 텍스트, 한방에 분리 및 각각의 변수에 저장 [2] 윤훈태 2007.10.15 4141
375 새로운 Print format 추가하기 [5] file 이명환 2007.10.18 3679
374 그룹을 이용하여 SAP PRD 시스템 접속하기 [2] file 이명환 2007.10.18 4532
373 Tip : 전표 라인 아이템 Direct 조회 [5] 2007.10.23 10190
372 주민번호 체크 [3] 임선미 2007.10.23 4795
371 widget을 이용한 Job monitor 데모 [1] 해처리 2007.10.24 3603
370 BAPI_DELIVERYPROCESSING_EXEC 납품문서 만들때 사용하세요 노름마치 2007.10.29 7505
369 NATIVE SQL의 INSERT 문 [4] sapjoy 2007.11.13 6259
368 Internal table 사용시 속도개선을 위한 구문 [16] 노름마치 2007.11.14 10037