原创 【複製】mha-2

翻譯自   http://code.google.com/p/mysql-master-ha/wiki/OverviewDifficulties of Master FailoverMaster Failover is not as tri

原创 基於SSD讀性能,產生的Flashcache技術----flashcache操作命令

安裝flashcachewget https://github.com/facebook/flashcache/archive/master.ziptar xf flashcache-master.tarcd flashcache-mast

原创 我的友情鏈接

51CTO博客開發

原创 【複製】mha-3

翻譯自 : http://code.google.com/p/mysql-master-ha/wiki/Architecture一、Architecture of MHA/*mha的結構(架構)*/When a master crashes

原创 linux ssh 多臺機器無密碼相互登陸方法二

rm /root/.ssh -frssh-keygen -t rsa           在各個機器上執行cat /root/.ssh/id_rsa.pub    吧各個機器的這個文件都拷出來,當一個模板用echo "ssh-rsa AA

原创 基於SSD讀性能,產生的Flashcache技術

## flashcache出現的背景環境1.長期積攢的大數據量如果將這些數據全部放在大容量的SATA、SAS盤上時,會發現性能(響應時間)不夠;2.如果全放在SSD上時,又會發現成本很高。3.即使公司能夠大氣到都放到SSD上,你會發現1TB

原创 【複製】mha-4

翻譯自  http://code.google.com/p/mysql-master-ha/wiki/Advantages#Advantages_of_MHAAdvantages of MHA/* mha優點 */一、Master fail

原创 【複製】slave篩選複製之三(insert語句)

#1.爲 in_1.bbb、out_1.bbb 添加數據create table in_1.bbb(id int); create table out_1.bbb(id int); insert into in_1.bbb valu

原创 linux ssh 多臺機器無密碼相互登陸方法一

# 1.刪除已有公鑰 rm /root/.ssh -fr #2.創建公鑰 ssh-keygen -t rsa 一路直接【回車】就可以了 #3.查看是否創建成功鑰匙 ls /root/.ssh/ id_rsa(密鑰) id_r

原创 Linux系統禁用的(啓動)服務腳本

#! /bin/sh`chkconfig  NetworkManager  off``chkconfig  acpid  off``chkconfig  anacron  off``chkconfig  apmd  on``chkconfi

原创 我的友情鏈接

51CTO博客開發

原创 【複製】mha-1

A primary objective of MHA is automating master failover and slave promotion within short (usually 10-30 seconds) downti