차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
tech:mysql [2014/08/14 14:25] – [root 비번 잃었을때] 115.93.88.196tech:mysql [2019/04/04 03:09] (현재) – [참조 문서] V_L
줄 1: 줄 1:
 +{{tag>tech mysql}}
 ======Mysql====== ======Mysql======
 MySQL은 DBMS DataBase Management System 로서.. DB를 구성하고 이를 다루기 위해 구성된 시스템이죠.. MySQL은 DBMS DataBase Management System 로서.. DB를 구성하고 이를 다루기 위해 구성된 시스템이죠..
줄 145: 줄 146:
 'subject' 컬럼값에 '광고' 라는 단어가 포함된 레코드를 전부 삭제한다. 'subject' 컬럼값에 '광고' 라는 단어가 포함된 레코드를 전부 삭제한다.
  
 +=====기타=====
 +
 +====명령어로 가져오기====
 +
 +Your best bet is to FTP it to the server and then ssh in (command line) and import the database that way. The resulting command will look something like:
 +
 +  mysql -hlocalhost -uUser -pPassword database_name < file_name
 +
 +That way you can completely bypass any file upload or processing time restrictions.
  
  
줄 178: 줄 188:
  
  
-http://dev.mysql.com/doc/refman/5.6/en/crashing.html +http://dev.mysql.com/doc/refman/5.6/en/crashing.html  
-^  누구나 수정하실 수 있습니다.  문법은 [[wiki:syntax]]참조하세요|+ 
 +=====상태 보기===== 
 + 
 +https://alvinalexander.com/blog/post/mysql/how-show-open-database-connections-mysql 
 + 
 + 
 +Probably the most common reason for a thread to stay with either killed or query end for a longer period of time is waiting for a transaction rollback on InnoDB tables. This sometimes can take a lot of time to complete, especially when hundreds of thousands or millions of changes have to be removed. 
  
-{{tag>tech mysql}} 
  
 +===== 참조 문서 =====
 +  * [[http://gywn.net/2012/09/mysql-tuning/|MySQL 성능 최적화를 위한 몇 가지 팁!!]]
 +  * [[http://www.xaprb.com/blog/2006/07/31/how-to-analyze-innodb-mysql-locks/|innotop]] : Innodb 락 찾기
 +  * INNODB 상태 보기 : ''SHOW ENGINE INNODB STATUS''
 +  * 현재 처리중인 프로세스 목록 : ''show processlist;''
 +  * [[http://dev.paran.com/2012/05/22/mysql-low-performance-query-bad-habit/|MySQL 성능 죽이는 잘못된 쿼리 습관]]
 +  * [[http://gywn.net/2012/06/mysql-temporary-table-effect/|MySQL Temporary Table과 성능]]
 +  * [[http://gywn.net/2012/07/mysql-replication-driver-error-report/|MySQL Replication Driver 오류 리포트]]
 +  * [[http://gywn.net/2012/10/mysql-connection-limitation-nproc/|CentOS 6.x에서 ulimit 값을 확인해야 한다]]
 +  * [[http://gywn.net/2017/06/mysql-os-cache-management/|[MySQL] 바쁜 서비스 투입 전, 이런 캐시 전략 어때요? | gywndi's database]]
 +  * [[https://d2.naver.com/helloworld/1155|성능 향상을 위한 SQL 작성법]]