Category: Blog

  • Rolling to SQL Saturday #60

    I’m still stunned as I see numbers above 50 in the hash tags for SQL Saturdays. Yet here we are, #60 in Cleveland this weekend and I’m on the road this morning. Or in the air, catching a flight to Cleveland from Denver.

    I’ve never really been to Ohio, only having driven through the state on my way to someplace else. Stopping for gas and coffee doesn’t count as a visit, so I’m looking forward to this. Allen White, a friend I’ve known for years, will be my host, along with a number of other SQL people I’m looking forward to seeing again, or meeting for the first time.

    The event is sold out, which is a good thing. It shows interest in the free training and I hope this means that a few of you will help out and get another SQL Saturday in Cleveland sometime in the fall.

    I don’t have any great plans of things to see, other than run with Allen on Sunday morning. If any SQL runners are out there, feel free to join us, and follow the #sqlsat60 tag on Twitter. I’ll post some info about where/when as I get it.

  • SQL Saturday Advice–Upload Decks Early

    One of the neat features for the SQL Saturday site is that it allows the speakers to upload a deck that is attached to their session. If you go to the schedule after the event, and pick a session you attended, you can get the Powerpoint deck, the code, anything the speaker has uploaded. That’s handy, and too often I’ve been at events where speakers point you to some location they use and it’s easy to forget where this is, or where the information is stored.

    However the organizers have to send this note to speakers, and in most events, this has come after the event. I’ll admit that sometimes I’ve been busy and have forgotten to upload the deck, or I’ve been slow to do so. However Saturday night, Sunday, or early the next week is when the attendees are thinking about the event, and if the deck isn’t there, they might not go back.

    This week I got the link early for SQL Saturday #60 in Cleveland. I was changing a couple slides in the presentation, based on feedback from previous events, and was a day late in uploading, but I have finished, and my deck is uploaded. Now I don’t have to worry about it, and the link is live, people can get the deck for themselves.

    I know some speakers are working on their decks at the last minute. I don’t think that’s a great idea, but I understand people have busy lives and they might be trying to add something on Friday that they learned recently. Or they remember to correct something from the last session as they’re reviewing the night before. That’s OK, and the organizers can always replace the code with a new download.

    I do think, however, that most attendees would appreciate having the downloads available right away, and by sending the upload link to speakers before the event, you can improve the chances you’ll have all the downloads uploaded and ready.

  • A Full Backup can Impact a Log Backup–MCM Prep

    In the early days of SQL Server you could not run a log backup while a full backup was running. In fact,you tried to schedule them apart from each other early in my career to prevent collisions. Nothing bad happens, but it does cause failures in your monitoring and those are annoying.

    In modern versions of SQL Server, you can run log backups and simultaneous full backups. They don’t collide or block each other, but there is a way that the full backup impacts a log backup.

    If you start a full backup, once all data pages are written to the backup device, the log records that were created since the start of the full backup are added to the full backup file. This allows the redo/undo process to complete and this gives you a full backup set that is intact as of the point in time in which the data pages finish writing.

    If you run a log backup, typically the log records are written out, and then the VLFs in the log file that were written to disk are marked as inactive.

    However since those log records are needed for the full backup to be complete, the log backup cannot clear those VLFs when the log backup finishes. That process still occurs, and technically this is part of the log backup, but it is deferred until the full backup completes.

  • Work Isn’t the Most Important Thing

    brokenpipe_cI had quite an adventure today, away from work. We had a pipe freeze in the house, a sick kid, and then a plumber call when the pipe broke. All in all, with school closed and kids home, I haven’t gotten much work done. My wife ended up also missing a bunch of work at a busy time. I leave for Cleveland Friday morning, so it’s already a short week and that adds to the stress.

    But that happens. Life gets in the way of work, and there are times you need to let things go. I know there are friends that have gotten off of work this week because of the weather, and I’ve had companies close. When I lived in Virginia, we closed the office sometimes with hurricanes or strong storms, helping employees to manage their lives outside of work. I’ve helped hang plywood and even get boats out of the water in preparation for the storm.

    I think that a part of what business has to include is social responsibility. It can come with benefits like goodwill that come from donating back to schools, but I think that the highest level of profit you can make is not the way business should be run. You should consider what helps your employees, what helps your community, and what is the best way to integrate your company into the world outside of your profit.

    Hopefully your employer understands that.