메시지 설정
SET MSG 계산 명령은 Essbase가 계산에 대해 반환하도록 할 메시징 레벨을 설정하고 시뮬레이션된 계산을 사용으로 설정합니다.
이 명령은 사용된 계산 스크립트에만 적용됩니다.
구문
SET MSG SUMMARY | DETAIL | ERROR | INFO | NONE | ONLY;매개변수
- 요약
-
계산 설정을 표시하고 다음 수에 대한 통계를 제공합니다.
-
데이터 블록 생성, 읽기 및 쓰기
-
데이터 셀 계산됨
-
- 세부정보
-
요약과 동일한 정보를 제공합니다. 또한 Essbase에서 데이터 블록을 계산할 때마다 자세한 정보 메시지를 표시합니다.
- 오류
-
오류 메시지만 표시합니다.
- 정보
-
정보 및 오류 메시지를 표시합니다.
- 없음
-
계산 스크립트의 수명 동안 메시지를 표시하지 않습니다. 그러나 오류 메시지는 중요한 정보를 포함할 수 있으므로 계속 표시됩니다.
- 만 해당
-
시뮬레이션된 계산만 수행하도록 Essbase에 지시합니다. Essbase가 명령을 인식하지 못함을 나타내는 검증 중 오류 메시지는 무시할 수 있습니다.
참고:
이 매개변수를 사용하는 경우 Essbase는 일부 빈 상위 레벨 블록을 생성합니다. 시뮬레이션/명령의 끝에서 상위 레벨 블록(또는 모델의 상위 레벨 블록으로 데이터를 로드하는 경우 비입력 블록)을 지워야 합니다.
Oracle은 SET MSG ONLY를 계산 스크립트 명령 SET NOTICE HIGH 및 CALC ALL과 함께 사용할 것을 권장합니다.
SET MSG ONLY는 완료 통지를 생성하지 않습니다.
노트
SET MSG SUMMARY 및 SET MSG DETAIL은 다음을 알려줍니다.
-
계산 설정 상태(예: 완료 통지 메시지 사용 여부)
-
생성된 총 데이터 블록 수
-
희소 계산 시 읽고 쓰는 데이터 블록 수
-
밀집 계산에서 읽고 쓰는 데이터 블록 수
-
희소 계산에서 계산된 데이터 셀 수
-
밀집 계산에서 계산된 데이터 셀 수
또한 SET MSG DETAIL 명령은 Essbase가 데이터 블록을 계산할 때마다 정보 메시지를 제공합니다. 데이터베이스의 통합 경로를 테스트하는 데 유용합니다. 처리 오버헤드가 높아지므로 테스트 계산 중에만 사용해야 합니다.
SET MSG SUMMARY로 설정하면 데이터베이스 크기에 따라 처리 오버헤드가 약 1%~5%가 됩니다.
예제
SET MSG ERROR;오류 메시지만 표시합니다.
SET MSG SUMMARY;다음 샘플 출력을 생성합니다.
[Tue Apr 4 05:11:16 1995] local/Sample/Basic/Qatest/Info(1012672)
Calculator Information Message:
Maximum Number of Lock Blocks: [100] Blocks
Completion Notice Messages: [Disabled]
Calculations On Updated Blocks Only: [Enabled]
Clear Update Status After Full Calculations: [Enabled]
Calculator Cache With Multiple Bitmaps For: [Market]
[Tue Apr 4 05:11:19 1995] local/Sample/Basic/Qatest/Info(1012672)
Calculator Information Message:
Total Block Created: [0.0000e+00] Blocks
Sparse Calculations: [4.3000e+01] Writes and [4.3000e+01] Reads
Dense Calculations: [4.3200e+02] Writes and [4.3200e+02] Reads
Sparse Calculations: [1.7200e+02] Cells
Dense Calculations: [4.3200e+02] Cells
SET MSG DETAIL;다음 샘플 출력을 생성합니다.
[Thu Mar 30 16:27:26 1995] local/Sample/Basic/Qatest/Info(1012669)
Calculator Information Message:
Maximum Number of Lock Blocks: [100] Blocks
Completion Notice Messages: [Disabled]
Calculations On Updated Blocks Only: [Enabled]
Clear Update Status After Partial Calculations: [Disabled]
Calculator Cache With Multiple Bitmaps For: [Market]
[Thu Mar 30 16:27:26 1995] local/Sample/Basic/Qatest/Info(1012669)
Calculator Information Message: Executing Block - [100], [East]
[Thu Mar 30 16:27:26 1995] local/Sample/Basic/Qatest/Info(1012669)
Calculator Information Message: Executing Block - [Product], [East]
[Thu Mar 30 16:27:26 1995] local/Sample/Basic/Qatest/Info(1012669)
Calculator Information Message: Executing Block - [100], [Market]
[Thu Mar 30 16:27:26 1995] local/Sample/Basic/Qatest/Info(1012669)
Calculator Information Message: Executing Block - [Product], [Market]
[Thu Mar 30 16:27:26 1995] local/Sample/Basic/Qatest/Info(1012669)
Calculator Information Message:
Total Block Created: [0.0000e+00] Blocks
Sparse Calculations: [4.0000e+00] Writes and [2.2000e+01] Reads
Dense Calculations: [0.0000e+00] Writes and [0.0000e+00] Reads
Sparse Calculations: [3.8080e+03] Cells
Dense Calculations: [0.0000e+00] Cells