SSAS 2008 설치후 원격 접속 문제해결하기 SSAS에서 패키지를 배포하고자 할 때 원본데이터를 읽어올 때 OpenRowSet을 사용한다. 이 때 기본적으로 OpenRowSet을 허용하지 않도록 설정이 되어 있는데 이 부분은 아래의 쿼리를 이용해서 설정 변경이 가능하다. sp_configure 'show advanced options', 1; RECONFIGURE; sp_configure 'Ad Hoc Distributed Queries.. SQLServer 2011.11.12
데드락 간단한 샘플 만들기와 해결하기 예제 use tempdb drop table DeadLock_A create table DeadLock_A ( id int identity(1,1) primary key, name varchar(10), gender char(1) ) insert into DeadLock_A(name, gender) values('Tom', 'M') insert into DeadLock_A(name, gender) values('John', 'M') insert into DeadLock_A(name, gender) values('Jane', 'F') insert into DeadLock_A(name, gender) values('Shon', 'M') insert into DeadLock_A(name, gender) value.. SQLServer 2008.10.10
SQL 서버 데드락 해결하기 데드락을 해결하기 위한 방법에 대해서 썰을 풀어보자. 일반적으로 대규모 프로젝트에서 하나의 테이블에 다수의 유저가 다수의 프로시져로 CUD작업을 할 경우에 데드락이 발생할 확율이 높다. 즉 하나의 테이블에 대해서 서로가 먼저 차지하겠다고 덤벼들기에 이를 중재하기 위해서 SQL 서버가 제일 .. SQLServer 2008.09.19
SQL t서버에서의 WaitType과 LastWaitType 컬럼 Description of the waittype and lastwaittype columns in the master.dbo.sysprocesses table in SQL Server 2000 and SQL Server 2005 View products that this article applies to. Article ID : 822101 Last Review : May 17, 2007 Revision : 8.1 On This Page SUMMARY MORE INFORMATION LOCK waittypes LATCH waittypes Other waittypes REFERENCES SUMMARY The master.dbo.sysprocesses table in Microsoft SQL Server 2.. SQLServer 2007.11.26
SQL Server에서 tempdb 데이터베이스를 축소하는 방법 펌글 입니다. 자주 이용하는 명령어인데 자꾸 잊어버리게 되네요 ^^; SQL Server에서 tempdb 데이터베이스를 축소하는 방법 이 문서가 적용되는 제품 보기. 기술 자료 ID : 307487 마지막 검토 : 2006년 5월 22일 월요일 수정 : 5.0 이 페이지에서 요약 Tempdb 정보 Tempdb를 축소하는 방법 1 Tempdb를 축소하는 방법 2 Tempdb.. SQLServer 2007.11.15
파티션뷰의 쿼리 버그 BUG: Query Optimizer May Select an Inefficient Query Plan for a Query Against a Partitioned View View products that this article applies to. Article ID : 308643 Last Review : October 3, 2003 Revision : 3.0 This article was previously published under Q308643 BUG #: 355952 (SHILOH_BUGS) On This Page SYMPTOMS WORKAROUND STATUS MORE INFORMATION Steps to Reproduce Behavior REFERENCES SYMPTOMS If the .. SQLServer 2007.10.08
문서화 되지 않은 추적플래그 문서화 되지 않은 추적 플래그입니다. 약은 좋은 곳에 적절하게 쓰면 좋지만 너무 과용하면 독이 되듯이 추적플래그를 사용하실 분은 하나하나 철저하게 자기 것으로 만들어서 사용하세요. -1 Sets trace flags for all client connections, rather than for a single client connection. Because trace flags set using the -T command-line opti.. SQLServer 2007.10.07
분산 트랜젝션시에 체크사항 기본 확인 사항 보통 실제 운영환경우서는 어플리케이션 서버와 데이터베이스 서버가 바로 옆에 있기때문에 문제가 발생하는 경우가 적지만.. 대부분의 프로젝트에서 개발데이터베이스와 개발자의 컴퓨터 간에 멀리 떨어져서 사용되는 경우가 많기때문에 자주 문제가 발생됩니다. 일단 제가 알고 있.. SQLServer 2006.10.13
테이블과 SP와의 종속관계 추출하기 select ( select o.name from sysobjects o where o.id = sub.id ) as objectname, ( select o.name from sysobjects o where o.id = sub.depid ) as dependname from ( select distinct d.depid, d.id, o.name from dbo.sysobjects o inner join sysdepends d on o.id = d.id where o.xtype = 'P' ) as sub order by sub.objectname SQLServer 2006.03.21
인덱스된 테이블과 인덱스되지 않은 테이블의 카운트함수 차이 -- 버퍼있는 데이터를 삭제합니다. dbcc dropcleanbuffers go SET STATISTICS IO ON go select count(*) from [products] SET STATISTICS IO OFF go 위의 쿼리를 실행시키면 아래와 같은 결과를 나타냅니다. Results: ----------- 431534 테이블 'products'。 스캔횟수1、논리적 읽기 수1218、물리적 읽기 수 2、선행읽기 수 1220。 실제 테이블의 사.. SQLServer 2006.01.16