What activity that cause tempdb grow

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

Accepted Solution

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

Assisted Solution

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

Expert Comment

by:Aneesh Retnakaran
ID: 18849896
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.

LVL 23

Assisted Solution

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...

Author Comment

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

Assisted Solution

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...

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

910 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