Any and all non-support discussions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by boybawang » Tue Jan 20, 2015 9:48 am
Hi guys,
is it alright to set the slave to read only if your main purpose is just to lessen the load of the main database server when viewing reports?
-
boybawang
-
- Posts: 989
- Joined: Sat Nov 14, 2009 1:18 pm
- Location: Dumaguete City, Negros Oriental, Philippines
-
by okli » Tue Jan 20, 2015 3:13 pm
I would say yes, definitely.
1) There still might be some reports breaking replication when attempt to write to the slave
2) Piece of mind against human errors- running write queries on the slave by mistake, instead on the master. Avoiding that lovely "ohh sh*t", followed by slave rebuilding, for the Nth time, lol.
-
okli
-
- Posts: 671
- Joined: Mon Oct 01, 2007 5:09 pm
by DomeDan » Fri Jan 23, 2015 7:15 am
I didnt know about the slave read only option, before making the change I had to rebuild the slave now and then
(
http://www.eflo.net/VICIDIALforum/viewt ... =3&t=26231)
this is the link geoff3dmg sent to me:
https://mariadb.com/blog/looking-slave- ... kip-errors
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
-
DomeDan
-
- Posts: 1226
- Joined: Tue Jan 04, 2011 9:17 am
- Location: Sweden
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 59 guests