Question about MySQL replication and OPTIMIZE TABLE

2002-12-05 Thread Mariella Di Giacomo
Hello,

I am running MySQL 4.0.5 64 bit on a Sun Solaris and I am using MyISAM 
Indices.

I would like to set replication (one master and one slave).

My question is:
When I OPTIMIZE TABLE table1, ... on the master will the slave be updated 
or if I want to optimize the same tables on the slave I need to explicitly run
OPTIMIZE TABLE on the slave side ?

Thanks a lot for your help,

Mariella


-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



re: Question about MySQL replication and OPTIMIZE TABLE

2002-12-05 Thread Victoria Reznichenko
Mariella,
Thursday, December 05, 2002, 4:15:52 AM, you wrote:

MDG I am running MySQL 4.0.5 64 bit on a Sun Solaris and I am using MyISAM 
MDG Indices.

MDG I would like to set replication (one master and one slave).

MDG My question is:
MDG When I OPTIMIZE TABLE table1, ... on the master will the slave be updated 
MDG or if I want to optimize the same tables on the slave I need to explicitly run
MDG OPTIMIZE TABLE on the slave side ?

OPTIMIZE TABLE isn't written to the binary logs. So, OPTIMIZE TABLE
isn't replicated.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com





-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php