magento可以使用多个MySQL从站吗? [英] Can magento use multiple MySQL slaves?
本文介绍了magento可以使用多个MySQL从站吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以下是我使用单个从属设备的配置的一部分.
The following is part of my config for using a single slave.
<default_read>
<connection>
<use/>
<host><![CDATA[slavedb1.amazonaws.com]]></host>
<username><![CDATA[username]]></username>
<password><![CDATA[Password]]></password>
<dbname><![CDATA[shop]]></dbname>
<initStatements><![CDATA[SET NAMES utf8]]></initStatements>
<model><![CDATA[mysql4]]></model>
<type><![CDATA[pdo_mysql]]></type>
<pdoType><![CDATA[]]></pdoType>
<active>1</active>
</connection>
</default_read>
但是,我想使用多个奴隶. Magento有可能吗?
However, I want to use multiple slaves. Is this possible with Magento?
为澄清起见,我已经有一个与Magento一起使用的主/从设置.我想添加另一个从属,以便有两个从属.我想知道配置将如何更改以利用第二个从属服务器.
To clarify, I have already got a single master/slave setup working with Magento already. I want to add another slave so that I have two slaves. I am wondering how the config will change to make use of this second slave.
推荐答案
据我所知,无法在Magento中使用多个从属.
As far as I am aware it is not possible to use multiple slaves with Magento.
如果您使用的是AWS,则可以在主/从设置中使用更大的实例吗?
If you are using AWS you could maybe use larger instances for your master/slave setup?
这篇关于magento可以使用多个MySQL从站吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文