<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brent Ozar PLFtwitter | Brent Ozar PLF</title>
	<atom:link href="http://www.brentozar.com/archive/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brentozar.com</link>
	<description>Your technology pain-relief experts.</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:15:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Twitter #SQLHelp Hash Tag Dos and Don&#8217;ts</title>
		<link>http://www.brentozar.com/archive/2011/05/twitter-sqlhelp-hash-tag-dos-donts/</link>
		<comments>http://www.brentozar.com/archive/2011/05/twitter-sqlhelp-hash-tag-dos-donts/#comments</comments>
		<pubDate>Thu, 12 May 2011 21:16:50 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[#sqlhelp]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=10655</guid>
		<description><![CDATA[If you&#8217;d like to get quick SQL Server help, the #SQLHelp hash tag is a fun way to get it.  My original &#8220;How to Use the #SQLHelp Hash Tag&#8221; post hit a couple of years ago, and it&#8217;s time for a followup.  Read that post first, and then come back here for some basic guidelines....<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;d like to get quick SQL Server help, the #SQLHelp hash tag is a fun way to get it.  My original <a href="http://www.brentozar.com/archive/2009/12/i-need-sqlhelp/">&#8220;How to Use the #SQLHelp Hash Tag&#8221;</a> post hit a couple of years ago, and it&#8217;s time for a followup.  Read that post first, and then come back here for some basic guidelines.</p>
<p><strong>Don&#8217;t use #SQLHelp to promote your blog.</strong> Congratulations on writing an informative post, and we&#8217;re sure it&#8217;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.</p>
<p><strong>Do answer a #SQLHelp question with a product if that&#8217;s the solution.</strong> Vendors build products to solve pain points, and sometimes those pain points surface as #SQLHelp questions.  If the answer is a product &#8211; whether it&#8217;s a free one or a paid one &#8211; then feel free to mention it and provide a link.  If you&#8217;ve got personal experience with the product, that&#8217;s even better.  If you&#8217;re a vendor, you might wanna disclose that in your tweet.</p>
<p><strong>Don&#8217;t demo #SQLHelp at conferences by saying, &#8220;Say hello, #SQLHelp!&#8221;</strong> 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.</p>
<p><strong>Do suggest that long discussions move to a Q&amp;A web site.</strong> 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 <a href="http://www.brentozar.com/archive/2009/03/getting-help-with-a-slow-query/">read my tips on writing a good question</a> and then create a post on whatever site you prefer.</p>
<ul>
<li><a href="http://stackoverflow.com">StackOverflow.com</a> for T-SQL programming questions</li>
<li><a href="http://serverfault.com">ServerFault.com</a> for systems administration questions</li>
<li><a href="http://dba.stackexchange.com/">DBA.StackExchange.com</a> for DBA-specific questions that might need cross-platform expertise</li>
<li><a href="http://www.sqlservercentral.com/">SQLServerCentral.com</a> for general SQL Server stuff</li>
</ul>
<p><strong>Don&#8217;t post jobs to #SQLHelp.</strong> Use the <a href="http://search.twitter.com/search?q=%23sqljobs">#SQLJobs</a> hash tag instead.</p>
<p><strong>Do thank people who give you #SQLHelp.</strong> This is a group of volunteers who love to lend a helping hand.  It&#8217;s like getting consulting help for free around the clock.  High five &#8216;em if they helped you get through your day easier.</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>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.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2011/05/twitter-sqlhelp-hash-tag-dos-donts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Happy One Year Anniversary, #SQLHelp!</title>
		<link>http://www.brentozar.com/archive/2010/12/happy-one-year-anniversary-sqlhelp/</link>
		<comments>http://www.brentozar.com/archive/2010/12/happy-one-year-anniversary-sqlhelp/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 15:45:29 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[#sqlhelp]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=9383</guid>
		<description><![CDATA[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,...<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>One year ago today, #SQLHelp was born. Aaron Nelson (<a href="http://sqlvariant.com/wordpress/">Blog</a> – <a href="http://twitter.com/sqlvariant">@SQLVariant</a>) 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 <a href="http://www.brentozar.com/archive/2009/12/i-need-sqlhelp/">how to use #SQLhelp</a> on my blog, and it took off.</p>
<p>These days, I love watching questions &#8211; and answers &#8211; trickle through #SQLHelp at all hours of the day.  It&#8217;s just another example of how the SQL Server community is vibrant, helpful, and everywhere.</p>
<p>If you&#8217;re on Twitter, join me in thanking <a href="http://twitter.com/sqlvariant">@SQLVariant</a> not just for <a href="http://tweetchat.com/room/sqlhelp">#SQLHelp</a>, but for everything he does for the SQL Server, PowerShell, and SQLSaturday communities.</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>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.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2010/12/happy-one-year-anniversary-sqlhelp/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How to Use the #SQLHelp Hash Tag on Twitter</title>
		<link>http://www.brentozar.com/archive/2009/12/i-need-sqlhelp/</link>
		<comments>http://www.brentozar.com/archive/2009/12/i-need-sqlhelp/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 14:16:06 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[#sqlhelp]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=6352</guid>
		<description><![CDATA[You&#8217;ve got questions, we&#8217;ve got answers. No, not Radio Shack &#8211; Twitter.  Right now, no matter when you&#8217;re reading this, there are people on Twitter who can answer quick questions for you.  Thanks to an excellent idea by Aaron Nelson (Blog &#8211; @SQLVariant), it&#8217;s even easier now.  In this post, I&#8217;ll show how to ask...<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve got questions, we&#8217;ve got answers.</p>
<p>No, not Radio Shack &#8211; <a href="http://twitter.com">Twitter</a>.  Right now, no matter when you&#8217;re reading this, there are people on Twitter who can answer quick questions for you.  Thanks to an excellent idea by Aaron Nelson (<a href="http://sqlvariant.com/wordpress/">Blog</a> &#8211; <a href="http://twitter.com/sqlvariant">@SQLVariant</a>), it&#8217;s even easier now.  In this post, I&#8217;ll show how to ask questions and how to answer them.</p>
<h3>How to Ask #SQLHelp Questions</h3>
<p>Sign up for a <a href="http://twitter.com">Twitter</a> account.  You don&#8217;t have to follow anyone, but if you want to, I&#8217;d suggest following <a href="http://twitter.com/BrentO/sql-server">my SQL Server Twitter list</a> instead of individual people.  I&#8217;ve got a <a href="http://www.brentozar.com/archive/2009/10/how-to-use-twitter-lists/">post on how to use Twitter lists</a>, 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&#8217;t clutter up your main Twitter page, which is important because there&#8217;s several hundred SQL Server folks on Twitter as of this writing.</p>
<p>When you need help, write a tweet and include #SQLHelp in the tweet, like this:</p>
<div id="attachment_6353" class="wp-caption alignnone" style="width: 561px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center;"><img class="size-full wp-image-6353" title="sqlhelp" src="http://cached.brentozar.com/wp-content/uploads/2009/12/sqlhelp.png" alt="Asking a #SQLHelp Question" width="551" height="194" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Asking a #SQLHelp Question</p></div>
<p>If your question involves more than 140 characters, you&#8217;ve got a few options:</p>
<ul>
<li>Post a question to <a href="http://stackoverflow.com">StackOverflow</a> if it&#8217;s a programming question, to <a href="http://serverfault.com">ServerFault</a> if it&#8217;s an infrastructure question, or <a title="Brent Ozar PLF Adds Another MCM" href="http://dba.stackexchange.com/">DBA.StackExchange.com</a> if it&#8217;s a SQL question.  Tweet the link to your question.</li>
<li>Upload screenshots to <a href="http://twitpic.com/">TwitPic</a>.  It&#8217;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.</li>
<li>Upload files to <a href="http://www.filedropper.com/">FileDropper.com</a> and tweet the link to the file.  Remember that anything you upload is public &#8211; don&#8217;t upload your databases.  It&#8217;s a great way to show query execution plans though.</li>
</ul>
<p>After you click Update to post your question, click on the <a href="http://twitter.com/#replies">@YourName link</a> on the right side of your Twitter home page.  For me, it says @BrentO, because that&#8217;s my Twitter name.  This page is your replies page &#8211; it shows anyone who&#8217;s mentioned your name.  Then sit tight &#8211; as people reply to you, you&#8217;ll see the new tweets on this page.</p>
<p>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:</p>
<div id="attachment_6354" class="wp-caption alignnone" style="width: 561px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center;"><img class="size-full wp-image-6354" title="twitter-reply" src="http://cached.brentozar.com/wp-content/uploads/2009/12/twitter-reply.png" alt="Public Replies on Twitter" width="551" height="193" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Public Replies on Twitter</p></div>
<p>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 &#8211; regardless of whether or not they&#8217;re following Mike.</p>
<p>Don&#8217;t include the #SQLHelp tag in the reply, either.  That just helps keep the #SQLHelp search cleaner.</p>
<p>When you get your final answer, post it a thank-you back to #SQLHelp, like this:</p>
<div id="attachment_6355" class="wp-caption alignnone" style="width: 561px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center;"><img class="size-full wp-image-6355" title="shrinking-databases" src="http://cached.brentozar.com/wp-content/uploads/2009/12/shrinking-databases.png" alt="Got My #SQLHelp Answer" width="551" height="190" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Got My #SQLHelp Answer</p></div>
<p>That way people know when your question is answered.  If your question hasn&#8217;t been answered within an hour, you can repeat it again, but please don&#8217;t repeat it in less than an hour.</p>
<h3>How to Answer #SQLHelp Questions</h3>
<p>Set up a search in your Twitter client for #SQLHelp, or use one of these alternate methods:</p>
<ul>
<li><a href="http://search.twitter.com/search?q=%23sqlhelp">Search.Twitter.com results for #SQLHelp</a></li>
<li><a href="http://search.twitter.com/search.atom?q=%23sqlhelp">RSS Feed for #SQLHelp tweets</a></li>
<li>Sit next to <a href="http://twitter.com/PaulRandal">Paul Randal</a> and wait for him to <a href="http://twitter.com/PaulRandal/status/6522951038">start typing excitedly</a></li>
</ul>
<p>As you&#8217;re interacting with the questioner, remember that they&#8217;re probably new to Twitter, and that you&#8217;re probably not the only one working with them.  I open up two web pages &#8211; <a href="http://search.twitter.com">Search.Twitter.com</a> with a search for the questioner&#8217;s username (so I can see who&#8217;s replying to them) and the questioner&#8217;s Twitter page (so I can see everything they respond back).  That way you can keep duplicate interactions to a minimum.</p>
<p>Thanks again to Aaron Nelson (<a href="http://sqlvariant.com/wordpress/">Blog</a> &#8211; <a href="http://twitter.com/sqlvariant">@SQLVariant</a>) for suggesting this!  I think it&#8217;s a great way for the community to get even more involved in real time.</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>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.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2009/12/i-need-sqlhelp/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Twitter historical database of my tweeps</title>
		<link>http://www.brentozar.com/archive/2009/12/twitter-historical-database-of-my-tweeps/</link>
		<comments>http://www.brentozar.com/archive/2009/12/twitter-historical-database-of-my-tweeps/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 14:00:02 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[tweetsql]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=6211</guid>
		<description><![CDATA[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&#8217;ve followed over the last couple of months. I use Tweet-SQL to cache and analyze a lot of things from Twitter.  This database...<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>In my never-ending attempts to distract you from doing real work, I give you something you have absolutely no use for: a <a href="http://podcasts.brentozar.com/TwitterCache.zip">SQL Server database backup</a> with about 100k tweets from people I&#8217;ve followed over the last couple of months.</p>
<p>I use <a href="http://www.tweet-sql.com/">Tweet-SQL</a> to cache and analyze a lot of things from Twitter.  This database isn&#8217;t the actual one I use, but it&#8217;s just an export of a subset of tables:</p>
<ul>
<li><strong>Users</strong> &#8211; the tweeps.  The &#8220;id&#8221; field is Twitter&#8217;s internal number for you, not my own &#8211; comes from their API.  The cached_* and subscription_* fields are my own, not Twitter&#8217;s.</li>
<li><strong>UsersHistory</strong> &#8211; whenever I fetch results from the Twitter API and someone&#8217;s information has changed, I store the old version of their profile in this table.  Typically, the field that&#8217;s changing is their followers_count.  The &#8220;id&#8221; field is my own identity number, not from Twitter&#8217;s API.</li>
<li><strong>Statuses</strong> &#8211; the tweets (and yes, Twitter calls them Statuses).  The &#8220;id&#8221; field is from Twitter&#8217;s API.</li>
</ul>
<h3>Sample Queries</h3>
<p>This will give you the most loudmouthed tweeps:</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">SELECT</span> s.<span style="color: #FF00FF;">user_id</span>, u.<span style="color: #202020;">screen_name</span>, <span style="color: #FF00FF;">COUNT</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">*</span><span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">AS</span> tweets
<span style="color: #0000FF;">FROM</span> dbo.<span style="color: #202020;">Statuses</span> s
<span style="color: #0000FF;">INNER</span> <span style="color: #808080;">JOIN</span> dbo.<span style="color: #202020;">Users</span> u <span style="color: #0000FF;">ON</span> s.<span style="color: #FF00FF;">user_id</span> <span style="color: #808080;">=</span> u.<span style="color: #202020;">id</span>
<span style="color: #0000FF;">GROUP</span> <span style="color: #0000FF;">BY</span> s.<span style="color: #FF00FF;">user_id</span>, u.<span style="color: #202020;">screen_name</span>
<span style="color: #0000FF;">ORDER</span> <span style="color: #0000FF;">BY</span> <span style="color: #FF00FF;">COUNT</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">*</span><span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">DESC</span></pre></div></div>

<p>Resulting in:</p>
<div id="attachment_6214" class="wp-caption alignnone" style="width: 451px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center;"><img class="size-full wp-image-6214" title="Top-10-Loudmouths" src="http://cached.brentozar.com/wp-content/uploads/2009/12/Top-10-Loudmouths.png" alt="Top 10 Loudmouths" width="441" height="345" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Top 10 Loudmouths</p></div>
<p>And this query gives you the hours when people tweet the most (in Central time):</p>

<div class="wp_syntax"><div class="code"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">SELECT</span> <span style="color: #FF00FF;">DATEPART</span><span style="color: #808080;">&#40;</span>hh, created_at<span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">AS</span> TweetHour, <span style="color: #FF00FF;">COUNT</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">*</span><span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">AS</span> RECS
<span style="color: #0000FF;">FROM</span> dbo.<span style="color: #202020;">Statuses</span>
<span style="color: #0000FF;">GROUP</span> <span style="color: #0000FF;">BY</span> <span style="color: #FF00FF;">DATEPART</span><span style="color: #808080;">&#40;</span>hh, created_at<span style="color: #808080;">&#41;</span>
<span style="color: #0000FF;">ORDER</span> <span style="color: #0000FF;">BY</span> <span style="color: #FF00FF;">COUNT</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">*</span><span style="color: #808080;">&#41;</span> <span style="color: #0000FF;">DESC</span></pre></div></div>

<p>Resulting in:</p>
<div id="attachment_6215" class="wp-caption alignnone" style="width: 540px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center;"><img class="size-full wp-image-6215" title="Top-10-Hours" src="http://cached.brentozar.com/wp-content/uploads/2009/12/Top-10-Hours.png" alt="Lively Times of Day" width="530" height="348" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Lively Times of Day</p></div>
<h3>Things to Know About the Data</h3>
<p>There&#8217;s some holes in the data when my server bombed or the Twitter API didn&#8217;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&#8217;m running out of time and I&#8217;ve got other things on my plate, so I figured I&#8217;d just let this loose as is.</p>
<p>The database doesn&#8217;t include people with protected tweets, and it only includes things I&#8217;d see on my home page.  If someone mentioned me but I&#8217;m not following them, you won&#8217;t see it in this database export.</p>
<p>You can download the <a href="http://podcasts.brentozar.com/TwitterCache.zip">SQL Server database backup</a> 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&#8217;d love to see what you find!  And of course, I&#8217;d highly recommend <a href="http://www.tweet-sql.com/">Tweet-SQL</a> &#8211; it&#8217;s a fun little tool if you&#8217;d like to analyze Twitter data like who&#8217;s following who, who gets retweeted the most, or what you&#8217;re missing when you&#8217;re gone.</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>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.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2009/12/twitter-historical-database-of-my-tweeps/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 1252/1285 objects using disk: basic

Served from: www.brentozar.com @ 2012-02-08 16:42:48 -->
