본문 바로가기
MySql

MySQL에서 "오버 헤드"는 무엇을 의미하며, 무엇이 나쁘고 어떻게 해결해야합니까?

by 베이스 공부 2020. 10. 12.
반응형

간단한 질문인데 지금은 잔소리가 났어요 ....

MySQL의 "오버 헤드"는 무엇이며 걱정해야합니까?

"테이블 최적화"를 클릭하면 실제로 문제가 해결됩니까?

 

해결 방법

 

오버 헤드는 데이터베이스가 일부 쿼리를 실행하는 데 사용한 임시 디스크 공간 인 것으로 보이므로이 값이 정말 높아질 경우에만 걱정해야합니다.

'테이블 최적화'와 하드 드라이브 조각 모음을 비교할 수 있습니다.

나는 인용한다 :

모든 데이터베이스는 시간이 지남에 따라 require some form of maintenance to keep it at an optimal performance level. Purging deleted rows, resequencing, compressing, managing index paths, defragmenting, etc. is what is known as OPTIMIZATION in mysql and other terms in other databases. For example, IBM DB2/400 calls it 실제 파일 구성원을 재구성합니다.

기름을 바꾸는 것과 같습니다. your car or getting a tune-up. You may think you really don't have to, but by doing so your car runs much better, you get better gas mileage, etc. A car that gets lots of mileage requires tune-ups more often. A database that gets heavy use requires the same. If you are doing a lot of UPDATE and/or DELETE operations, and especially if your tables have variable length columns (VARCHAR, TEXT, etc), you need 계속 지켜봐주세요.

 

참조 페이지 https://stackoverflow.com/questions/565997

 

 

반응형

댓글