blog.takanabe.tokyo
RDS – PAYFORWARD
http://blog.takanabe.tokyo/category/rds
7月 17, 2016. Python Machine Learning Chapter3.1&3.2. Please spread the word :).
blog.takanabe.tokyo
Books – PAYFORWARD
http://blog.takanabe.tokyo/category/books
It seems we can’t find what you’re looking for. Perhaps searching can help. Python Machine Learning Chapter3.1&3.2. Please spread the word :).
blog.takanabe.tokyo
Master/Slave関係にあるMySQLサーバでMasterに無いテーブルをSlaveに作成した時の挙動 – PAYFORWARD
http://blog.takanabe.tokyo/2016/04/06/2373
Master mysql INSERT INTO emp (emp name, emp roman, emp email) - VALUES("Alice", "alice", "alice@example.com"), - ("Bob", "bob", "bob@example.com"), - ("Cris", "cris", "cris@example.com"); Query OK, 3 rows affected (0.00 sec) Records: 3 Duplicates: 0 Warnings: 0. この状態から脱するために、SQL SLAVE SKIP COUNTER でステートメントを1文スキップする。 Master vagrant@mysql-master: $ cat /tmp/table dump.sql - - Table structure for table `dept` - DROP TABLE IF EXISTS `dept`; /*! 40101 SET @saved cs client = @ character set client */; /*!
blog.takanabe.tokyo
巨大なサイズのテーブルに対するALTER TABLE実行時間の概算方法 – PAYFORWARD
http://blog.takanabe.tokyo/2016/04/08/2382
テーブルをTL WRITE ALLOW READロックする。 ただし、ALTER TABLE でインプレース手法 (オンライン DDL) が使用された場合、InnoDB は一時ファイルを一時ファイルディレクトリ(–tmpdirや環境変数TMPDIRで指定)に生成する。 一方でパフォーマンスを稼ぐためにメモリ上に一時テーブルを作りたい場合は、MEMORYストレージエンジンのテーブル最大サイズを定義するmax heap table sizeも合わせて増やす必要がある。 例えば、ADD PARTITION、DROP PARTITION、COALESCE PARTITION、REBUILD PARTITION、REORGANIZE PARTITION を含む ALTER TABLE は一時テーブルを生成しない(old alter table システム変数を ON に設定するかalter specification 句の 1 つとして ALGORITHM=COPYを明示的に指定することで一時テーブルを生成することもできる). 2844047 469021 = 約6秒. MySQLの temporary table...
blog.takanabe.tokyo
MySQLのMasterフェールオーバのためのMHAのインストールと設定 – PAYFORWARD
http://blog.takanabe.tokyo/2016/05/04/2410
MHA用サーバ 1、MySQL Master 2、Slave 2にて検証を行う。 検証で使うVMは Verification of Master HA setting and behavior GitHub. Vagrant@mha: $ uname -a Linux mha 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86 64 x86 64 x86 64 GNU/Linux vagrant@mha: $ lsb release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty. MHA nodeはmha,master,slaveの全てで必要. Udo service mysql restart. 同じ鍵とssh configをmaster1,2,slave1,2にscpで転送する。 Vagrant@master1: $ sudo ...
blog.takanabe.tokyo
Profile – PAYFORWARD
http://blog.takanabe.tokyo/author
Site Reliability Engineer (Mar 2016 – Current). Develop and Operate Global platform for cookpad.com using AWS. Cyber security and Cloud Engineer (Sep 2013 – Feb 2016). Security technology and appliances test ecosystem developer. Development of OpenStack based IaaS for flexible development and verification environment for security technologies and appliances. Development of automatic attacking system. Development of malware libraries. Cyber Security Training program developer. VMWare based IaaS developer.
blog.takanabe.tokyo
Publications – PAYFORWARD
http://blog.takanabe.tokyo/publications
Takayuki Watanabe and Mitsuhiro Hatada, “A Study on Malware Selection Methodology for Evaluation Based on Dynamic Analysis”, IPSJ Computer Security Symposium 2014, pp.1105-1112, Oct 2014. (link). Takayuki Watanabe, Yu Fujimoto and Yasuhiro Hayashi, “Verification of Loss Reduction Effect on Loss Minimum Configuration of Distribution System by Zero-Suppressed Binary Decision Diagram”, 2013 IEEE PES Innovative Smart Grid Technologies, Washington D.C., USA, February 2013. (link). Kenichiro Muto, Yasuhiro Oku...
blog.takanabe.tokyo
Cooking – PAYFORWARD
http://blog.takanabe.tokyo/category/cooking
12月 29, 2016. 4月 1, 2016. 3月 19, 2016. 3月 18, 2016. 3月 8, 2016. Python Machine Learning Chapter3.1&3.2. Please spread the word :).
blog.takanabe.tokyo
AWS cliを使ってRDSのParameter GroupをRegionを跨いでコピーする – PAYFORWARD
http://blog.takanabe.tokyo/2016/07/17/2485
Copy-db-parameter-group AWS CLI 1.10.47 Command Reference. 同一リージョンの場合 aws rds copy-db-parameter-group - region us-east-1 - source-db-parameter-group-identifier source-pg - target-db-parameter-group-identifier dest-pg - target-db-parameter-group-description 'copy test' { "DBParameterGroup": { "DBParameterGroupName": "dest-pg", "DBParameterGroupFamily": "mysql5.6", "Description": "copy test" } }. Aws rds modify-db-parameter-group - db-parameter-group-name virginia pg - cli-input-json file:/ virginia dest p...
blog.takanabe.tokyo
MySQL – PAYFORWARD
http://blog.takanabe.tokyo/category/mysql
5月 4, 2016. 4月 8, 2016. 4月 6, 2016. 7月 29, 2015. 11月 30, 2014. Python Machine Learning Chapter3.1&3.2. Please spread the word :).
SOCIAL ENGAGEMENT