Kategorie: "SQL Server"

Pro ASP.NET for SQL Server: High Performance Data Access for Web Developers

Posted on Sep 20, 2008 von in SQL Server

Das Buch erläutert anhand zahlreicher Beispiele rund um eine fiktive Website den effektiven Datenzugriff auf SQL Server von ASP.NET aus. Es füllt damit eine Lücke zwischen der reinen ASP.NET Literatur auf der einen Seite und SQL Server-fokussierter Literatur auf der anderen Seite und ist interessant für beide Fraktionen.

Pro ASP.NET for SQL Server: High Performance Data Access for Web Developers
Brennan Stehling
2007, Apress
408 Seiten
59,99$
ISBN-10: 1590598601

Query Fingerprints and Plan Fingerprints (The Best SQL 2008 Feature That You've Never Heard Of)

Posted on Sep 4, 2008 von in SQL Server
http://blogs.msdn.com/bartd/archive/2008/09/03/Query-Fingerprints-and-Plan-Fingerprints_3A00_-The-Best-New-SQL-2008-Feature-You_2700_ve-Never-Heard-Of.aspx

Best Practices for Semantic Data Modeling for Performance and Scalability

Posted on Sep 4, 2008 von in SQL Server
http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/BPSemanticDBModeling.docx

Indexfragmentierung anzeigen

Posted on Sep 1, 2008 von in SQL Server
SELECT 
DB_NAME(IXStats.database_id) AS DatabaseName,
OBJECT_NAME (IXStats.[object_id]) AS TabellenName,
SIX.[Name] AS IndexName,
IXStats.avg_fragmentation_in_percent,
IXStats.index_type_desc
FROM
sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL, NULL, NULL) IXStats
JOIN
sys.indexes SIX ON IXStats.[object_id] = SIX.[object_id] AND IXStats.index_id = SIX.index_id
WHERE
IXStats.database_id = DB_ID()
ORDER BY
IXStats.avg_fragmentation_in_percent DESC

TechEd Demo: Creating, detaching, re-attaching, and fixing a suspect database

Posted on Sep 1, 2008 von in SQL Server
http://www.sqlskills.com/blogs/paul/2008/08/29/TechEdDemoCreatingDetachingReattachingAndFixingASuspectDatabase.aspx

Plan Reuse abfragen

Posted on Aug 29, 2008 von in SQL Server
DECLARE @string varchar(500)
SELECT
@string = '%SomeString%'
SELECT
SCP.usecounts, SCP.cacheobjtype, SCP.objtype,
[Statement].text,
Executionplan.query_plan
FROM
sys.dm_exec_cached_plans SCP
OUTER APPLY sys.dm_exec_sql_text(plan_handle) [Statement]
OUTER APPLY sys.dm_exec_query_plan(plan_handle) Executionplan
WHERE
Statement.[text] LIKE @string AND
SCP.cacheobjtype ='Compiled Plan' AND
SCP.objtype = 'proc'

Where the Heck is DMO?

Posted on Aug 29, 2008 von in SQL Server
http://blogs.msdn.com/dtjones/archive/2008/08/28/where-the-heck-is-dmo.aspx

Should Microsoft provide a transaction log reader tool?

Posted on Aug 26, 2008 von in SQL Server
http://www.sqlskills.com/blogs/paul/2008/08/26/ShouldMicrosoftProvideATransactionLogReaderTool.aspx