|
藍森林 http://www.lslnet.com 2006年8月26日 15:18
那位大蝦有時間看看我的翻譯,我想把關於mysql replication的FAQ翻譯成中文(3)。
不準確的地方請多多指教,謝謝。
Q: How can I use replication to improve performance of my system?
Q:我使用mysql replication怎麼去提高系統的性能?
--------------------------------------------------------------------------------------------------------------------------------------------------
A: You should set up one server as the master and direct all writes to it. Then configure as many slaves as you have the budget and rackspace for, and distribute the reads among the master and the slaves. You can also start the slaves with the --skip-innodb, --skip-bdb, --low-priority-updates, and --delay-key-write=ALL options to get speed improvements on the slave end. In this case, the slave uses non-transactional MyISAM tables instead of InnoDB and BDB tables to get more speed.
----------------------------------------------------------------------------------------------------------------------------------------
A:你應該設置一個直接可以寫的master服務器。然後根據你的預算和需求配置許多的slave,讓客戶端可以從master和slave上讀取數據。當然,你可以使用--skip-innodb, --skip-bdb, --low-priority-updates, --delay-key-write=ALL這些選項來啟動你的slave服務器到達提高效率的目的。這樣,slave就會使用MyISAM這樣的引擎來提高速度。 |
英語不好 |
大意是說:
只能對主的寫入,在從的和主的上讀取。
下面都是提高性能的方法了,和你說的差不多 |
| |