Monthly Archives: November 2006

Netriplex DDoS attack

Things you never want to hear from a hosted DNS company:

Netriplex is currently experiencing a severe distributed denial of service attack to our DNS network. This attack is causing latency and packet loss on our DNS network and for any of our customers using our DNS solution. This is NO LONGER affecting colocation and dedicated customers in any of our facilities who do not use us for DNS.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Birds on the beach in Naples



Birds on the beach in Naples

I’m back from my weekend trip to Naples to see my mom, Uncle Chuck, and Grandma & Grandpa. I had a great time, and the weather was perfect. We walked on the beach both days because Mom wanted to spend more time down by the water.

I forgot to bring my normal digital camera, and had to get by with my Cingular 8125 camera phone. It’s a jack of all trades, master of none, as you can see by the hazy picture. I like the effect of that particular picture, though.

I didn’t try to line up the tops of the posts with the horizon – it just happened that way. If I could have gone back in time and changed it, I wouldn’t have done it quite like that. Usually I am for order, but that much order is a little bizarre. I like the end result, though.

I gotta take a photography class next year.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Start of a Thanksgiving road trip

Start of a Thanksgiving road trip

Definitely the start – before the obligatory car wash.

I’m heading west for a couple of days. Going over to Naples to visit my mom’s side of the family tree.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Budgeting 101 for SQL Server database administrators

It’s that beautiful time of year when everybody watches the colors. No, not the changing browns and reds of the foliage, but the red and black numbers on P&L statements. That’s right – it’s budget time.

In order to build a good database budget, we have to ask our managers a few key questions:

Are we going to archive old data, or keep it online?

Database growth can be controlled by keeping a limited amount of history in the database. As DBAs, though, our job isn’t to limit the business, but to give them options. The business can decide whether keeping more data online is worth the additional expenditure for hard drives.

Example: take a data warehouse with 3 years of history. Near year-end, DBAs may be tasked with pruning this data out, but users often complain that they’ve decided they want the extra data online forever. Budget time is the perfect time to present this question to the end users. If the warehouse needs to go from 3 years to 4 years of storage, that’s an increase of 33%. Take the current storage costs, add 33%, and present that as the cost to keep an additional year of history online. Every year, recalculate storage costs and ask the same question again.

Include backup costs in these calculations, too. A truly savvy DBA will organize their filegroups so that old, historical data lives on read-only filegroups that rarely get backed up, but if we were all that good, we wouldn’t be having this conversation.

How has sales growth changed over the last year?

Database size can sometimes be changed based on business growth. If an e-commerce book store sold 15% more books this year than last year, and if they expect to grow by another 15% next year, then that’s a lot more transactions and customers that have to be stored in the database.

I’ve found that it’s easier to budget by past growth instead of future predicted growth because – well, let’s face it, predictions are hard. It’s much easier for a manager to understand and agree that we’ve already grown by 15% over the last year, and that our infrastructure has to keep pace.

Has our company headcount grown this year, and what’s the projected growth?

If a database application supports 1,000 users, and the company projects a growth of 5% next year, then that’s 5% more users that the application has to support. Granted, most applications are built in a way that scales easily, but big growth happens fast. Changes in headcount give DBAs a clear, concise way to show why their hardware has to be able to support more load.

What pilot applications are being rolled out to more users this year?

In small to midsize companies, database administrators aren’t always brought into meetings early enough during the planning phase of application development. Proof-of-concept applications become pilot applications, which become widely-rolled-out applications. At budget time, survey the landscape to see which small applications are loved by the users, and what kinds of wide adoption their managers expect to see.

This is where being a DBA gets hard: database servers are often shared between multiple applications. Being a good DBA means knowing what percentage of the database server load is being consumed by a particular application. A new application might be a nasty resource hog, and it’s not obvious until the number of users scales up. Now is the time to run profiles and performance logs to get insight into each pilot application. The more a DBA knows about each pilot application, the better job they can do budgeting for the future.

Finally, what more could you do with more time?

Make a list of day-to-day and month-to-month DBA chores that are getting overlooked due to a lack of time. Everybody has them – whether it’s fire-drill test restores, performance tuning, or even plain old career training. Give management a list of things that the department could accomplish with one or more additional head count. The list should be unbiased, matter-of-fact items, not “give me another body or I’m going to die.” The less emotion and the more raw facts the list includes, the easier it is for managers to forward it on to their managers and get approval.

Even if another person isn’t needed, make the list anyway. That way, a year or two from now when the department really does need another DBA, it’s easy to compare last year’s list with this year’s list and see that the company’s needs are changing.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Software projects aren’t like normal projects

The ever-brilliant Jeff Atwood wrote a fascinating blog post about why building software is hard: it’s never been built before.  He was following up on a similar blog post, but in a nutshell, software projects are harder than construction projects because they’re nothing like projects at all.  Every time we build a new piece of software, it’s like building an experimental plane. We don’t even know if it will fly.  Construction projects, on the other hand, are fairly repeatable.  Sure, every now and then somebody builds an Eiffel Tower or the first Frank Gehry building, but otherwise, it’s the same basic things done over and over.

I can completely relate to this because I’m in the midst of bringing a new project – err, experiment – to life as we speak.  I’m being asked to budget dollars for a database server and guarantee that the queries will be returned within X seconds.  The problem has two parts: the queries haven’t been designed yet, and nobody has even documented exactly what they’re going to do.  In order to guarantee that an unknown query will finish in a known amount of time, I’m going to need an exorbitant amount of money – or else, I’m going to have to build an experimental airplane.  I can’t stand spending money without a really good reason, so it’s time to play Skunkworks.

This is why I own a t-shirt with Jeff’s blog logo.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Night out courtesy of Microsoft

Night out courtesy of Microsoft

Woohoo! Canadiens versus the Panthers.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Motivation on the fridge

Motivation on the fridge

Having my 5k run number on the fridge was Erika’s idea, and I’m surprised how much I like seeing it. It’s a great motivator.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

First 5k Done

I finished my first 5k race last night, and I look forward to more of ‘em.
My official time was 37 minutes 46 seconds. I placed 40th out of 42 in my division (30-34 year old males), 415th out of 496 males, and 866th overall out of 1163 runners. The average male ran 30 minutes 17 seconds, so I’m above average. (ahem) The overall winner did it in 14 minutes 41 seconds, and all but 2 guys did it under an hour. I would like to meet the two guys who took over an hour just to shake their hands for finishing.

You can also slice and dice the results online.

Here’s how the run looked in NikePlus:

Festival of Lights 5k

I screwed up my iPod settings where you see the first couple of red blips. I was running with a new iPod armband with plastic over the jog wheel, and I couldn’t get my jogging-training podcast back on track.  After that, I had a tough time keeping my pace up.  Lesson learned for next time – cut out the clear plastic, touch the jog wheel directly, and have a full 45 minute playlist set up so I don’t have to screw around with it.
The statistics don’t mean much to me. I hadn’t expected to do as well as I did, and I’d expected to be much more exhausted and pained. I feel good, I’m not sore, and I know I could have pushed myself a lot harder. But why? I’m not doing this to win anything, just to get up off my lazy ass.

I totally understand how these things get addictive. I feel great, and I enjoyed myself. I can see myself running several of these a year just to get the t-shirts.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

My first 5k race

12th Annual Fantasy of Lights
Today, I signed up for my first 5k race – well, my first race period – the 12th Annual Fantasy of Lights 5k.

While this will technically be a race, I will in no way be judging my results by the time it takes me to finish, or where I finish in the pack.  I feel like a winner just registering for the thing, because if I finish, I’ll be “ahead” of everybody else in the city who didn’t run that day.  That’s the way I like to think of it, anyway.

I have to thank my coworker, Ben, for even mentioning the race.  I wouldn’t have thought to look up upcoming 5k’s, but when he mentioned it, I said to myself, why the hell not?  5k is only 3 miles.  I’ve been running/walking about a mile and a half, and it’s not like 5k is some huge insurmountable obstacle.  Why not?  I could do that.  And hey, it comes with a t-shirt, and I’m all about t-shirts.

The description says: “The 5K course is flat, fast, and ideal for setting a personal record.”  I burst out laughing when I read that one.  I will definitely be setting a personal record, that record being a race completion.

I’ve been loosely following the Cool Running Couch to 5k Plan for the last couple of weeks, but I didn’t think I’d actually be doing a 5k run.  The plan is supposed to take nine weeks.  The race is in a week and a half, but I’m not worried because I’m sure I’ll be walking some of it anyway.

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.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube