편리한 호스팅 미소IDC

   
 
 
 

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

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

      어제 : 516 ,오늘 : 310
      전체 : 1,772,624


     

 

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

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 CentOS 5.5 기반 Oracle 10g 설치(2. 환경 변수 설정) 싼웹호스팅 07-06 42021
47 오라클 계정생성 싼웹호스팅 11-02 44023
46 오라클 DB 생성 싼웹호스팅 07-13 46215
45 SSH 기본명령어 최고관리자 06-22 47871
44 Force10 OS 펌웨어 업그레이드 싼웹호스팅 06-28 48976
43 DRBD split brain 처리하기 싼웹호스팅 06-28 49121
42 MS-SQL 리플리케이션 (병합복제) 테이블 추가 방법 싼웹호스팅 05-09 49348
41 Subversion/Trac 백업 및 복구 싼웹호스팅 11-30 50279
40 아파치 웹서버 무력화시킬 심각한 DoS 결함 발견 싼웹호스팅 10-20 50540
39 [qmail] 설치 대행 싼웹호스팅 10-11 51545
38 [MS-SQL]SQL Server 2005 연결오류 진단방법 싼웹호스팅 04-04 53374
37 mysql Replicating 싼웹호스팅 10-31 56544
36 아파치에 GeoIP 모듈 설치하는 방법 싼웹호스팅 02-11 61344
35 레이어 팝업 - 닫기&오늘 하루 열지 않기 싼웹호스팅 06-12 63806
34 [CentOS] Tomcat 7.0.4 설치 (수정1) 싼웹호스팅 11-16 63919
 1  2  3  4  5  6