Loading...
MySQL 9.5 Reference Manual 9.5의 29.2 Performance Schema Build Configuration의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
Performance Schema는 필수이며 항상 컴파일됩니다. Performance Schema instrumentation의 특정 부분을 제외하는 것은 가능합니다. 예를 들어, stage와 statement instrumentation을 제외하려면 다음과 같이 합니다:
1$> cmake . \ 2 -DDISABLE_PSI_STAGE=1 \ 3 -DDISABLE_PSI_STATEMENT=1
자세한 내용은 DISABLE_PSI_XXX CMake 옵션에 대한 설명을 Section 2.8.7, “MySQL Source-Configuration Options”에서 참조하십시오.
Performance Schema 없이 (또는 누락되었거나 오래된 테이블을 가진 이전 버전의 Performance Schema로) 구성된 이전 설치본 위에 MySQL을 설치하는 경우, 문제의 한 가지 징후는 error log에 다음과 같은 메시지가 존재하는 것입니다:
1[ERROR] Native table 'performance_schema'.'events_waits_history' 2has the wrong structure 3[ERROR] Native table 'performance_schema'.'events_waits_history_long' 4has the wrong structure 5...
이 문제를 해결하려면 MySQL 업그레이드 절차를 수행하십시오. Chapter 3, Upgrading MySQL를 참조하십시오.
Performance Schema는 빌드 시점에 서버에 구성되므로, PERFORMANCE_SCHEMA에 대한 row가 SHOW ENGINES 출력에 나타납니다. 이는 Performance Schema가 사용 가능함을 의미할 뿐, 활성화되었음을 의미하지는 않습니다.
이를 활성화하려면, 다음 섹션에 설명된 대로 서버 시작 시점에 그렇게 해야 합니다.
29.1 Performance Schema Quick Start
29.3 Performance Schema Startup Configuration