Solved

What activity that cause tempdb grow

Posted on 2007-04-04
6
671 Views
Last Modified: 2008-01-09
Hi,
What is the activity causing the tempdb grow?? as I know creating index is one of them
0
Comment
Question by:motioneye
6 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 150 total points
ID: 18849870
-temp tables , table variables
-GROUP BY / ORDER BY operations
- Index creations
- DBCC commands
0
 
LVL 28

Assisted Solution

by:imran_fast
imran_fast earned 150 total points
ID: 18849877
Creating index.
Bulk Insert
Update statement updating huge number of records.
Creation of temparary # tables.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 18849896
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 23

Assisted Solution

by:Racim BOUDJAKDJI
Racim BOUDJAKDJI earned 200 total points
ID: 18849986
<<-temp tables , table variables
-GROUP BY / ORDER BY operations
- Index creations
- DBCC commands >>

You may add to the above
--> Row Versionning
--> Complex calculations

Hope this helps...
0
 

Author Comment

by:motioneye
ID: 18855555
what is that mean by Row Versionning?
0
 
LVL 23

Assisted Solution

by:Racim BOUDJAKDJI
Racim BOUDJAKDJI earned 200 total points
ID: 18856665
<<what is that mean by Row Versionning?>>In SQL 2005, MS has implemented ORACLE's read consistency that allows to make sure that at any time the user gets access the last commited version of the data.  That prevents from having users waiting for an update transaction to be committed before they can actually make a select.  To implement that functionnality, SQL Server now perpetually keeps updated the last commited version of data in tempdb.  As a result, tempdb gets a big hit in terms of IO's because it supports all select's instead of the original tables.  It is one of the factors that may strongly influence the growth of temdb.

Hope this helps...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

758 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

19 Experts available now in Live!

Get 1:1 Help Now