Home > Ask the SQL Server Experts > Denny Cherry - Performance Tuning Questions & Answers > Maintain large SQL Server database and resolve website 'Timeout Error'
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Maintain large SQL Server database and resolve website 'Timeout Error'

Denny Cherry EXPERT RESPONSE FROM: Denny Cherry

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 11 March 2008
We have a large database on the "live server" with about 5 GB out of which 1.5 GB space is allocated by transaction log files. Also, our website executes 20,000 to 25,000 insertions daily. Occasionally, the website gives a 'Timeout Error' because this time database process gets locked or blocked. What is the best way to maintain such a large database?

>
EXPERT RESPONSE
There are a few things you should consider. You'll want to look at the queries which are causing the blocking. Usually this will be a SELECT statement which doesn't have the WITH (NOLOCK) option on it, or an UPDATE statement which is running against the database.

You can also look and see how much free space your database has and how often the database is extending the database. If the extend size is too large, this can cause database queries to timeout. With the database file being only 3.5 GB this probably isn't all that likely unless the disk drives are too overloaded. You can check to see if the disk drives are being overloaded by using performance monitor and checking the disk queue, reads per second and writes per second.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
SQL Server performance and tuning
Using full-text search for symbols in SQL Server
Monitor database mirroring and replication after a SQL Server upgrade
How to use the SELECT statement in SQL
Translating information requests into SQL SELECT statements
Using the ORDER BY clause of the SELECT query in SQL
SQL SELECT statement and SELECT query samples
Using DISTINCT in SQL to eliminate duplicate rows
How to configure Database Mail in SQL Server 2005 to send mail
SQL Server stored procedures tutorial: Write, tune and get examples
Virtual database storage for SQL Server: Friend or foe?

SQL Server database design and modeling
Check SQL Server database and log file size with this stored procedure
SQL Server tempdb best practices increase performance
FAQ: SQL Server databases how-to
How to maintain SQL Server indexes for query optimization
How to retrieve SQL Server database disk space in use
How to construct and use SQL OUTER JOINs optimally
How to use the LEFT vs. RIGHT OUTER JOIN in SQL
Using the FULL OUTER JOIN in SQL
SQL OUTER JOIN sample statements for queries
SQL OUTER JOIN sample uses

SQL Server overview
Should you upgrade to SQL Server 2005 or SQL Server 2008?
SQL Server data conversions from date/time values to character types
Using full-text search for symbols in SQL Server
SQL and SQL Server Tutorial and Reference Guide
How to use the SELECT statement in SQL
Translating information requests into SQL SELECT statements
SQL SELECT statement and SELECT query samples
Using the ORDER BY clause of the SELECT query in SQL
Using DISTINCT in SQL to eliminate duplicate rows
Basics for working with DATETIME and SMALLDATETIME in SQL Server 2005
SQL Server overview Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
contiguity  (SearchSQLServer.com)
contiguous  (SearchSQLServer.com)
drilldown  (SearchSQLServer.com)
hashing  (SearchSQLServer.com)
hybrid online analytical processing  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts