Database Administrator/Replication 13

SQL Server Replication Error - The specified LSN for repldone log scan occurs before the current start of replication in the log

원본 : http://www.mssqltips.com/sqlservertip/3288/sql-server-replication-error--the-specified-lsn-for-repldone-log-scan-occurs-before-the-current-start-of-replication-in-the-log/?utm_source=dailynewsletter&utm_medium=email&utm_content=headline&utm_campaign=20140815 ProblemWhen working with SQL Server Replication there are times when you may get critical errors related to the Log Reader Agent. One ..

복제::숨겨진 저장프로시저 확인

복제 관련 시스템 저장프로시저 내용을 확인해 보고 싶을 경우가 종종 있다. 성능을 향상 시키고자 할 때나, 문제를 해결 하고자 할 때 그런데 시스템 저장 프로시저 내용을 확인하기는 쉽지 않다. 그런데 방법은 있다. DAC 기능을 활성화 한다. 혹은 sqlcmd 명영 유틸을 사용시에는 -A 옵션을 사용한다. exec sp_configure 'remote admin connections', 1 go reconfigure go 2. 저장 프로시저 내역 확인 select object_definition (object_id('sys.sp_MSrepl_helparticlecolumns') ) 3. 서비스에서 작업을 진행 했다면, DAC 연결을 반드시 종료한다.

복제::#5 구현&삭제 스크립트

복제 삭제 방법 1: http://msdn.microsoft.com/ko-kr/library/ms152757.aspx 방법 2: http://support.microsoft.com/kb/324401 이상하게 잘 못 삭제했을 경우 select replinfo,* from sysobjects where replinfo = 0 을 찾아서 입력합니다. sp_removedbreplication [ [ @dbname = ] 'dbname' ] [ , [ @type = ] type ] [ @dbname=] 'dbname' 데이터베이스의 이름입니다. dbname은 sysname이며 기본값은 NULL입니다. NULL인 경우 현재 데이터베이스를 사용합니다. [ @type = ] type 데이터베이스 개체를 제거 중인 복제..