TCMS - 1 master and 10+ slaves

Post Reply
alexscj
Posts: 160
Joined: Mon Apr 01, 2013 3:04 pm

TCMS - 1 master and 10+ slaves

Post by alexscj »

Hello, would linking 10 salves or more to 1 master db be a bad practice because of the many simultaneous queries to the same db ?

From experience, what's a good number of slaves per master ?

For example, instead of 1 master and 10 slaves, would 2 masters and 5 slaves (on the same server) be a better option server load wise ?
admin
Site Admin
Posts: 37250
Joined: Wed Sep 10, 2008 11:43 am

Re: TCMS - 1 master and 10+ slaves

Post by admin »

Hi!

You don't have table locks in you dont write into the template.

So if you gonna add a lot constantly - yes, 2 master sites would be better
if not - 1 is ok

But in fact
1. I doubt you gonna notice the difference
2. with 2 exactly the same master sites you gonna need 2x memory to load DB into the memory
Don't forget to run script update
alexscj
Posts: 160
Joined: Mon Apr 01, 2013 3:04 pm

Re: TCMS - 1 master and 10+ slaves

Post by alexscj »

Thanks!
admin
Site Admin
Posts: 37250
Joined: Wed Sep 10, 2008 11:43 am

Re: TCMS - 1 master and 10+ slaves

Post by admin »

NP
Don't forget to run script update
Post Reply