528 Part V . Advanced Performance Table 18-1 (Web hosting e commerce)
Friday, May 23rd, 2008528 Part V . Advanced Performance Table 18-1 Options For Master Server In MySQL Replication Option Description binlog-ignore-db Replication will be done on all databases except database specified. log-bin Sends replication updates to logfile in binary format. log-bin-index Sets the filename of the file to track which log number is current. PURGE MASTER LOGS TO Deletes replication logs. RESET MASTER Purges replication-related logfiles and restarts replication. server-id Unique integer value of server within a replication set. SET SQL_LOG_BIN=0 Stops replication or updating of the binary log. SET SQL_LOG_BIN=1 Starts replication or updating of the binary log. SHOW BINLOG EVENTS Used for debugging, this statement shows items in the binary log. SHOW MASTER LOGS Gives information on the binary logs residing on the master. SHOW MASTER STATUS Gives information on the master replication process. binlog-do-db Replication will be performed only on updates to database specified. The options and settings applicable for a slave server are shown in Figure 18-2. As in Table 18-1, SQL statements are shown in all uppercase. Table 18-2 Options For Slave Server In MySQL Replication Option Description CHANGE MASTER TO Changes the master that a slave replicates with. LOAD DATA FROM MASTER Transfers a snapshot copy of the data from master to begin replication. LOAD TABLE FROM MASTER Transfers a specific table from a master server. log-slave-updates Enables logging of updates on slave server. master-host The IP or hostname of the master server. master-user Username to use for replication.
Check Tomcat Web Hosting services for best quality webspace to host your web application.