Solved

Improve tempdb Performance (SQL Server BPA)

Posted on 2009-07-01
3
571 Views
Last Modified: 2012-05-07
this is bpa recommendation :
 If the previous steps do not significantly reduce the allocation  contention and the contention is on SGAM pages, implement trace flag  -T1118. Under this trace flag, SQL Server allocates full extents to each  database object, thereby eliminating the contention on SGAM pages. Note
 that this trace flag affects every database on the instance of SQL
 Server.

 For information about how to determine whether the allocation contention
 is on SGAM pages, see "Monitoring contention caused by DML operations" in
 Working with tempdb in SQL Server 2005. To address immediate problems,
 use trace flag -T1118; however, we recommend that you consider
 implementing longer-term, scalable, solutions. For example, you might have
 to modify queries to limit the use of table variables, temp tables, or
 cursor

how can we do this , or there is better ways to handle this. if so please though your ideas.

thanks '
0
Comment
Question by:Audi08
3 Comments
 
LVL 42

Accepted Solution

by:
EugeneZ earned 250 total points
Comment Utility
check
Troubleshooting Performance Problems in SQL Server 2005
http://technet.microsoft.com/en-us/library/cc966540.aspx
--
Tempdb Configuration Best Practices in SQL Server
http://www.mssqltips.com/tip.asp?tip=1432
--
Optimizing tempdb Performance
http://msdn.microsoft.com/en-us/library/ms175527(SQL.90).aspx
0
 
LVL 14

Assisted Solution

by:rob_farley
rob_farley earned 250 total points
Comment Utility
At the moment my favourite way of optimising tempdb is to put it on a Solid State Disk. With much faster reads & writes, it helps a lot.

And if the drive fails, remember that tempdb isn't used as a permanent data store anyway. You just restart the service and tempdb gets wiped anyway (but heck - get two in RAID1 and you're basically as safe as you need).

Rob
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now