Home » Community »sql server »sqlserverpedia-syndication »SSC »Tech and Learning »Tips » Currently Reading:

Invitation to T-SQL Tuesday #040: File and Filegroup Wisdom

Hello and welcome to the third T-SQL Tuesday of 2013!

Over three years ago, Adam Machanic (Twitter) dreamed up the idea of T-SQL Tuesday:

Each month a blog will host the party, and about a week before the second Tuesday of the month a theme will be posted. Any blogger that wishes to participate is invited to write a post on the chosen topic. The event is called “T-SQL Tuesday”, but any post that is related to both SQL Server and the theme is fair game. So feel free to post about SSIS, SSRS, Java integration, or whatever other technologies you’re working with in conjunction with SQL Server. Even if your post includes no T-SQL we still want to see it.

A lot of you know that I’m a big fan of the basics, especially those basics that are grossly misunderstood or overlooked. So for this month’s T-SQL Tuesday, we’re talking about


Hold on! I already hear some of you shouting, “Boooooring!!!”  You don’t have to write a file and filegroup primer, if you don’t want to. Get creative, get tangential! Some of my suggestions:

  • Maybe you’d like to talk about partitioning indexes or tables across filegroups
  • Or performance benefits (still!) of assigning tables to specific drives, via filegroups
  • Or FILESTREAM, specifically (hey, that’s something that requires a specialized filegroup!)
  • Or some horrible misuse of filegroups you’ve seen once  (we always love a SQL horror story)
  • Or, if you have a mind, a file and filegroup backup/restore primer! (Why not? I’m not the only one who loves basics.)
So talk to us, tell us all of your file and filegroup lore!

How to Play

  1. Window of opportunity: Your post must go live between 00:00:00 GMT on Tuesday the 12th of March and 00:00:00 GMT on Wednesday the 13th.
  2. Show some love: Your blog post has to link back to the hosting blog, and the link must be anchored from the logo (the blue one shown here, not the stick figure “YAY!” one) which must also appear at the top of the post.
  3. Check your work: If trackbacks won’t work properly then please leave a comment below so that your post is accounted for in the roundup.

Bonus points!

Bonus points are like brownie points – there’s no way to redeem them, but you feel good about it anyway. Earn some by using these brilliant suggestions:

  1. Advertise! Include a reference to T-SQL Tuesday in the title of your post.
  2. Tweet! Use the hash tag #TSQL2sDay to follow links and other relevant conversations.
  3. Host! Consider hosting T-SQL Tuesday yourself. If you’re interested let Adam Machanic Know. If you’ve participated in two T-SQL Tuesdays previously and you keep up your blog (blog monthly for the last six months) then he’ll put you in the rotation.

Currently there are "24 comments" on this Article:

  1. SqlChow says:

    Blogged about FILESTREAM (quick introduction) here ‘http://sqlchow.wordpress.com/2013/03/06/t-sql-tuesday-040-file-and-filegroup-wisdom-quick-introduction-to-filestream/’ for T-SQL Tuesday #40.

  2. [...] start with some basics and then jump in a bit deeper, for this post to go with the 40th T-SQL Tuesday, hosted this month by Jen [...]

  3. [...] data professionals on a pre-determined topic.  This month, for TSQL Tuesday #40, the topic is on Files and Filegroups.  The host du mois is Jen McCown [...]

  4. Good to see the trackback worked.

  5. [...] to motivate bloggers and readers to share ideas around a topic. This month’s even is hosted by Jen McCown / MidnightDBA. An awesome idea, as [...]

  6. [...] of the series, I am combining a post on performing piecemeal restores with a post on filegroups for T-SQL Tuesday #40 and a post on [...]

  7. Thanks for hosting Jennifer! My article has been posted. T-SQL Tuesday #40 – Proportional Fill within a Filegroup http://goo.gl/aM4NS

  8. [...] with zero comments It’s once again the second Tuesday of the month, meaning it’s T-SQL Tuesday! This month’s topic comes to us from Jen McCown (blog | @JenniferMcCown). Jen is asking us to [...]

  9. [...] It’s once again the second Tuesday of the month, meaning it’s T-SQL Tuesday! This month’s topic comes to us from Jen McCown (blog | @JenniferMcCown). Jen is asking us to [...]

  10. [...] Now that we have what the party is all about let’s get into what this month’s party is centered around Filegroups and his hosted by Jen McCown / MidnightDBA [...]

  11. [...] Now that we have what the party is all about let’s get into what this month’s party is centered around Filegroups and his hosted by Jen McCown / MidnightDBA [...]

  12. [...] time fore another TSQL Tuesday.  This was a hard theme for me to come up with a topic for.  Midnight DBA is hosting this month and the theme is File and Filegroup Wisdom.  The first thing I could think [...]

  13. [...] month’s T-SQL Tuesday is hosted by Jen McCown, and the topic is filegroups.  I chose to write about one way to find out [...]

  14. SqlChow says:

    Hi Jen,
    I did jump the gun and put out my blog post a week early. But, I have seen taken it off and put it back on today. Here is the correct link: http://sqlchow.wordpress.com/2013/03/13/t-sql-tuesday-040-file-and-filegroup-wisdom-quick-introduction-to-filestream/

    Thanks for hosting.

  15. [...] where the participants write on a particular theme. This month Jen McCown, of Midnight DBA fame, invites us to talk about files and filegroups in SQL [...]

  16. [...] et al Jen’s #Awesomesauce BlogTwitter Talk Theatre, Episode 1: “RAID is good enough!”Invitation to T-SQL Tuesday #040: File and Filegroup WisdomFileTable: SQL Server 2012′s little gasp-makerWe’re Live on the PowerScripting Podcast! [...]

  17. Je poste ce com afin de congratuler son auteur

  18. C’est du bonheur de parcourir votre site

  19. […] once again the second Tuesday of the month, meaning it’s T-SQL Tuesday! This month’s topic comes to us from Jen McCown (blog | @JenniferMcCown). Jen is asking us to […]

Comment on this Article:

Release Date: Minion by MidnightDBA

Just 13 hours 53 minutes 20 seconds until we release Minion Redindex: index maintenance done right!

MidnightSQL Consulting

Need help? Got an emergency? Write us at Support@MidnightDBA.com!

We can schedule time to help with your backup/restore issues, high availability and disaster recovery setup, performance problems, and a great deal more. Very often, we're even available on the moment for downtime issues and emergencies.

For more information about MidnightSQL consulting, email us or check out www.MidnightSQL.com. Happy days!

Where are We?

November 3-7: PASS Summit, Seattle, WA

PASS Summit: Jen is presenting How to Interview a DBA: A Panel Debate on Thursday 11/6 1:30pm, room 401 (along with Adam Machanic, Sean McCown, Bob Pusateri, and Michelle Ufford).

PASS Summit: Sean is presenting Performance Tuning Your Backups on Wednesday 11/5 3:00pm, room 602-604.

December 11: Presenting "Powershell Cmdlets.." at Alaska SQL Server User Group

January 30: "Become an Enterprise DBA" precon at Austin SQL Saturday

Blog Posts by Category


How to Eat Pop-tarts
Watch DBAs@Midnight live on Fridays,m 11pm Central time

The best database career advice you’ve never heard!


The DBA Roadmap Seminar is 7 MP3 tracks (over 5 hours!) of insider guidance on your database career. We'll teach you how and what to study as a DBA, weigh in on controversial resume debates, teach you to recognize a worthy recruiter, and discuss the new professionalism of interviews. Also some bonus materials, PDF companion guides, and really spiffy intro music!

Once your $99 PayPal payment is submitted, you'll get the download link in e-mail! (Download is a 370Mb ZIP file.)

Become a DBA. Become a BETTER DBA. Use the Roadmap.

Visit www.DBARoadmap.com for info, forums, and more!

Add to Cart View Cart

Cunningham’s Law

"The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer."
Relevant: http://xkcd.com/386/