Upgrade
- SQL Server 2012 Service Pack 1 Cumulative Update #1 is available!
- KB article: KB #2765331
- Build # is 11.0.3321
- I count a whopping 44 fixes!
SQL
- SSIS Junkie
- Handling Backups for Rapid Resilience
http://www.simple-talk.com/sql/database-administration/handling-backups-for-rapid-resilience/
- The Benefits of Indexing Foreign Keys
http://www.sqlperformance.com/2012/11/t-sql-queries/benefits-indexing-foreign-keys - Restoring a SQL Server 2005 Full-Text Catalog to SQL Server 2012
http://mssqlfun.com/2012/11/19/restoring-a-sql-server-2005-full-text-catalog-to-sql-server-2012/
- Has tempdb grown since the last restart?
http://www.sqlservercentral.com/articles/Administration/94128/Tempdb size를 결정하는 요소는 tempdb size와 model db size에 의해 결정되는데 두 개의 DB size에 따라 큰 size로 tempdb size가 결정된다
Default Trace log는 자동 증가 이벤트 로그 확인 링크
- Performance Tuning Re-indexing and Update Statistics – A Case Study
http://www.sql-server-performance.com/2012/performance-tuning-re-indexing-update-statistics/
기본 Re-Indexing 동작은 DBCC DBREINDEX 명령어 입니다. 이 명령어는 DB에 대해서 전체 수행하는 것이며, 테이블에 있는 인덱스를 삭제 후 생성하는 동작입니다. 이 동작은 많은 리소스와 시간이 필요합니다. MS에서 추천하는 방식은 fragmentation level이 30% 이내라면 Re-Organize를 수행하고, 이상이면 Re-Building을 수행하는 것입니다.
Re-build : 존재하는 인덱스를 삭제 후 생성하는 동작
Re-organize : index의 leaf node 수준의 페이지를 논리적 순서로 다시 정렬하는 동작..
- SQL Server T-SQL Tuning – Temp Tables, Table Variables and Union
Temp table, temp table 변수 사용함에 따라 i/o subsystemp resource 결함 증가 및 CPU 사용률 증가에 따라 대안을 제시. CTE, SubQuery, Phisical Table, Table Parameters(SQL 2008+)
- How to Identify and Backup the Latest SQL Server Database in a Series
- SQL SERVER – Using RAND() in User Defined Functions (UDF)
http://blog.sqlauthority.com/2012/11/20/sql-server-using-rand-in-user-defined-functions-udf/
비결정적인 함수 rand()를 UDF를 사용해서 쓰는 법입니다.
Cloud
- Long Term Backup Storage With Amazon Glacier
http://www.brentozar.com/archive/2012/11/long-term-backup-storage-with-amazon-glacier/
'SQLTAG Daily Links' 카테고리의 다른 글
2012.11.23 (0) | 2012.11.23 |
---|---|
2012.11.22 (0) | 2012.11.22 |
2012.11.20 (0) | 2012.11.20 |
2012.11.19 (0) | 2012.11.19 |
2012.11.16 (0) | 2012.11.16 |