DB(SQL) (85) 썸네일형 리스트형 [MYSQL] performance-schema-statement-tables dev.mysql.com/doc/refman/5.6/en/performance-schema-statement-tables.html MySQL :: MySQL 5.6 Reference Manual :: 22.12.6 Performance Schema Statement Event Tables 22.12.6 Performance Schema Statement Event Tables The Performance Schema instruments statement execution. Statement events occur at a high level of the event hierarchy: Wait events nest within stage events, which nest within statement e.. [mariadb] 실행된 SQL 쿼리 이력 확인 (ubuntu) 1. 실행중인 쿼리 확인 (show full processlist) -- engine 상태 show engine innodb status; -- 현재 접속중인 유저 및 실행중인 쿼리 -- 기본 show full processlist; -- 상세 select * from INFORMATION_SCHEMA.PROCESSLIST; -- 해당 Thread 현황 select * from information_schema.INNODB_TRXG; -- 마지막에 해당 thread에서 실행중(된) 쿼리 조회 SELECT esc.THREAD_ID, t.processlist_id, esc.SQL_TEXT FROM performance_schema.events_statements_current esc /************.. [MYSQL] USER(사용자) 생성/권한 1. MYSQL 접속 mysql -u root -p 2. 현재 사용자(user) 확인 -- Tool에서 사용할때도 동일 하다. -- mysql database에 정보가 담겨져 있으므로 mysql database 선택 use mysql; -- mysql database 선택 select host, user, password from user; -- 조회 3. 사용자 추가 및 비밀번호 설정 -- user 생성 create user [user_name]; create user new_user; -- user 생성 및 password 설정 1 create user [user_name]@[host] identified by '[password]'; create user new_user@localhost ident.. [DB] DataBase 운영 시 참고할만한 사이트 및 도서 도서 SQL Server 운영과 튜닝 사이트 dbrang.tistory.com/264 ADM 관련 자료 ◈ [2k8] 마이크로소프트 통합보안 -- Reference : microsoft -- Keyword : 보안 security -- File : ◈ [2k8] SQL Unplugged 세미나 -- Reference : microsoft -- Keyword : .. dbrang.tistory.com bluejini.co.kr/53 [MS-SQL] DBA의 역할과 책임 현재 G사 DBA 로써 근무 하고 있다. 예전에 보았던 DBA로써의 역활과 책임이라는 글을 다시 한번 읽어 보았다. DBA의 역할과 책임 DBA의 역할 시스템과 조직에 따라 DBA의 임무에 차이가 있을 수 있지 bluejini.co.kr s.. [DB Tool] Database Tool List Acronyms Tool Name Developer 참고 SSMS SQL Server Management Studio 마이크로소프트 Orange Orange Ware valley DB 언어마다 투링 HeidiSQL HeidiSQL 자유-오픈 소스 SW DBeaver DBeaver 오픈 소스 커뮤니티 [DB] Server SQL Modes The Most Important SQL Modes The most important sql_mode values are probably these: ANSI This mode changes syntax and behavior to conform more closely to standard SQL. It is one of the special combination modes listed at the end of this section. STRICT_TRANS_TABLES If a value could not be inserted as given into a transactional table, abort the statement. For a nontransactional table, abort the s.. [MySQL] utf8 vs utf8mb4 차이는? 결론 utf8mb4 추천 cirius.tistory.com/1769 [MySQL] utf8 vs utf8mb4 차이는? utf8 vs utf8mb4 차이는? MySQL, MariaDB, Postgresql, MSSQL, Oracle등등의 Database를 사용하면서 혹은 개발언어등에서 CHARSET = utf8로 세팅하고 사용한다. 언제부턴가 나는 MySQL, MariaDB를 사용할 경우 자.. cirius.tistory.com DATABASE 네이밍 룰 참조 자료 jang8584.tistory.com/35 Database 네이밍 룰(Naming rule) 1. Database 관련 Naming Rule 가. Database Schema Name 1) 규칙 █ Database Profile 이름을 의미함 █ DB Alias 이.. jang8584.tistory.com 이전 1 ··· 7 8 9 10 11 다음