MSSQL [스크랩] How to read the SQL Server Database Transaction Log Have you ever wondered how SQL Server logs track transactions and what information SQL Server captures in the transaction log file? In this tip we will take a look at a SQL Server function that you can use to read the transaction log to see what entries are made for database transactions. I will explain how to read your database transaction log file and how transactions are written for your data.. 운영/데이터베이스 2013. 12. 5. 캐쉬된 실행 계획 보기(Investigating the plan cache) 성능의 이슈가 발생해서 캐쉬에 올라간 실행계획을 확인하고 싶습니다. 1. 캐쉬된 실행계획 보기 전체 캐쉬된 실행계획 보기 WITH XMLNAMESPACES(DEFAULT 'http://schemas.microsoft.com/sqlserver/2004/07/showplan'), PLANDMISSINGINDEXES AS( SELECT QUERY_PLAN, CP.USECOUNTS FROM sys.dm_exec_cached_plans CP OUTER APPLY sys.dm_exec_query_plan(CP.PLAN_HANDLE) TP WHERE TP.QUERY_PLAN.exist('//MissingIndex')=1 ) SELECT STMT.value('(//MissingIndex/@Database)[1]','s.. 운영/성능 및 실행계획 2013. 12. 1. 2008 이후 버전에서 제공되는 데이터 압축 성능 테스트 MS SQL 2008 Enterprise Edition에서부터 Data 압축이 지원이 됩니다. Page 압축 후 성능에 대한 확인이 필요하였습니다. 1. 테스트 환경 구성 - MS SQL 버전 : 10.50.1600 - 압축 방식 : PAGE - 테이블 크기 1) 첫번째 테이블 - 2개의 인덱스 모두 압축하지 않음 2) 두번째 테이블 - Non Clustered Index만 압축함. 3) 세번째 테이블 - Clustered Index와 Non Clustered Index를 모두 압축함. - 테이블 정보 - 인덱스 정보 2. 테스트 쿼리 - 조회 테스트 SELECT StoreID, SUM(Qty), SUM(Amt) FROM dbo.Compression_Test_No1 GROUP BY StoreID - No.. 운영/압축 2013. 12. 1. 이전 1 2 3 다음