SQL


Database Design

 


Database Creation Basics Notes for Comp 468 - Database Design: Lecture 1 - 25 August 2003



Upgrading

 

Guide to Upsizing from Access to SQL Server.pdf

 

Tools




SQL Server System Table Map (Downloadable: 582 KB)
How to set up Microsoft SQL 2000 Client Network Utility

Chapter 39 - Tools, Samples, eBooks, and More details the tools
that come with the SQL Server Resource Kit.
Best Practices Analyzer Tool for Microsoft SQL Server 2000 1.0 (3978 KB) - use it to find out if your server settings comply with best practices.



Statistics

 

How SQL Server 7.0 and SQL Server 2000 autostats work

 

SQL Profiler




How To: Use SQL Profiler
Auditing with SQL Profiler
SQL Profiler - Template Trace
Creating and Managing Traces and Templates
Scripting Traces for Performance Monitoring on SQL Server
How to identify SQL Server performance issues, by analyzing Profiler output?



Queries



SQL-92 Query statements
Retrieving and Modifying Data
How To: Optimize SQL Queries

Randomly Sorting Query Results
Optimizing Query Performance: Chapter 14 from Inside Microsoft SQL Server 7.0
Answering a SQL Query Question from a Recruiter Using an integer table to generate a range of dates



Query Analyzer



Graphically Displaying the Execution Plan Using SQL Query Analyzer
HOW TO: Troubleshoot Slow-Running Queries on SQL Server 7.0 or

Later
Reading Execution Plans in SQL Server 2000 (3/27/03: WebCast transcript)




Query Optimizer




Chapter 22: Understanding the Query Optimizer (SAMS Publishing)

Statistics Used by the Query Optimizer in Microsoft SQL Server 2000
Query Recompilation in SQL Server 2000

 

 

Troubleshooting Queries 

 

 

Q243589 INF: Troubleshooting Slow-running Queries Q243588 INF: Troubleshooting Performance of Ad-Hoc Queries


Managing Transactions and Locks

 

Hints




Locking Hints SQL Server 2000 Table Hints



Logs, Table Hints, Architecture, Etc.



Transactions
Distributed Transactions
Concurrency Architecture
Transaction Logs Architecture



Blocking & Locks



sp_lock
Locking Architecture
Concurrency Problems
Q255596 sp_lock2 Returns Additional Data
Q251175 INF: How to Monitor SQL Server 6.5 Blocking
Q251004 INF: How to Monitor SQL Server 7.0 Blocking
Q271509 INF: How to Monitor SQL Server 2000 Blocking
Locking, Blocking, and Deadlocks in SQL Server 2000: Part I
Microsoft SQL Server: Rapid Blocker Script Analysis (WebCast)
INF: Understanding and Resolving SQL Server 7.0 or 2000 Blocking Problems
Q224453 INF: Understanding and Resolving SQL Server 7.0 and 2000 Blocking Problems

Back to Mike Beaver's Hypnotherapy Home Page