AutoSlave
Component type
Categories
Maintenance status
Development status
Downloads
Component created
Component changed
Automatic database slave selection
This database driver (called "autoslave") will automatically use the database slaves where applicable and otherwise use a master database.
where applicable means:
- The query is not a write query (and not a select query with locking)
- The tables in the query have not been written to during the request and within the assumed replication lag
- A transaction has not been started
- The tables in the query are not specified in the 'tables' option in the driver settings
- A lock has not been started (core db-lock and memcache-lock supported)
