Tag: T-SQL Tuesday

  • T-SQL Tuesday #127–Non SQL Tricks

    tsqltuesdayToday is T-SQL Tuesday, with this month being hosted by Ken Fisher. This is an interesting topic, looking at tips, but ones outside of SQL Server. Since many of us are data professionals, I think this is a place where I might learn a few things from others. Looking forward to the recap.

    I spent a number of years working in network administration and desktop work, as well as some software development teams, so I have to think about what I think makes a good tip.

    A Quick Fix with Contig

    One of the problems with a machine that runs out of memory or disk space is that it will act slow and suspicious. It often isn’t obvious that you’ve run out of resources, since we often don’t think about a slow degradation for RAM or disk space. Usually we’re looking for a runaway process, a virus, or something else. I’ve been surprised sometimes that I spent an hour, or watched someone else do this, before checking disk space.

    These days Windows is better about warning us when space is low, but it can be easy to ignore this or defer action until a later time when you’re busy. This tip won’t help you with RAM, but it can help with storage, which often affects things like pagefiles.

    Contig.exe is a utility from the Sysinternals utilities. It is designed to defragment files, but it can be used to create new files. Of whatever size you want. I’ve written about this before, and I use this on my machines. Whenever I get a new drive, I usually make 10 new files, each 1GB in size and keep them around. This post reminded me to do this on a new drive.

    2020-06-02 21_03_35-SanDisk1MB (E_)

    If I run low on space, I can get 10GB back quickly, without searching my filesystem for something to delete.

    You could do the same thing with a large ISO if you want, but keeping a file ready to delete can be handy. It always seems I run out of space when I’m in a hurry to get something else done.

  • T-SQL Tuesday #126–Folding@Home

    tsqltuesdayIt’s T-SQL Tuesday time, and this one is interesting. This also relates to the desktop upgrade I wrote about last week. Glenn Berry is the host, and he asks us to talk about any work we’ve done with Folding@Home.

    If you’d like to be a part of T-SQL Tuesday, get a blog and post on the second Tuesday of the month. Follow the Twitter #tsql2sday hashtag of check out the sqlcommunity.slack.com channel for T-SQL Tuesday.

    Supporting a Cause

    Years ago I did some of the work for the SETI project, by setting an agent on my home machine. At some point I rebuilt the machine, forgot I’d had this set up and went on with life.

    With the recent Covid-19 pandemic, Glenn wrote about supporting the cause by using some of your CPU cycles to process data for medical teams. I was interested in this, along with some other ideas, and this was easy for me.

    I’ve been in the process of rebuilding my home machine, as I wrote about. While I’m slowly moving things over to the new machine, I am using it online as a client for the Folding@Home project, donating CPU cycles for whatever medical research I can. With my old machine also running, I’ve been getting quite a bit of work done overnight as I set both machines to use lots of resources.

    Other Covid-19 things I’ve been doing are the daily coping tips, which I’ve put in the SQLServerCentral newsletters, on my blog, and on the Community Circle. Small things, but more than a few people have noted they help.

    A few minor things:

    • T-SQL Tuesday live – a weekly open video call to just chat (this week’s call)
    • Live Stairways – teaching a class live, as I learn.
    • Open space get togethers with a few friend. We have a lot of land, and some friends, kids I’ve coached, and others are cramped in small suburban spots. We’ve hosted a few outside times, socially distanced, people brining their own chairs, just to help them cope.
  • T-SQL Tuesday Live – 12 May 2020

    Once again, I’ll be live tomorrow, ready to just chat, shoot the breeze, answer tech questions, anything. No agenda, but I’m on for an hour.

    If you’re bored, struggling, or need a break, feel free to join us tomorrow. I’m going earlier, at 12Mountain time, for an hour.

    Details
    • Date: 21 Apr 2020
    • Time: 12:00MDT/14:00EDT/18:00UTC/190:00BST (1 hour)
    • Meeting: (add a 6 to the end) https://redgate.zoom.us/j/9281834800
    • Password: Cast this as a varchar(10) –  0x303136333439 (you should get a number starting with 0 and ending with 9.
    • Issues: DM me on Twitter @way0utwest
  • T-SQL Tuesday Live–28 Apr 2020

    Once again, I’ll be live tomorrow, ready to just chat, shoot the breeze, answer tech questions, anything. No agenda, but I’m on for an hour.

    If you’re bored, struggling, or need a break, feel free to join us tomorrow. I’m going earlier, at 12Mountain time, for an hour.

    Details
    • Date: 21 Apr 2020
    • Time: 12:00MDT/14:00EDT/18:00UTC/190:00BST (1 hour)
    • Meeting: (add a 9 to the end) https://redgate.zoom.us/j/9337866921
    • Password: Cast this as a varchar(10) –  0x303030323835 (you should get a number starting with 0 and ending with 5.
    • Issues: DM me on Twitter @way0utwest