간단한 질문인데 지금은 잔소리가 났어요 ....
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
'MySql' 카테고리의 다른 글
MySQL PHP를 사용하여 mysql 테이블에 타임 스탬프 저장 (0) | 2020.10.12 |
---|---|
MySQL의 모든 테이블에 대한 모든 열 이름을 얻는 방법은 무엇입니까? (0) | 2020.10.12 |
MySQL Great Circle Distance (Haversine 공식) (0) | 2020.10.12 |
MySQL 설정 저장 (0) | 2020.10.12 |
MySQL PHP에서 select count (*) 쿼리의 결과를 얻는 방법은 무엇입니까? (0) | 2020.10.11 |
댓글