Author: way0utwest

  • The Evolving DBA

    It’s interesting to think about the role of the DBA and how it might evolve in the future. I regularly see predictions about the DevOps movement, and increasing ability of fewer staff to manage larger scales of systems (more systems or more data). There is also the fundamental way in which larger “cloud” type providers (inside your organization or third parties) can include features or services that reduce the need for DBAs.

    However I ran across a statement that I think certainly provides some view into how the DBA might be affected in the future. The statement was: “The more an organization values its data, the more the DBA is under pressure to provide access to this data.” That includes all the people working with and managing data, whether developers, sysadmins or dedicated DBAs. They must ensure the data is available and useful to clients.

    I’m sure many people unconsciously realize this is their role, but they sometimes get caught up in looking at performance, or normalization, or backups, or some other task as being the highest priority task. In reality, we must continue to ensure backups are available if we need them, and systems perform well, and all the other ancillary tasks, but remember that backups and tuning and everything else are tasks needed in support of making data available for users.

    More and more I really believe that anybody that functions as a data professional, whether that is a small part of their job or all they do, needs to keep this fact in mind. The data is the more important asset we work with and all our efforts need to be geared towards helping our users access in as many ways as possible.

    Steve Jones

    The Voice of the DBA Podcast

    Listen to the MP3 Audio ( 2.1MB) podcast or subscribe to the feed at iTunes and LibSyn. feed

  • Argenis Without Borders – v2

    Last year at the PASS Summit, Kristen Benzel and Argenis Fernandez put on a fundraiser to raise money for Doctors Without Borders. It was very successful, bringing over $13,000 to the charitable work this organization does.

    We had fun with it, with some great rainbow costumes that were displayed at the PASS Summit, including me.

    doctorswithoutbordersrainbow

    This year, 2015, there’s a new campaign. Once again, we’re raising money for Doctors without Borders. The goal is $20k, but we’re already close to $1,000 raised. That means that Argenis will be dressed like Ted.

    Halloween Steve

    My costume has yet to be chosen. I’m not usually a Halloween person, but in this case I’ll make an exception. The last day of the PASS Summit this year is Halloween, so I’m thinking that’s the day to

    However, I’m not sure what to commit to. Should I be a super hero? A classic horror look? What would make you donate a little to the campaign? I’m looking for a few ideas, thoughts, things that you think would bring a smile to your face, and the willingness to help raise some money for a great cause.

    Donate today and post your costume suggestions below. Feel free to see if you can come up with something that might embarrass me.

  • There Are Always Constraints

    Many of us have spent years learning about technology. I suspect that many of you might enjoy these pieces I write, but you visit SQLServerCentral for the same reason I started building it: to become better at your jobs. Many of you work regularly to improve your ability to make SQL Server perform as well as possible.

    I’m also sure many of you have had to deal with what you see as “bad decisions” from your management at some point. I’m sure many of you have felt that if we did something a little differently, or spent a bit more money (or time), we could have built a better application. That may be true, though I’ve found over the years that technologists sometimes don’t make better decisions than project managers. We often have different priorities, but also different views on what success means.

    There are always constraints involved with building systems. The most successful technologists I know may gripe about constraints, but it’s a passing comment. They don’t get bogged down in the limitations that are imposed on them. They move forward, deal with the constraint, and make things happen. They get the software working or the system running.

    Like many things in life that may irritate us, and potentially hold us back, the limitations will always exist. We need to accept the lack of staff, money, time, or even technology and do the best with what’s available. It’s fine to disagree and complain, but don’t let that hold you back from making the best of the reality that you work within.

    Steve Jones

    The Voice of the DBA Podcast

    Listen to the MP3 Audio ( 1.9MB) podcast or subscribe to the feed at iTunes and LibSyn.

  • Azure SQL Database – Link User to Login

    I’m writing this post as a way to help motivate the #SQLNewBloggers out there. Read the bottom for a few notes on structuring a post.

    I created a login for an Azure SQL Database, but couldn’t log in. I would get this message, which makes perfect sense.

    2015-06-23 14_52_41-Connect to Database Engine

    Just like an on-premises instance, I need to link a user to the login for access. However, unlike an on-premises SQL Server, I can’t willy-nilly change databases. If I do this:

    Use SQLServerCentral GO

    I’ll get this message.

    2015-06-23 15_00_31-SQLQuery3.sql - mhknbn2kdz.database.windows.net,1433.SQLServerCentral (jt (58))_

    I can’t switch, I need to reconnect. In this case, I use the same login (an admin level) and reconnect to a different database. This certainly can make scripts more cumbersome, and imply that your work, whether through T-SQL or PoSh, needs to include the connection strings for the correct database. In fact, I might recommend PoSh over SSMS for this reason.

    Once I’ve connected, I can use standard commands. In this case, I’ll use this code:

    add user to SQLServerCentral database connect to database CREATE USER sscdev FROM LOGIN sscdev; add a role for ddl admin EXEC sp_addrolemember db_ddladmin, sscdev;

    Now when I click connect with my user, I see this:

    2015-06-23 15_02_22-SQLQuery4.sql - mhknbn2kdz.database.windows.net,1433.sqlservercentral (sscdev (5

    Just what I need.

    SQLNewBlogger

    This was a second post as part of the previous one. I was adding a user and login as part of a bit of work and when it didn’t work, I captured screen shots and split this part from the last one.

    Five minutes writing this one, probably no more than five minutes slower in running the code to capture the images.

    You can do this.

    References