MySQL5.0データベース ログファイルおよびステータスの収集

Similar documents
スライド 1

MySQL5.0データベース ログファイルおよびステータスの収集

HP OpenSource ブループリント

untitled

sg_lenovo_os.xlsx

Slide 1

Microsoft PowerPoint - MySQL-backup.ppt

RouteMagic Controller( RMC ) 3.6 RMC RouteMagic RouteMagic Controller RouteMagic Controller MP1200 / MP200 Version 3.6 RouteMagic Controller Version 3

ソフトウェア説明書 CA APM 9 (9.1)

HP OpenSource ブループリント

Oracle8簡単チューニング for Windows NT

ソフトウェア説明書 CA Introscope 9 (9.1)

あっと! デジタル ver.7

<Documents Title Here>

ソフトウェア説明書 CA APM 9 (9.5)

etrust Access Control etrust Access Control UNIX(Linux, Windows) 2

CLUSTERPRO for Linux MySQL HowTo

<Documents Title Here>


untitled


Microsoft PowerPoint - 2-MySQL50_intro.ppt

untitled

KWCR3.0 instration

untitled

Pro 16 ipad iphone Windows Mac Web App : 12,600 T1 1 1 * Starter Solution Excel PDF Web Web CSV, Excel, XML, ODBC ODBC / JDBC ** SQL REST API (JSON, c

untitled

RouteMagic Controller RMC-MP200 / MP Version

FUJITSU Network Si-R Si-R Gシリーズ Webユーザーズガイド

Installation and New Features Guide for FileMaker Pro 10 and FileMaker Pro 10 Advanced

untitled

_‚Ofl¼

意外と簡単!?

JEE 上の Adobe Experience Manager forms のインストールおよびデプロイ(WebLogic 版)

意外と簡単!? Oracle Database 11g -バックアップ・リカバリ編-

スライド 1

MySQL Replication and Scalability

How to Use the PowerPoint Template

橡Accessテキスト

PrintWalker/LXE インストールガイド

橡ExCtrlPDF.PDF

intra-mart Web for SellSide ver /03/31 Oracle MS-SQL Server IBM DB2 MS-SQL Server IBM DB2 Client Side JavaScript Server Side JavaScript URL -

untitled


shibasaki(印刷用)

untitled

FileMaker Server 9 Getting Started Guide

Web Microsoft 2008 R2 Database Database!! Database 04 08

FileMaker Server Getting Started Guide

クラウド時代のインフラ構成/変更管理とコンプライアンス管理

FileMaker Server 8 Administrator’s Guide

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

untitled

<Documents Title Here>

untitled

Oracle Application Server 10g(9

untitled

LDAP Manager SupportList

Plano-POS Ver1

PowerPoint プレゼンテーション

untitled

XP_NW2.PDF

日本オラクル株式会社

橡PervasiveSQL2000ReviewersGuide.PDF

PowerPoint Presentation

Logitec NAS シリーズ ソフトウェアマニュアル

Logitec NAS シリーズ ソフトウェアマニュアル

~~~~~~~~~~~~~~~~~~ wait Call CPU time 1, latch: library cache 7, latch: library cache lock 4, job scheduler co

ipad iphone Windows Mac Web App : 12, * Starter Solution Excel PDF Web Web CSV, Excel, XML, ODBC ODBC / JDBC ** SQL Advanced : 20, * (HT

Oracle Application Server 10g( )インストール手順書

Percona Toolkit 利用ガイド 2014 年 11 月 25 日 第 1.4 版 株式会社スマートスタイル

1.MySQL とはなにか? MySQL とは ANSI/ISO の SQL に準拠した RDBMS( リレーショナルデータベース管理システム ) です 現在は サン マイクロシステムズが開発をしております 特徴として 機能面では PostgreSQL と比べやや劣りますがデータの読み出し (SEL

ALTIRIS DEPLOYMENT SOLUTION

テクニカルガイド2001年04月

CLUSTERPRO 3.x データベース監視オプション編

Faronics Core User Guide

MySQL5.5 MySQL

COBOLソース解析支援 導入・運用ガイド

PowerPoint Presentation

RouteMagic Controller RMC-MP200 / MP Version

FileMaker Server 16 インストールおよび構成ガイド

untitled

自己紹介 とみたまさひろプログラマー (Ruby & C) 日本 MySQLユーザ会代表

untitled

橡アップグレードB6.15.doc

(O) (N) (V) (N) kuins-pptp (N) 2

CSV ToDo ToDo

untitled

HULFT-DataMagic Ver2.2.0 製品対応OS

FileMaker 15 ODBC と JDBC ガイド

LP-S820

PowerGres on Linux HAマニュアル

ハードウェア取扱説明書L8/L16LTOチェンジャー装置

untitled

FileMaker 16 ODBC と JDBC ガイド

( ) istorage S

Oracle DatabaseとIBM DB2 UDBの技術的比較: パフォーマンスを重視

SR-X526R1 サーバ収容スイッチ ご利用にあたって

L2plusスイッチバージョンアップ手順書

Red Hat Enterprise Linux 6 Portable SUSE Linux Enterprise Server 9 Portable SUSE Linux Enterprise Server 10 Portable SUSE Linux Enterprise Server 11 P

Transcription:

HP OpenSource MySQL Server 5.0 ver 1.0 1

MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0.18 MySQL 5.0 Community Edition MySQL 5.0 Enterprise Server 1 MySQL 5.0 2 MySQL 5.0 3 MySQL 5.0 2

... 2... 2... 2... 3 1.... 4 1.1.... 5 1.1.1.... 5 1.1.2.... 5 1.1.3.... 6 1.2.... 7 1.2.1.... 7 1.2.2.... 7 1.2.3.... 7 1.3.... 8 1.3.1.... 8 1.3.2.... 8 1.3.3.... 9 1.4.... 10 1.4.1.... 10 1.4.2.... 10 1.4.3.... 12 1.5.... 13 1.5.1. UNIXLinux... 13 1.5.2. Windows... 14 1.6.... 14 2.... 15 2.1. MySQL... 15 2.2. MySQL... 15 2.3. InnoDB... 16 2.4.... 16 3.... 18 3.1. MySQL... 18 3.2. MySQL... 18 Appendix 1: MySQL... 19 Appendix 2:... 20 Appendix 3: MySQL... 21 A3.1. MySQL... 21 A3.2.... 22 3

1. MySQL 5.0 1 MySQL 1 MySQL 1MySQL 1MySQL MySQL (mysqld $datadir/.err SQL $datadir/.log long_query_time INDEX $datadir/-slow.log MySQL $datadir/-bin.xxxxxx (XXXXX 6 ) ) $datadir MySQL MySQL datadir 1. 2. 2.1. 4

2.2. MySQL MySQL Appendix 1: MySQL 2.3. MySQL MySQL (my.cnf/my.ini) 3. 1.1. 1.1.1. MySQL mysqld MySQL 1.1.2. 1.1.2.1. --log-error[=filename] MySQL.err MySQL Microsoft Windows --console --log-warnings[=level], -W [level] MySQL level 0 level 1 1 level 1 --console Microsoft Windows mysqld 1.1.2.2. mysql-error.log MySQL (my.cnf my.ini) UNIX Linux Windows \ MySQL MySQL mysql-error.log 1.1.2.3. MySQL MySQL mysqld /MySQL_DATA/mysql-error.log 5

MySQL UNIX Linux MySQL mysqld_safe --log-error mysqld MySQL MySQL 1.1.3. MySQL MySQL MySQL InnoDB 6

1.2. 1.2.1. SQL SQL MySQL 1.2.2. 1.2.2.1. --log[=filename], -l [filename] MySQL.log MySQL 1.2.2.2. mysql-query.log MySQL (my.cnf my.ini) UNIX Linux Windows \ MySQL MySQL mysql-query.log 1.2.2.3. MySQL MySQL mysqld /MySQL_DATA/mysql-query.log MySQL 1.2.3. 1.2.3.1. SQL 1.2.3.2. 7

Time Id Command Argument Command Query SQL 1.3. 1.3.1. MySQL long_query_time SQL MySQL 1.3.2. 1.3.2.1. --log-slow-queries[=filename] MySQL -slow.log --long-query-time=second 1 10 --log-queries-not-using-indexes --log-slow-admin-statements OPTIMIZE TABLE, ANLYZE TABLE, ALTER TABLE 1.3.2.2. mysql-slow.log 30 MySQL (my.cnf my.ini) UNIX Linux \ 8

Windows \\ MySQL MySQL mysql-slow.log 1.3.2.3. MySQL MySQL mysqld /MySQL_DATA/mysql-slow.log MySQL 1.3.3. 1.3.3.1. 1.3.3.2. mysqldumpslow mysqldumpslow 9

Windows 1.4. 1.4.1. MySQL MySQL MySQL 1.4.2. 1.4.2.1. --log-bin[=basename] MySQL -bin. 000001.index --log-bin-index[=filename] MySQL -bin.index --max-binlog-size=size 4096 1G4096 G 1G --sync-binlog={0 1} (1 ) MySQL 0 MySQL (0 ) --expire-logs-days=day MySQL 0 0 10

--binlog-do-db=dbname 2 (USE ) --binlog-ignore-db=dbname 2 1.4.2.2. mysql-bin mysql-bin.index 256MB 7 sales, prices 2 MySQL (my.cnf my.ini) UNIX Linux \ \ Windows \\ \ MySQL MySQL mysql-bin 256MB 7 MySQL sales prceis 1.4.2.3. MySQL MySQL mysqld MySQL 11

1.4.3. 1.4.3.1. MySQL 1% 1.4.3.2. mysqlbinlog newdb \ Windows # at 4# at 98 1 # at 98 CREATE DATABASE 1.4.3.3. MySQL 1 1 1 1 2 MySQL 12

2 1.5. 1.5.1. UNIX Linux MySQL MySQL mysqladmin flush-logs SQL FLUSH LOGS -old (1) MySQL (2) RELOAD : mysql-host.err ( mysql-host.err-old ) 13

: : : mysql-host.log mysql-host-slow.log mysql-bin.xxxxxx (+1 ) (3) mysqladmin flush-logs MySQL MySQL 1.5.2. Windows Unix Linux mysqladmin flush-logs \ : mysql-host.err ( mysql-host.err-old ) : mysql-bin.xxxxxx (+1 ) Microsoft Windows MySQL UNIX Linux MySQL 1.6. MySQL 2 MySQL 2 MySQL InnoDB MySQL InnoDB MySQL 5.0 Reference Manual 14

2. MySQL SQL MySQL 2.1. MySQL MySQL MySQL MySQL MySQL MySQL MySQL MySQL MySQL 2 MySQL MySQL MySQL SQL MySQL SHOW GLOBAL VARIABLES; SHOW SESSION VARIABLES; SHOW VARIABLES mysqladmin variables MySQL Windows MySQL 5.0 Reference Manual 5.2.3. System Variables 2.2. MySQL MySQL MySQL 2 MySQL MySQL SQL MySQL SHOW GLOBAL STATUS; SHOW SESSION STATUS; SHOW STATUS 15

mysqladmin extended-status MYSQL Windows MySQL 5.0 Reference Manual 5.2.5. Status Variables 2.3. InnoDB InnoDB MySQL InnoDB InnoDB InnoDB InooDB SQL SHOW INNODB STATUS\G mysql \ \\ \ Windows 2.4. PROCESS MySQL MySQL SQL SHOW PROCESSLIST\G mysql 16

\ \\ \ Windows SQL KILL mysql 17

3. 3.1. MySQL UNIX Linux ps Windows(2000/XP/2003) tasklist OS MySQL OS MySQL mysqladmin ping Unix Linux Windows 2000/XP/2003 \ 3.2. MySQL MySQL mysqladmin ping mysqladmin MySQL MySQL MySQL MySQL (UNIX ) 18

Appendix 1: MySQL MySQL UNIX Linux my.cnf Windows my.ini Windows my.cnf UNIX Linux MySQL (my.cnf) Windows MySQL (my.ini) Windows(/) 19

Appendix 2: MySQL --log-bin-trust-function-creators[={0 1}] MySQL FUNCTION CREATE FUNCTION MySQL MySQL (1 )(0 ) --binlog-cache-size=size MySQL 1 SQL 32KB --max-binlog-cache-size=size MySQL 1 --log-slave-updates={0 1} MySQL MySQL 1 0 20

Appendix 3: MySQL A3.1. MySQL MySQL 2 TCP/IP JDBC MySQL MySQL UNIX MySQL MySQL MySQL 8 28800 3 MySQL MySQL 2 MySQL interactive_timeout TCP/IP 28800 8 )mysql MySQL wait_timeout TCP/IP 28800 8 )JDBC MySQL mysql --batch 21

TCP/IP --batch mysql mysql MySQL TCP/IP --batch mysql mysql A3.2. MySQL 22

03-5304-6660 9:0019:00 10:0018:00 Linux/ http:/www.hp.com/jp/linux/ 23