Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

UseSlaveServer

Summary

Enables the usage of slave database servers for read queries. (MySQL only)

Usage

UseSlaveServer=enabled|disabled

Description

Set this option to enabled to make eZ Publish load balance read queries between several SQL servers. You can set the location and log-in information for the slave servers using the settings:

  • SlaveServerArray
  • SlaverServerUser
  • SlaverServerPassword
  • SlaverServerDatabase

For all other connection options the values set for the standard database will be used.

This option only works on MySQL and MySQLi setups. You can read more about how to set up MySQL replication here.

Frederik Holljen (01/02/2005 10:31 am)

Geir Arne Waaler (08/06/2011 7:49 am)

Frederik Holljen, Julia Shymova, Geir Arne Waaler


Comments

There are no comments.