יום חמישי, 5 בפברואר 2009

Microsoft SQL Server 2008 Books Online (January 2009)

SQL Server 2008, the latest release of Microsoft SQL Server, provides a comprehensive data platform. Books Online is the primary documentation for SQL Server 2008. Books Online includes the following types of information:
Setup and upgrade instructions.
Information about new features and backward compatibility.
Conceptual descriptions of the technologies and features in SQL Server 2008.
Procedural topics describing how to use the various features in SQL Server 2008.
Tutorials that guide you through common tasks.
Reference documentation for the graphical tools, command prompt utilities, programming languages, and application programming interfaces (APIs) that are supported by SQL Server 2008.
Descriptions of the sample databases and applications that are available with SQL Server 2008. You can download the sample databases from the SQL Server Community Projects and Samples page on CodePlex.

יום שלישי, 3 בפברואר 2009

SQL Server 2008 System Views Map

מייקרוסופט שיחררה SQL Server 2008 System Views Map:

The Microsoft SQL Server 2008 System Views Map shows the key system views included in SQL Server 2008, and the relationships between them. The map is similar to the Microsoft SQL Server 2005 version and includes updates for the new and updated the Microsoft SQL Server 2008 features such as resource governor, extended events, full-text search, and others.

http://www.microsoft.com/downloads/details.aspx?FamilyID=531c53e7-8a2a-4375-8f2f-5d799aa67b5c&displaylang=en#filelist

יום חמישי, 29 בינואר 2009

DMV’s to Clustered SQL Server

כידוע אחד מהיכולות החדשות של פלטפורמת MSSQL 2005 ו- 2008 הינו ה- DMV - Dynamic management views.
מטרות ה- DMV הינם לעזור לנו מנהלי בסיסי הנתונים לנטר את שרתי בסיסי הנתונים , לזהות בעיות וצווארי בקבוק.

הפעם ברצוני לספר על ה – DMV אשר מציגות מידע בנוגע לשרתי sql server המבוססים על פלטפורמת windows cluster :

sys.dm_os_cluster_nodes
השאילתא הבאה מציגה את רשימת השרתים אשר ה- sql server חבר בהם בתצורת ה- cluster .
לדוגמא:SELECT * FROM sys.dm_os_cluster_nodes
This is the result set:
NodeName
--------
SS3-CLUSN1
SS3-CLUSN2

sys.dm_io_cluster_shared_drives
השאילתא הבאה מציגה פר node אילו דיסקים משויכים אליו כ- resource .
לדוגמא:
SELECT DriveName FROM sys.dm_io_cluster_shared_drives ORDER BY DriveName
Node1 Results
Node2 Results


לפרטים נוספים בנוגע ל- DMV:
http://msdn.microsoft.com/en-us/library/ms188754.aspx

יום ראשון, 4 בינואר 2009

Management Studio 2008 suggests missing indexes

כידוע אחד מהיכולות החדשות שהיו ב- SQL 2005 הינה ה- dynamic management objects .
אחת מהן הייתה sys.dm_db_missing_index_details אשר מציגה המלצות בנוגע לאינדקסים חסרים אשר יש ליצור בבסיס הנתונים ע"פ הסטטיסטיקות שנאספו עד כה.

ב- SQL 2008 לקחו צעד אחד קדימה את נתוני מנגנון ה- missing indexes וכעת ניתן לראות את המידע כחלק אינטגראלי מה- Actual Execution Plan ב- SSMS 2008 .

לדוגמא:




כאשר מריצים את השאילתא הבאה עם אופציית Actual Execution Plan.
ניתן לראות את נתוני ה- missing indexes בקצה העליון.




About the Missing Indexes Feature:
http://msdn.microsoft.com/en-us/library/ms345524.aspx

בהצלחה!

יום שלישי, 16 בדצמבר 2008

SQL Server 2005 SP3 now available for download

SQL Server 2005 SP3 is now available for download and includes the following updates:


Roll-up of Quick Fix Engineering (QFE) updates completed since SQL Server 2005 SP2, as well as fixes to critical issues reported through the SQL Server community. Per revised servicing strategy for SQL Server releases, SP3 does not introduce major new features.
Feature Pack for SQL Server 2005 SP3 has been refreshed along with this release.
SP3 can be used to upgrade from any previous instance of SQL Server 2005
For customers who will be upgrading from SQL Server 2005 SP2 CU#10 or SP2 CU#11, you will have to install the latest CU on SP3 after upgrading to SP3 release to get all the fixes.
SP3 applies to:


SQL Server 2005 Enterprise Edition
SQL Server 2005 Enterprise Evaluation Edition
SQL Server 2005 Standard Edition
SQL Server 2005 Workgroup Edition
SQL Server 2005 Developer Edition


Additional Resources
Download SQL Server 2005 SP3
Download SQL Server 2005 Express SP3
Download SQL Server 2005 Feature Pack Refresh – December 2008
Latest Books On-Line Update