편리한 호스팅 미소IDC

   
 
 
 

      1차 네임서버 :
      ns1.misoidc.com
      101.79.73.101

      2차 네임서버 :
      ns2.misoidc.com
      101.79.73.105

      어제 : 811 ,오늘 : 346
      전체 : 1,786,874


     

 

 
작성일 : 12-10-31 10:22
mysql Replicating
 글쓴이 : 싼웹호스팅
조회 : 56,781  

Replicating specific databases only

As mentioned earlier, the master and slave database server do not need to be entirely in sync, with all databases and all tables from the master replicated onto the slave. By default, the slave will replicate everything, but you can change this behavior with the following options in the slave configuration file:

replicate-do-db=db_name (replicate this database)
replicate-ignore-db=db_name (don't replicate this database)
replicate-do-table=db_name.table_name (replicate this table)
replicate-ignore-table=db_name.table_name (don't replicate this table)
replicate--wild-do-table=db_name.table_name 
	(allows wildcards, e.g db% would be all databases beginning with db)
replicate-wild-ignore-table=db_name.table_name (ignore all specified tables, with wildcards)

These options can all be used multiple times in a single configuration. A couple of other useful options:

replicate-rewrite-db=master_db->slave_db (allows you to use map databases 
	that use different database names on each server)
log-slave-update (writes replicated statements to the slaves binary logs)


 
 

Total 78
번호 제   목 글쓴이 날짜 조회
48 윈도우에서 오라클 InstantClient 설치 후 Toad 연결법 싼웹호스팅 07-07 74908
47 오라클 폴더 퍼미션 싼웹호스팅 11-18 73308
46 wowza live 스트리밍 싼웹호스팅 10-11 73209
45 [CentOS] Tomcat 7.0.4 설치 (수정1) 싼웹호스팅 11-16 64098
44 레이어 팝업 - 닫기&오늘 하루 열지 않기 싼웹호스팅 06-12 64039
43 아파치에 GeoIP 모듈 설치하는 방법 싼웹호스팅 02-11 61581
42 mysql Replicating 싼웹호스팅 10-31 56782
41 [MS-SQL]SQL Server 2005 연결오류 진단방법 싼웹호스팅 04-04 53563
40 [qmail] 설치 대행 싼웹호스팅 10-11 51694
39 아파치 웹서버 무력화시킬 심각한 DoS 결함 발견 싼웹호스팅 10-20 50701
38 Subversion/Trac 백업 및 복구 싼웹호스팅 11-30 50448
37 MS-SQL 리플리케이션 (병합복제) 테이블 추가 방법 싼웹호스팅 05-09 49603
36 DRBD split brain 처리하기 싼웹호스팅 06-28 49272
35 Force10 OS 펌웨어 업그레이드 싼웹호스팅 06-28 49125
34 SSH 기본명령어 최고관리자 06-22 48052
 1  2  3  4  5  6