全文検索:
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- Process: 19243 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Process: 8558 E... ${PGDATA} (code=exited, status=0/SUCCESS) Main PID: 8564 (postmaster) CGroup: /system.slice/postg... ${PGDATA} (code=exited, status=0/SUCCESS) Main PID: 8154 (postmaster) CGroup: /system.slice/postg... -c "UPDATE actor set first_name='BBB' where actor_id=1" UPDATE 1 $ psql -h 172.16.0.52 -U postgres
- 01 Galera構築 @01_linux:11_データベース:01_mysql
- 4M [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid # # * IMPORTANT: Additional settings that can override those from th... supported default-storage-engine=innodb # to avoid issues with 'bulk mode inserts' using autoinc inn... ions: # --status - new status of this node # --uuid - UUID of the cluster # --primary - whether th
- 11 Galera同期(複数台構成) @01_linux:11_データベース:01_mysql
- /grastate.dat # GALERA saved state version: 2.1 uuid: d38587ce-246c-11e5-bcce-6bbd0831cc0f seqno: ... luster_size | 3 | wsrep_cluster_state_uuid | d38587ce-246c-11e5-bcce-6bbd0831cc0f </code... 考URL ===== [[http://severalnines.com/blog/how-avoid-sst-when-adding-new-node-galera-cluster]] {{tag>m
- 15 InnoDB テーブルロック @01_linux:11_データベース:01_mysql
- select * from lock_test; +----+--------+-----+ | id | name | age | +----+--------+-----+ | 1 | tan... 2 sec) </code> <code> create table lock_test ( id int primary key auto_increment, name varchar(... sec) mysql> UPDATE lock_test SET age = 21 WHERE id=1; Query OK, 1 row affected (0.01 sec) Rows match... sec) mysql> UPDATE lock_test SET age = 31 WHERE id=2; Query OK, 1 row affected (0.00 sec) Rows match
- 07 INNODB/MyISAM 確認方法 @01_linux:11_データベース:01_mysql
- | eccube_db | | dtb_best_products_best_id_seq | MyISAM | eccube_db ... | InnoDB | eccube_db | | dtb_bloc_bloc_id_seq | MyISAM | eccube_d... B | eccube_db | | dtb_category_category_id_seq | MyISAM | eccube_db
- 13 mysql56 + galera3 @01_linux:11_データベース:01_mysql
- [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] socket=/var/lib/mysql/mysql.sock __MY__ <code> === Xtr
- 50 MySQLベンチマーク(sysbench) @01_linux:11_データベース:01_mysql
- " for starting transactions Using auto_inc on the id column Threads started! Time limit exceeded, exit... AUTO_INCREMENT (or equivalent) should be used on id column [on] --oltp-connect-delay=N tim
- 51 MySQLベンチマーク(mysqlslap) @01_linux:11_データベース:01_mysql
- run. --auto-generate-sql-guid-primary Add GUID based primary keys to auto-generated tables. --auto-generat
- 09 Galera + innodb_flush_log_at_trx_commit @01_linux:11_データベース:01_mysql
- == 2.障害試験 ===== [[http://planet.mysql.com/entry/?id=2182281|参考:Galera + innodb_flush_log_at_trx_commi