• Skip to main content
  • Skip to primary sidebar

DBA Diaries

Thoughts and experiences of a DBA working with SQL Server and MySQL

tempdb

SQL Server 2016 New Features – Multiple TempDB Files Configured at Server Install

June 12, 2016 by Andy Hayes Leave a Comment

New Feature of SQL Server 2016 configure multiple tempdb files

Configuring multiple tempdb files is not a new feature in SQL Server and has been a best practice for sometime to help ease and prevent tempdb contention which helps to increase the scalability of your SQL Server installation. Before SQL Server 2016, this was a task which needed to be carried out after the installation but one of the new features of SQL Server 2016 is the … [Read more...] about SQL Server 2016 New Features – Multiple TempDB Files Configured at Server Install

How to shrink tempdb

December 27, 2011 by Andy Hayes 15 Comments

There may come a time when you might want to shrink tempdb because it has become too large. There are a few ways you can do this and I have listed them below but please read to the end of the post before making a decision on which way you want to approach this. There is an important note at the end of the post. So first, we'll look at the configuration on my … [Read more...] about How to shrink tempdb

SQL Server TempDb – what’s it for?

December 13, 2011 by Andy Hayes 3 Comments

sql server tempdb

SQL Server TempDB is a system database, automatically created when you install SQL Server. So what is it used for? Well a few things actually but first I have to tell you that Microsoft didn't name tempdb because they couldn't think of a suitable name. It is a temporary database which is re-created every time the SQL Server service is started and at a higher level, it … [Read more...] about SQL Server TempDb – what’s it for?

TempDB best practices

November 30, 2011 by Andy Hayes 9 Comments

Continuing on from my post describing what SQL Server TempDB is used for, I wanted to write about tempdb best practices and how on a busy system, modifications to the default setup of tempdb and its placement can boost performance. How to optimize tempdb Place tempdb on a separate disk to user databases. See my post on how to move tempdb. Place tempdb on the fastest … [Read more...] about TempDB best practices

How to move tempdb

November 29, 2011 by Andy Hayes 2 Comments

how to move tempdb

How to move tempdb ? So in this post, I show you what is involved to do this and what you shouldn't try and do. This is how to move tempdb You will need to run run some T-SQL and restart the sql server service to complete the operation. The logical file name values will need to be obtained and there are a couple of ways to do that. You can either view the logical file … [Read more...] about How to move tempdb

Primary Sidebar

Categories

  • All Articles (82)
  • Career Development (8)
  • MySQL Administration (18)
  • MySQL Performance (2)
  • SQL Server Administration (24)
  • SQL Server News (3)
  • SQL Server Performance (14)
  • SQL Server Security (3)
  • SQL Tips and Tricks (19)

Top 10 Popular Posts

  • Using sp_change_users_login to fix SQL Server orphaned users
  • MySQL SHOW USERS? – How to List All MySQL Users and Privileges
  • How to shrink tempdb
  • How to Transfer Logins to Another SQL Server or Instance
  • How to Delete Millions of Rows using T-SQL with Reduced Impact
  • T-SQL – How to Select Top N Rows for Each Group Using ROW_NUMBER()
  • New T-SQL features in SQL Server 2012 – OFFSET and FETCH
  • How to Kill All MySQL Processes For a Specific User
  • Using exec sp_who2 to help with SQL Server troubleshooting
  • How to move tempdb

Recent Posts

  • How to Setup MySQL Master Master Replication
  • How To Use SQL to Convert a STRING to an INT
  • How to set up MySQL Replication Tutorial
  • How to Use SQL CASE for Conditional Logic in Your SQL Queries
  • Using ISNULL in SQL Server to Replace NULL Values

Search

Connect

  • Twitter
  • Facebook
  • Google+
  • RSS

About

  • Cookie Policy
  • Disclaimer
  • About
Copyright ©