Tag Archive: twitter

Twitter #SQLHelp Hash Tag Dos and Don’ts

If you’d like to get quick SQL Server help, the #SQLHelp hash tag is a fun way to get it.  My original “How to Use the #SQLHelp Hash Tag” post hit a couple of years ago, and it’s time for a followup.  Read that post first, and then come back here for some basic guidelines.

Don’t use #SQLHelp to promote your blog. Congratulations on writing an informative post, and we’re sure it’s got some useful information in it, but the #SQLHelp hash tag is for people who are asking questions.  Unless your blog post was written to answer a question currently live on #SQLHelp, please refrain from tweeting about your blog.

Do answer a #SQLHelp question with a product if that’s the solution. Vendors build products to solve pain points, and sometimes those pain points surface as #SQLHelp questions.  If the answer is a product – whether it’s a free one or a paid one – then feel free to mention it and provide a link.  If you’ve got personal experience with the product, that’s even better.  If you’re a vendor, you might wanna disclose that in your tweet.

Don’t demo #SQLHelp at conferences by saying, “Say hello, #SQLHelp!” Immediately, dozens of users around the world will reply to you, and the #SQLHelp hash tag will become unusable for half an hour or more.  Rather than saying Hello World, ask the audience to give you a question, and then post that question on #SQLHelp.

Do suggest that long discussions move to a Q&A web site. Sometimes questions need a lot more detail than we can get in 140 characters.  If you notice a discussion turning into a long back-and-forth conversation, helpfully suggest that the questioner read my tips on writing a good question and then create a post on whatever site you prefer.

Don’t post jobs to #SQLHelp. Use the #SQLJobs hash tag instead.

Do thank people who give you #SQLHelp. This is a group of volunteers who love to lend a helping hand.  It’s like getting consulting help for free around the clock.  High five ‘em if they helped you get through your day easier.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

Happy One Year Anniversary, #SQLHelp!

One year ago today, #SQLHelp was born. Aaron Nelson (Blog@SQLVariant) had the brilliant idea to set up a hash tag on Twitter that anyone could use whenever they had a question.  I thought it was sheer genius, so I explained how to use #SQLhelp on my blog, and it took off.

These days, I love watching questions – and answers – trickle through #SQLHelp at all hours of the day.  It’s just another example of how the SQL Server community is vibrant, helpful, and everywhere.

If you’re on Twitter, join me in thanking @SQLVariant not just for #SQLHelp, but for everything he does for the SQL Server, PowerShell, and SQLSaturday communities.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

How to Use the #SQLHelp Hash Tag on Twitter

You’ve got questions, we’ve got answers.

No, not Radio Shack – Twitter.  Right now, no matter when you’re reading this, there are people on Twitter who can answer quick questions for you.  Thanks to an excellent idea by Aaron Nelson (Blog@SQLVariant), it’s even easier now.  In this post, I’ll show how to ask questions and how to answer them.

How to Ask #SQLHelp Questions

Sign up for a Twitter account.  You don’t have to follow anyone, but if you want to, I’d suggest following my SQL Server Twitter list instead of individual people.  I’ve got a post on how to use Twitter lists, but in a nutshell, they let you keep in touch with a lot of people who focus on a particular topic.  The cool part is that their tweets don’t clutter up your main Twitter page, which is important because there’s several hundred SQL Server folks on Twitter as of this writing.

When you need help, write a tweet and include #SQLHelp in the tweet, like this:

Asking a #SQLHelp Question

Asking a #SQLHelp Question

If your question involves more than 140 characters, you’ve got a few options:

  • Post a question to StackOverflow if it’s a programming question, to ServerFault if it’s an infrastructure question, or DBA.StackExchange.com if it’s a SQL question.  Tweet the link to your question.
  • Upload screenshots to TwitPic.  It’s a free service that tweets the images you upload.  When you write the description, make sure to include #SQLHelp so that the smart folks see it.
  • Upload files to FileDropper.com and tweet the link to the file.  Remember that anything you upload is public – don’t upload your databases.  It’s a great way to show query execution plans though.

After you click Update to post your question, click on the @YourName link on the right side of your Twitter home page.  For me, it says @BrentO, because that’s my Twitter name.  This page is your replies page – it shows anyone who’s mentioned your name.  Then sit tight – as people reply to you, you’ll see the new tweets on this page.

When you reply back to users, the default Twitter action is to put their @Name at the beginning of the tweet.  Edit the tweet first and put a period and a space before their name, like this:

Public Replies on Twitter

Public Replies on Twitter

This is because if you just start the tweet with @Mike_Walsh, then the only people who will see it are the folks who follow both you and Mike.  If you start the tweet with anything other than an @ sign, then anyone who follows you will see your reply – regardless of whether or not they’re following Mike.

Don’t include the #SQLHelp tag in the reply, either.  That just helps keep the #SQLHelp search cleaner.

When you get your final answer, post it a thank-you back to #SQLHelp, like this:

Got My #SQLHelp Answer

Got My #SQLHelp Answer

That way people know when your question is answered.  If your question hasn’t been answered within an hour, you can repeat it again, but please don’t repeat it in less than an hour.

How to Answer #SQLHelp Questions

Set up a search in your Twitter client for #SQLHelp, or use one of these alternate methods:

As you’re interacting with the questioner, remember that they’re probably new to Twitter, and that you’re probably not the only one working with them.  I open up two web pages – Search.Twitter.com with a search for the questioner’s username (so I can see who’s replying to them) and the questioner’s Twitter page (so I can see everything they respond back).  That way you can keep duplicate interactions to a minimum.

Thanks again to Aaron Nelson (Blog@SQLVariant) for suggesting this!  I think it’s a great way for the community to get even more involved in real time.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

Twitter historical database of my tweeps

In my never-ending attempts to distract you from doing real work, I give you something you have absolutely no use for: a SQL Server database backup with about 100k tweets from people I’ve followed over the last couple of months.

I use Tweet-SQL to cache and analyze a lot of things from Twitter.  This database isn’t the actual one I use, but it’s just an export of a subset of tables:

  • Users – the tweeps.  The “id” field is Twitter’s internal number for you, not my own – comes from their API.  The cached_* and subscription_* fields are my own, not Twitter’s.
  • UsersHistory – whenever I fetch results from the Twitter API and someone’s information has changed, I store the old version of their profile in this table.  Typically, the field that’s changing is their followers_count.  The “id” field is my own identity number, not from Twitter’s API.
  • Statuses – the tweets (and yes, Twitter calls them Statuses).  The “id” field is from Twitter’s API.

Sample Queries

This will give you the most loudmouthed tweeps:

SELECT s.user_id, u.screen_name, COUNT(*) AS tweets
FROM dbo.Statuses s
INNER JOIN dbo.Users u ON s.user_id = u.id
GROUP BY s.user_id, u.screen_name
ORDER BY COUNT(*) DESC

Resulting in:

Top 10 Loudmouths

Top 10 Loudmouths

And this query gives you the hours when people tweet the most (in Central time):

SELECT DATEPART(hh, created_at) AS TweetHour, COUNT(*) AS RECS
FROM dbo.Statuses
GROUP BY DATEPART(hh, created_at)
ORDER BY COUNT(*) DESC

Resulting in:

Lively Times of Day

Lively Times of Day

Things to Know About the Data

There’s some holes in the data when my server bombed or the Twitter API didn’t return data correctly, and unfortunately, a lot of those holes are around the PASS Summit.  I wanted to refetch that data before giving you this database, but I’m running out of time and I’ve got other things on my plate, so I figured I’d just let this loose as is.

The database doesn’t include people with protected tweets, and it only includes things I’d see on my home page.  If someone mentioned me but I’m not following them, you won’t see it in this database export.

You can download the SQL Server database backup and restore it onto a SQL 2005 (or newer) server.  If you find anything interesting in the backup, post it here in the comments.  I’d love to see what you find!  And of course, I’d highly recommend Tweet-SQL – it’s a fun little tool if you’d like to analyze Twitter data like who’s following who, who gets retweeted the most, or what you’re missing when you’re gone.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

My Weekly Bookmarks for October 30th

Here’s my bookmarked links for October 26th through October 30th:

SQL Server Links

#SQLPASS Links

Tech Links

The Junk Drawer

These bookmarks are automatically imported from my bookmarks at Delicious.com. If you’d like to get up-to-the-minute updates on what I’m bookmarking, you can subscribe to my bookmark RSS feed.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

PASS Session Preview: Practical Social Networking for IT People

If you groan when you read the words “social networking,” you’re in the right place.

I’m a practical guy.  If a tool doesn’t help me get my job done better/faster/cheaper, I’m not interested in screwing around with it.  Today, I’m going to explain how some social media tools help me, and why I don’t bother screwing around with others.  Jason Massie (BlogTwitter) and I are going to be talking about variations of this at the PASS Summit in Seattle in a couple of weeks.

Twitter: My Virtual Peer Group

IT people often work in isolation.  Database administrators don’t have other DBAs to use as a sounding board.  BI architects don’t travel in packs either.  The higher up you go on the IT ladder, the less peers you have at a company.

Right now, there are dozens – maybe hundreds – of people with your exact job on Twitter.  If you follow them, you’ll have a virtual peer group available around the clock.  I follow interesting database administrators, architects, and people at Microsoft, and as a result, my Twitter feed is intensely interesting to me.

As a blogger, I like Twitter because my readers can give me fast feedback.  Some people will catch your blog post when it hits Twitter, read it immediately, and ask questions over Twitter.  It’s a fast forum for questions and answers that feels more lively than leaving comments.

If I followed people that I thought were boring, then I’d find Twitter boring.  If you find yourself in that situation, start unfollowing everybody who doesn’t make you smile, and only follow people that really, really, REALLY interest you.  Just because someone follows you doesn’t mean you have to follow them back – at the moment, I’m following around 500 people, but over 2,500 are following me.  I’m sure the other 2,000 people are really interesting, but if I followed them all, Twitter would be a firehose that I could no longer consume.

Ping.fm Broadcasts Stuff Everywhere Else

I have a lot of friends on a lot of different social networks.  Some people prefer Facebook, some like Myspace, some love Twitter.  When I post a status update on Ping.fm, it posts that same update across all of the sites I’m going to describe next.  Ping makes it easy for me to be everywhere at once.

When I start work in the morning, or when I have a significant event that I wanna tell everybody, I’ll post it on Ping.  It’s not a tool to carry on conversations – it’s just for broadcasts.  I highly recommend using the plugin PingPressFM on your WordPress blog: it automatically sends a ping whenever you publish a new blog entry.

Additionally, when I want to post a photo of somewhere I’m visiting (or more often, something I’m eating), I’ll email it from my iPhone to my Ping.fm address.  Ping takes the photo attachment and uploads it to Facebook, Flickr, Twitter, Brightkite, and all the other sites I’m on.  It doesn’t handle video (yet), unfortunately, so for video, I use 12Seconds.  12Seconds does the same thing as Ping, but only for videos.  I can email videos from my iPhone to 12Seconds, which then posts it to Twitter, YouTube, Facebook, etc. (As soon as Ping handles videos, I’ll abandon 12Seconds.)

If it wasn’t for Ping.fm, I wouldn’t bother using most of the rest of these sites, frankly, especially starting with Facebook.

Facebook Helps Me Avoid Friends and Family

Yep, I said it.

Before Facebook, I used my blog to stay in touch with friends and family.  I posted what I was up to, and they read my blog to stay informed.  Now, they’re all on Facebook, so I can just post my status to Facebook (via Ping.fm) and they can keep tabs on me.  Even better, because it’s so easy to just dump notes in there via Ping, I’m able to stay in sync with even more people – high school classmates, college buddies, former coworkers, you name it.

I gotta be honest – I dump content into Facebook, but I almost never go to the site.  I don’t play web games, I don’t tag my friends in personal-top-10-lists, and I don’t care who’s dating who.  I do like Facebook because it’s real-name-based (as opposed to Twitter, MySpace, etc) but I don’t spend much time reading it.  For a while, I tried consuming Facebook news updates via an RSS feed, but even that got too time-consuming.

Yammer Connects Me To New Coworkers

Yammer is just like Twitter except that only people at your company will see your updates.  Account signups are done via email – when you sign up for a Yammer account, you’ll see updates from people at the same domain name as you.  Since I’ve got a Quest.com account, I see other Quest employees.

I use Ping to post my updates to Yammer, and Yammer emails me whenever anybody else posts.  That way, I don’t have to run yet another desktop client or go to yet another web page.  Yay!

Yammer is a chicken-and-egg problem: if you’re the first person at your company on Yammer, you might be posting there for quite a while before you’ve got company.  I think I posted on Yammer for maybe six months before anybody joined me, and now it’s gathering momentum.  The cool part is that I get a window into other parts of the company that I might not ordinarily get the chance to see.  Product managers for other divisions post notes about what they’re up to, and we get to share opinions and ideas on cool technologies.

Flickr Stores My Photos and Videos

Facebook does a decent job of photos, and I like Facebook’s ability to “tag” people in photos.  I can mark several peoples’ faces in a Facebook photo, and they instantly get notified that new pictures of them are online.  However, I don’t like anything else about how Facebook handles photos, so I use Flickr instead.

Flickr makes it easier to organize photos with:

  • Tags – a photo can be tagged with any words or phrases, making it easier to search for photos.  Plus, strangers can tag your photo.
  • Notes – you (or anyone else) can draw boxes on your photo and add notes talking about what’s in that area of the photo.
  • Sets & Collections – I’ve got collections for Travel, Places I’ve Lived, Family, and so on, and then each collection has sets for the city, the family member, and so on.
  • Comments – the fun of photos is the sharing and the discussion.

I email my iPhone photos to Ping.fm, which posts ‘em into Flickr.  When I take photos with my camera, I upload them to Flickr when I get back home, but I’m ordering an EyeFi Geo card.  It’s an SD card with built-in geotagging and WiFi; when you take pictures, the GPS location is added to the photo’s metadata, and then the photo is uploaded via WiFi whenever you’re in range.

As I mentioned in yesterday’s post about spicing blog posts up with images, I also rely on Flickr’s Creative Commons image search.  I try to return the favor by licensing all of my photos with Creative Commons as well.  If somebody wants to use one of my images to illustrate a point, more power to ‘em!

Delicious Stores My Bookmarks

Whenever I add a bookmark in my web browser, the Delicious plugin automatically sends that bookmark to Delicious.com.  It asks me if I want to add a description or any tags for easier discovery later.

I can also see who else added that same bookmark before I did.  People who found that page interesting probably found other things I’d like to read, too, so I can dive into their bookmarks and even sift through them by tag.  It’s an interesting way to meet interesting people who read interesting things.

Other people can subscribe to my bookmark feeds and get instant notifications whenever I add a new bookmark.  It also crossposts to Facebook, so even people who don’t use Delicious can watch what I find helpful.

Social Media Services I’m Not Wild About

A few services out there seem vaguely promising, but not enough for me to devote time to ‘em.  I have profiles on some of these, but I’m not an active user:

  • Blip.fm and Last.fm – music sites that track every single song you listen to.  In real time.  Let’s say I’ve got 500 friends, and maybe 50 of them are listening to music at any given time.  If each of them listens to one song per five minutes, that means I’d be getting notifications like “Joe is listening to Guns & Roses” every six seconds.  This is why I almost always unfollow anybody on Twitter who posts their music tracks – it’s just too much information, and frankly, I don’t care what you’re listening to.
  • BrightKite – BrightKite is location-based social networking.  When you check in at a physical location (a restaurant, a tourist site, an airport) you can see everyone else who’s been there recently.  This can be a neat way to meet people who like the same things you like, but there isn’t a big user base yet.  Even in cities like New York City and Chicago, I often find that I’m the first person to check in at a location or that no one’s checked in there for months.
  • FriendFeed – FriendFeed sucks in all of your activity from all of your sites and puts it in one place.  Then, when people subscribe to you, they don’t have to know what sites you’re active on – they just see all of your activity from everywhere in a ginormous firehose.  When one of my FriendFeed friends adds a bookmark, takes a picture, posts a status update, or picks their nose, I know about it in nearly real time.  TMI.  I keep trying to get into FriendFeed, but it’s an absolute avalanche of information.  Some people go so far as to hook up their Blip.fm feed in FriendFeed, for example.
  • LinkedIn – I think this is a great tool when you need a job, but the rest of the site (user groups, forums, questions, etc) aren’t intuitive for me.  If I want to ask questions, I’ll usually post them at places like ServerFault or StackOverflow.

That’s the state of the union for social media/networking tools as of right now.  The scene changes fast, though, so I’ll revisit this topic every year or so to talk about what’s changed.

Are there any social networking tools you rely on that I didn’t cover here?

More of My Articles & Posts About Social Networking

Here’s a few more posts you might like:

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

My Weekly Bookmarks for October 9th

Here’s my bookmarked links for October 2nd through October 9th:

SQL Server Links

Tech Links

The Junk Drawer

  • I Love That Game – Brilliant criminal minds at work.
  • Twitter Data Analysis: An Investor’s Perspective – A bunch of oddball stats about Twitter users and their histories.
  • Will Work for Whuffie? – Why you have to charge fees for speaking engagements when you hit a certain level of fame. (No, I’m not there yet, hahaha, but even if I was, my speaking engagements are free because I’m a service of Quest Software. No, not that kind of “service,” buddy.)

These bookmarks are automatically imported from my bookmarks at Delicious.com. If you’d like to get up-to-the-minute updates on what I’m bookmarking, you can subscribe to my bookmark RSS feed.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

My Weekly Bookmarks for October 2nd

Here’s my bookmarked links for September 25th through October 2nd:

SQL Server, Cloud, and Tech Links

Writing, Blogging and Networking Links

The Junk Drawer

These bookmarks are automatically imported from my bookmarks at Delicious.com. If you’d like to get up-to-the-minute updates on what I’m bookmarking, you can subscribe to my bookmark RSS feed.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

My Weekly Bookmarks for September 4th

Here’s my bookmarked links for September 1st through September 4th:

Tech Links

The Junk Drawer

These bookmarks are automatically imported from my bookmarks at Delicious.com. If you’d like to get up-to-the-minute updates on what I’m bookmarking, you can subscribe to my bookmark RSS feed.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts

My Weekly Bookmarks for August 28th

Here’s my bookmarked links for August 23rd through August 28th.  I’m using an automatic plugin to build this list, and I can see that this probably isn’t going to work – I just found way too many things interesting in one week, and it doesn’t break stuff out into categories.  Blogger fail.  Here it is anyway as an example of What Not To Do during my Better Blog Week:

These bookmarks are automatically imported from my bookmarks at Delicious.com. If you’d like to get up-to-the-minute updates on what I’m bookmarking, you can subscribe to my bookmark RSS feed.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

Website - Twitter - Facebook - More Posts