View previous topic :: View next topic |
Author |
Message |
jeffgman n00b

Joined: 05 Jun 2004 Posts: 40
|
Posted: Wed Nov 16, 2005 4:38 am Post subject: MySQL Slaves |
|
|
Where can I set how many slaves should start and run with MySQL? Currently I am only running one database, and it is only connected locally, so I don't need so many slaves for MySQL.
Thanks,
Jeff |
|
Back to top |
|
 |
tuxmin l33t


Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Wed Nov 16, 2005 10:41 am Post subject: |
|
|
What do you mean? The number of replica slaves or the maximum client connects?
Alex!!! _________________ ALT-F4 |
|
Back to top |
|
 |
jeffgman n00b

Joined: 05 Jun 2004 Posts: 40
|
Posted: Wed Nov 16, 2005 2:14 pm Post subject: |
|
|
tuxmin wrote: | What do you mean? The number of replica slaves or the maximum client connects?
Alex!!! |
The number of slaves that shows up when I do a "ps ax". I don't need that many slaves running at one particular time. Waste of resources, in my opinion.
Jeff |
|
Back to top |
|
 |
tuxmin l33t


Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Wed Nov 16, 2005 2:22 pm Post subject: |
|
|
These are only threads and don't use the resources ps makes you believe.
However, you can use the --one-thread option to disable them. But don't try this on a production server.
Hth, Alex!! _________________ ALT-F4 |
|
Back to top |
|
 |
jeffgman n00b

Joined: 05 Jun 2004 Posts: 40
|
Posted: Wed Nov 16, 2005 2:29 pm Post subject: |
|
|
tuxmin wrote: | These are only threads and don't use the resources ps makes you believe.
However, you can use the --one-thread option to disable them. But don't try this on a production server.
Hth, Alex!! |
Okay, if they are not using any resources, then I will just leave them as is.
Thanks for the help. |
|
Back to top |
|
 |
|