﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 Administration  / tempdb: only one of several data files is growing on Index-Reorg / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 26 May 2013 03:36:32 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>[quote][b]GilaMonster (1/24/2013)[/b][hr]To be honest, I'm not 100% sure[/quote]Shock, horror.</description><pubDate>Thu, 24 Jan 2013 12:59:21 GMT</pubDate><dc:creator>Sean Pearce</dc:creator></item><item><title>RE: tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>[quote][b]GilaMonster (1/24/2013)[/b][hr]it's the snapshot isolation and the row version store.[/quote]I'm not familiar with this term but I'll try to learn a bit more about it and why it affects our tempdb that way.Thank you :-)</description><pubDate>Thu, 24 Jan 2013 07:32:33 GMT</pubDate><dc:creator>WolfgangE</dc:creator></item><item><title>RE: tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>Right, so the TempDB usage is not due to the reorg using TempDB, it's the snapshot isolation and the row version store.To be honest, I'm not 100% sure how the row version store interacts with multiple files.</description><pubDate>Thu, 24 Jan 2013 07:17:58 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>Thank's for the answers and the link. I'll go trough it in detail.Yes, we have snapshot isolation set to on. I can see that during reorganisaton of our largest table the disk space of the tempdb disk is reduced dramatically (it's just because our monitoring sends a warning).</description><pubDate>Thu, 24 Jan 2013 07:05:45 GMT</pubDate><dc:creator>WolfgangE</dc:creator></item><item><title>RE: tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>[quote]Our tempdb-database is configured having 8 data files. As Microsoft recommends we have one data file for each core, all having same file size and grow rate.[/quote]They also recommend sizing the tempdb files accordingly (for you anticipated usage) and disabling the autogrowth.   Please read through the link Gail has posted.</description><pubDate>Thu, 24 Jan 2013 06:45:33 GMT</pubDate><dc:creator>MyDoggieJessie</dc:creator></item><item><title>RE: tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>[quote][b]WolfgangE (1/24/2013)[/b][hr]Our tempdb-database is configured having 8 data files. As Microsoft recommends we have one data file for each core, all having same file size and grow rate.[/quote][url]http://www.sqlskills.com/BLOGS/PAUL/post/A-SQL-Server-DBA-myth-a-day-%281230%29-tempdb-should-always-have-one-data-file-per-processor-core.aspx[/url][quote]When we start index reorganisation (NOT rebuild!) on a very big table the tempdb grows (of course).[/quote]Why 'of course'? Index reorgs shouldn't hit tempDB heavily, if at all, unless you have one of the snapshot isolation levels in use. Index reorgs use a single spare page in the user database to do the reorganisation. It's the index rebuilds (with sort in tempDB or online on) that hit TempDB hard.</description><pubDate>Thu, 24 Jan 2013 05:53:17 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>tempdb: only one of several data files is growing on Index-Reorg</title><link>http://www.sqlservercentral.com/Forums/Topic1411088-1550-1.aspx</link><description>Hello there,I'd like to understand a special behaviour.Our tempdb-database is configured having 8 data files. As Microsoft recommends we have one data file for each core, all having same file size and grow rate.When we start index reorganisation (NOT rebuild!) on a very big table the tempdb grows (of course).I wonder why only 1 of the data files is growing. One might think that all the data files would grow at the same time, maybe approxemately by the same size.Does anyone have an explanation for this behaviour?I personally think that the reorg-process uses only one processor and so the tempdb-file assoziated with this processor at excution time will grow whereas the other files remain in their size.By the way: If so, is there a possibility using more than one core for the reorg-process? I think it would be faster than. But the maxdop-option is only available for index-rebuild.Thank's a lot, Wolf</description><pubDate>Thu, 24 Jan 2013 05:47:01 GMT</pubDate><dc:creator>WolfgangE</dc:creator></item></channel></rss>