Hello there everyone and welcome to DBL episode 20, the Regate podcast that is of course all about databases and beer and also the state of things and with the state of things how they are what you need is a bit of beer and a bit of databases in your life. I am of course the insufferable Chris and today I'm joined by the awesome Chris and of course the very very suffable. Very suffable. I love that that's my favorite descriptor now, Kendra Lil.
Fantastic. Thank you very much Kendra for being here and thank you everyone for listening. My goodness 20 episodes where has that gone not including the specials of course. So today is a very special episode of DBL not only because we are...
Oh you breeze over that we have more than one special. Have we not done more than one special? I don't know. I thought last special was our first special.
Oh I thought everyone is special. No we did the podcast with Kowiyo that was a special. Kind of. It was also special as well yeah.
Last week was fun though. Like I really liked that. We did remote stuff. Yeah exactly and we are still all working remote.
Fortunately I have also my darling wife here in the room with me who just laughed so hard as I did the introduction there. Hence the insufferable in the... Oh is this a good way of actually getting our significant others to listen to our podcast? Well we have said on a number of occasions.
Like I said we have said on a number of occasions that we should get and reach involved. I have to say we're probably more likely to get Kendra's significant other Jeremiah involved in this sort of thing. I don't know. I think we could have a special spouses section where they talk to each other and we are not allowed to participate.
And nature information on what it's like to be in a relationship with someone who's really into database. Hey you know you say it but I've definitely heard Andrea mention on more than one occasion some of the challenges that come with GDPR and holding data so you know we as you can tell it's a thrill a minute at our house. Wow don't laugh. It's true.
In any case let's pull this back because we've already gone off on a tangent. I was afraid this might happen and I'm reveling in it. So thank you everyone for joining us today is DBL 20 and we're going to be talking about the state of database DevOps report 2020. Now before we get into that it is of course natural.
Not Chris because we don't have the fundamental thing that we need right now for to do the thing. We have the report. We have Kendra. I mean those two things are both phenomenal but there isn't another third a trifecta for today that we are missing.
What is this? What is this? Beer mate beer beer. Yeah.
I have to be charged with a B. Yes this is true. Okay well let Kendra go first Kendra what are you drinking for today's podcast? I am drinking bourbon and it is Eagle Rare Bourbon.
That's a good bourbon. I have no idea. I believe it's my other same guys who do wild turkey. I'm not very close.
I mean that would be an avian theme right? You've got turkey you've got eagle maybe there's a chicken version. Yeah I think don't quote me on that. I have a lot of bourbon.
I'm not a big person. What's happening right now? Chris is blind. There's other forms of alcohol.
What is this? Oh dear. No no don't get me started. Last time I ended up on vodka.
Oh yeah not good. Anyway Chris what are you drinking today? I have a bit of a staple of mine. This is the Vetsmala Dubel.
So this is a Trappers beer. One of the bells and Trappers beers. Dark one really strong really nice. Yeah.
Very nice. I love it concise. I like that. I'm going to get you to talk about all the beers in future.
And this is probably where the world is. I love that beer but you're just introduced this idea that I'm the concise one now. As if people did already know. Wait Chris without the beer is verbally verb both.
Oh yeah. I wouldn't have ever thought. It's basically just a parameter you enter. If you put high for the both of the end you get chrysantl.
With all of your SQL compare logs. Oh well let me tell you. This table is different to that table but you don't want to drop it. Oh no just want to rename it.
It's an alter table statement. Is there an Essex setting for the SQL compare logs? No. We need to have a parameter sniffing edition of DBA in the future and we'll use this example too.
It's one of my favorite terms in all databases is parameter sniffing. It's just so weird. But we could all sniff our beers and our drinks. Yeah absolutely.
And then we can maybe talk about another another very popular IT word that we can use as well as snarthing. Is it Bluetooth snarthing? I'm not familiar with that. And MAC address spoofing.
Spoofing snarthing and sniffing. Anyway just right itself. It does does it. And just to finish it off I am on the which would worry hobgoblin gold my absolute favorite beer in the world.
I feel like I'm doing a Jeremy Clark's now absolute favorite beer in the world. That's your favorite beer. I don't know. I just I love it.
It's just it's such a good beer. And actually is the beer that speaking of my wife earlier is actually the beer that I used to drink when she just first moved to Cambridge the first day that she moved to Cambridge it was the first beer that I drank when she moved to Cambridge and I was happy that she was nearby. So there you go. It has sentimental value as well.
That's a good story and is a very good beer. I'm a big fan of hot copping gold. Oh there you go. Fantastic.
Well in that case let's crack this open and get ourselves on the beer. So three two one. Sorry Kendra. That was a very quick countdown.
At three two one. Nice Paul going as well. I'm not sure whether the poor will come through the headsail or not. I run at home just pour your own drink and then you'll hear it being poured.
That writes for you. Unless you're driving. If you're listening to this and driving don't pour your own beer. It's amazing.
We're 20 episodes in plus specials and no one has mentioned that yet. Oh uh let's driving and drinking or I hope they haven't mentioned it. Or not. Not too more specifically.
So interestingly the thing about the driving and listening to DBL is that I know we have at least several listeners who do that on their commute regularly but this was the very reason that we swapped from having a left right split when we're using the single microphone for the podcast and why we moved to having us both the same on both channels because it would scare the heck out of someone who was driving and he'd have me talking to him out of the right speaker and then all of a sudden Chris K would just come zooming in from the left. So yeah that's the stereo. The stereo scopic sound was too surreal. Have you like their messes?
Good for you for improving driver safety though. I actually had never really thought of that but yeah that would be a little creepy when oh there's something in the right. Oh we need to count about this I think by putting in some just random like police sirens and car or something like that. I hate it when rap songs have the police sirens in the background because I'm immediately looking in the window going to pull over but now I get those radio stations that do that.
That's my big annoyance anyway anyway anyway we have we have unfortunately wandered off again so I'm going to take a quick sip from my beer in preparation. I'm still pouring mine. It's not gone well. Oh it's delicious.
I feel very very ready. I'm very happy that it's a Friday. So Kendra question to you the state of database DevOps report 2020. What is it?
Well it's a geographic report on a state that's located between North and South Dakota called database DevOps. It's a square state in cyborg country. You may have seen it. There are a lot of people there who love to automate and very productive and we went and we interviewed them all in the great state of database DevOps.
I love that. Between North and South Dakota platform nine and three quarters but for a yeah I did insult a lot of Americans there by talking about the words fly over country though so you may want to edit that out after. It's not a joke. It's start getting angry letters.
We don't like how Kendra talks about fly over country. That was a total joke. I have a lot of friends who live in the Dakotas at least two and that's everyone who lives in the Dakotas. Yeah all right.
We know what you're like to put West Coast knobbery right there. I equally make fun of everywhere I've ever lived in the United States. I have yet to live in the Dakotas but it is actually a really beautiful place but database DevOps. What we do at Redgate what we've done for years before I ever joined Redgate is we do a survey.
This is the fourth survey I believe that we've done and we ask folks about their development practices their IT practices and their database practices and we get a lot of responses. We got a response of more than 2,000 people this year so in this edition of the survey we got more than 2,000 individual responses which is fantastic. We have a lot of records. It is a new record.
In past years we've always gotten more than a thousand responses so we've always gotten a good response but this year people had a lot to say which is really really cool so I told us about how they had a lot of things to do so we actually did the survey around November, December right so it's end of year. People are super busy with their personal lives and took the time to respond to the survey which was really great. The thing I think made the difference is this year we did something a little new. We said for every response that we were getting we were going to donate a dollar to UNICEF.
What's the name of it's UNICEF? Only one of the most famous charities in the world. Often though, UNICEF is another one. I suspect that I don't have evidence for this.
We didn't ask why did you take the survey but I actually think people really liked that idea of giving back in that we were giving that money away so I hope we can continue to do that. That's really cool. That's really cool. Fantastic and of course the purpose of this report is not to big ourselves up right.
We're not just going out and speaking to red gate customers and people in the SQL Server and saying do you like our tools? Yes, what a wonderful answer. What's the purpose of this report? Maybe.
I think the question is how awesome is Chris, honestly? I look 1-10. You know I don't remember that question. Too many people answered with a 2 so they must have been talking about Kurzweil.
I mean it's 1-10, 1 being the highest, 10 being the lowest. Yeah, 10 being the worst. I got the 10s. Chris Lammering, marginally ahead with the 3s, then you.
It's just this gap now. The Chris spectrum. We actually don't ask opinions about tooling or about Chris at all. I mean we can still improve that for next year though.
I don't want to say that off the table. We can totally ask about Chris's next year. How do you value Chris's? Especially make sure that we put in a question about why the people prefer Chris's or James's.
That needs to be signed. That's always going to be Chris's. On a scale of how much do you love DBIL on a scale from I love it to it's the best thing ever. I think it's perfectly reasonable.
You try to be a bit more scientific than that. And if that's what a survey. We actually have a bunch of respondents who don't do DevOps. And that is actually good.
We tell people we want to hear from you no matter what database you're using, whether or not you're doing DevOps. We just want to hear what you're doing, what it's like, and what your thoughts are. Do we have anyone who doesn't use databases? Because that would be really trippy.
We do ask that we do say we want to hear from people who are either developing for databases or being a DBA for databases or working with databases in some way. So yeah, the database part is pretty key. The problem if you were a bus driver and I was asking you which source control repository you were using. So we can do this.
So oddly enough, okay, this is a weird connection. We had a speaker at the past summit last year who started out as a bus driver and then found a career in coding and data. I know. And there was an overlap.
While she was a bus driver, she was learning about data and coding and databases. So you never know what your bus driver is doing. We actually have a really good relationship with many of our bus drivers. Because we live on one of the major bus routes whenever we see them going past them or we're forever waving at them.
People just think I'm a crazy person waving at buses. But all of our bus drivers are really, really nice people. And I'm just there going, hey, everyone's looking at me like, oh gosh, it's really into buses. The buses are awesome.
Yeah, especially ones around here. Anyway, so the 2020 state of database never report, as you quite rightly said, we've got some fantastic insight and it's just generally to understand better where the industry is going, what the practices are. So naturally, there's a few key things that have come out of this to help us kind of inform those around us. You actually did a webinar about this not long ago, did you, Kendra?
We did. So, Kellen, Coven Gorman, who wrote the introduction to the state of database, I've also joined Grant Fritche and myself to talk about the report, which was great fun. And so the other nice thing about the report is since this is the fourth year we're doing it, we can trend things because some things, you know, you see sort of steady trends over the years. And then sometimes you see something where the needle moves a little extra.
So we got to talk about that in terms of, oh, what are the shifts that we're seeing over the years? And then additionally, like where are we seeing big changes that we haven't always seen big changes? Sorry, did you say this the first time we've done like a historic analysis? We have done historic analysis before, but now where since we've done, you know, the more years you get doing this, the more trends you can draw.
So we have, you can get more data points on our line of previous years, the longer we do it. We have done comparisons two prior years before, but it's just, you know, we've got more data now. So when you say we got 2000 survey respondents, what do you really mean is 2000 this year plus all the others? Yeah, we have 2000 this year, and then for prior years, we have around a thousand each year.
Yeah, so really, it's fun to keep going with this too, because yeah, it's interesting to see how things shift, but yeah, I'm sort of on the edge of my seat now because I'm like, I want to tell you what was different this year, which you've read the report. So you may, I'm curious to know what you thought. One of the most interesting things is you were reading the report as well. So just before we get into it, people can read the report, right?
There is a place for them to go to read this report. It's totally free as well. So you can download the report at redgate.com slash dev ops report. It is totally free.
You'll get a nice PDF and you'll get an email with the link with it as well. Oh, there you go. Fantastic. It's almost like I knew the answer to that, but I didn't.
So thank you for that. So smooth, gross, smooth transition. There was a chance where I'd just be like, no, you can't read it. I was telling you about it.
That's it. In the back of my mind, I was hoping that you would say, no, it's my report. People have to ask me about it. No, you can completely download the report.
And there's one of the exciting things we did this year too for the first time is we've got little opinion pieces throughout the report. So it's chock full of facts, but then you'll see that there's a piece where Luke, who's one of our colleagues explains, okay, if you're writing a minute. Yeah, I saw that. That's the Luke Beretta.
Yeah. And then Grant Frigee, who's another very fine person in the SQL Server community has a section where he's talking about change management. Steve Jones has a section on a frequency of deployments. Kathy Kellenberger has a section on rollbacks.
There's little, little story and opinion pieces throughout there, which I think I love that we were able to do that this year. Very nice. Very nice. So Chris, I'm going to throw to you first.
What was your favorite statistic in the state? Individual statistic. Okay, so 42% saying some sensitive data not being masked in a development environment. That was something that really stood out to me as an individual stat.
And do you think would you guess that that stat, would you guess that that stat is low? Do you think people are underestimating that? Do you think the reality is actually 42% or where would you put it? Right?
If we think that's the answer, where would you actually place the reality? That's already hard one to say. I would be surprised if people had a huge grip on all of that sense of information, knowing what was out there, just from talking to people on this issue. And the history of talking to people on this issue, Chris, I don't know if you'd agree with that.
Oh, absolutely. I think it's one of those things that you don't know what you don't know. That's one of my absolute favorite things to call out in this process is that there are times where people have sat in front of me and purely from anecdotal knowledge as well, where people have sat in front of me and said, we have classified this database and we have X number of sensitive columns, and then where we've been working on masking them together and we've said them into SQL data catalog. And we found like X plus 20 columns that are actually sensitive.
And some of them don't quite match. And they're going, hang on a second. We may need to revisit this. And you go, well, you thought that you were fine.
But were you? And that's a huge unknown for sure. I think 42% is still very high though. This is something we come up and talk about like data breaches continuously.
And it's something that I say all the time. And I've said a few times here and Chris has very sick of me saying it, but like a lot of the time data breaches, and I say a lot of the time, most of the time data breaches happen from development. Well, I was trying to steal someone's data, not that I am. I'm not bad good at hacker, but it ain't that hard to write a fishing email, right?
Because there's a lot of terrible fishing emails out there. I can write bad fishing email. You do send me a lot of invites to this trap farm. And I'm always a bit confused.
Is this a fishing email? Yeah, I know, but it gets so easy to click, right? But that's totally fine. I would try to get people's credentials and I would try to get developers credentials.
And then I'd be like, hey, what can I do if I can log on to your network? Yeah, I think I'm sorry, go ahead, Chris. I was just going to say I actually had a remarkably good fishing text to come through the other day, actually. It was, if for all intents and purposes, it looked exactly like a text that my telephone provider would send.
And occasionally I do get messages from them from just a number. And I had a look at it and it was just as I woke up. So you know, you just turn your phone off airplay mode or you turn it on in the morning and all the texts and messages come through. And I kind of looked at it bleary-eyed and I clicked on the, clicked on the link, because it said that it couldn't, they couldn't process my bill for my mobile phone.
I was like, that's weird. I could have sworn there's enough funds in the account, blah, blah, so I went on the link and went to this internet to this page, this website. And just looking at it, I was like, it looks exactly like the webpage for my mobile phone provider. But the only thing that the only thing that got me questioning it was funnily enough was that there was no, usually they have three bars in the top left hand corner for the drop down for the main new navigation.
And they were there. Incidentally, incidentally, that is called a burger icon. It is called a burger icon. Wow.
Just like the best thing I ever. Anyway, sorry, carry on. The burger icon was sick. The burger was gone.
And I was like, that's really weird. Why is the burger gone? And it was only then that I looked at the URI in the bar and it said, quite clearly, you know, name of company dot portal 70864.com. And it was like, ah, this might not be real.
So fortunately, I was able to report the text and the site and everything to the mobile phone company. But you know, as someone who studied computer security at university, for someone who's helped people, you know, come back from phishing emails in the past for someone who, you know, theoretically is here on, you know, DPL talking about database security. It's easy for any of us to just make that mistake through bleary eyes. And you know, there's bad phishing emails where you go.
Okay. Well, my long lost uncle, the king of Nigeria doesn't actually want to send me 600 million dollars, obviously. But there's really good ones out there as well. So it's an interesting idea.
Like there's there's some targeting essentially people who will look at this and would not know better effectively. There's the idea that there's this great filter that people have. Like if you're writing a phishing email, you sometimes intentionally put in typos and setting mistakes to make sure you you filter out the people who are going to be scrutinizing this a little bit more than others. So one thing that I learned from a client, we were doing a client visit and they were giving it a tour of their office, which is really cool.
I love this in clients. But one of their teams, actually their job is to send phishing emails, among other things, it's, you know, their network security team, their information security team, they send phishing emails to people at their own company. And what they're doing, they tell everyone they're doing this, but that's part of what they do. But the idea is to raise awareness of this and to be able to track metrics on this.
And it's kind of interesting to have ops approach to information security. Like if you want to get, it's almost like a chaos monkey, but for phishing attacks. Spreading around like USB sticks in the car park, that kind of thing. They told me about it.
I was like, that's brilliant. Everyone should do this. Because this is actually really, really hard. And the more you can make me aware of the fact that I am going, there's a very high likelihood that I'm going to get a phishing attempt.
It kind of gamifies it for me as a user right now. I love game of efficiency. I've got like a friends who work in cybersecurity and they're a firm so we'll run that kind of process for you. And one of the ones I do is literally putting USB sticks in the car park and see how many get picked up and plugged in.
And it's amazing how many do. I'm like, full for that. Yeah. Like one of my, I would think one of my coworkers may have lost this and if I plug it in, maybe I can find out who's it is, right?
Like it would actually, it would attack the part of me that wants to help someone. That's so mean. But like, plus you're innocent, hard there. Look to return the USB stick to a side.
I'm just like, oh, free USB stick. But yeah, so for all of these reasons, like I would say, this statistic 42%, that is a lower bound on the number of databases where we've got sensitive information sitting in a development environment. And that is essentially putting people at risk. So I would say that's a lower bound on that number.
We know it's higher than that. Absolutely. All right. So Chris, you asked me what my favorite stat was right back at you.
What's your favorite stat? Is this just because we want Kendra to go third because then she's going to go my favorite thing is these five things because they're incredible. I have more favorite things, but I think I think we should just bounce it, bounce off each other and then Kendra can chip in otherwise Kendra gets to take all the line like for people who are listening. I actually authored a lot of the reports.
So if there are errors in the report, I think you don't like about it. You can blame me, which I'm completely okay with. So after 2000 respondents, how many were Kendra? Zero.
I did not respond to the report at all. We have a Kendra little and a Kendra little and a Kendra little and a Kendra little. Actually did not check to see if there were any Kendras he responded to report, but I am glad that there's a lot of Kendras out there. There's even other Kendra littles out there.
I'm not even unique in my name. There's some fine. Didn't you tell me that there is another Kendra little who is quite a prolific author? There is a romance novelist named Kendra little.
I do not get any of those royalties. There's also a fantastic sports person, a golfer named Kendra little. So yeah, proud to be in a Kendra little club. Yeah, I don't know many of the other Chris on wins.
I should point out if there is a Chris on win a Chris as well or a Kendra little that just happened to listen to this podcast, then do get in touch via Twitter because I would just love that. That would be fabulous. On podcast. To go off on a complete tangent, but there is a Chris Kurzweil out there that is quite a prolific remote control race car driver.
Oh wow. Yeah. So Chris Kurzweil. Oh dear.
Yes, we would we would hate to think Chris that Kendra would take all the limelight when we've invited her on as a guest and she's well-renowned for her expertise in these sorts of things. No, what we'd rather is put the limelight squarely on us, the guys who sit here and pretend to know what we're talking about. Oh, but now you said it. Can we have an episode where we race remote control cars just so I have an excuse to buy a remote control car?
Oh, that would be so cool. It'd have to be very special video episode, of course. Like how much of that, Bob and do you have left? Very fine.
Chris, I think it just sounds like another marvelous opportunity to make another one of our many, many incredibly fine special episodes. Oh yeah. You would say that. Anyway, you're you're shouting the question back on point.
What is your favorite stat? So my favorite stat was actually it's really interesting to see that early code review for database changes is associated with lower production defect rates. This was one of the most eye-catching ones for me where you had where they had no code review. I think it was 33% of respondents saw more than 10% of deployments had defects.
Yeah, and that was insane. Yeah, like when one in like more than 10% of your deployments, you have to fix your like constantly feeling like, oh, there's some poor poor people who I saw were only 3% of respondents were more than 50%. I was like, wow, that was so cool. I mean, I feel like I've actually been there, not forever, but like there have been some teams that I've worked with and some teams where I supported where it was just like literally every deployment, you're like, what did we break it?
That would be painful. I imagine that's just the norm. It's rough. It's rough.
So it's rough when you're in that place. It is a real place that people can be though. But it is interesting. We did ask this year.
This was the first time we asked about like how often do you need to hot fix production? Like how often do you break something bad enough that you can't just wait for the next plan to release? You've got to like deploy an emergency fix. And it was really interesting seeing that and correlating it with other questions.
That was a theme that really came through in the report. And that was one thing I really liked about is that there was that clear theme of trying to pick apart where the need to make hot fixes comes from. And so that kind of crops up over and over again. And this is a pretty clear kind of link between, I guess what you'd expect that those that adopt DevOps more have lower defect rates.
And if you are deploying traditionally and you've got big slow release cycles, then you have more defect rates. Well, the interesting thing about it, I think, was that it wasn't until probably early last year, no, maybe middle of last year, where I had spent a bit more time with Kendra, actually. And I was, I've always been a huge proponent of using source control. And when I was at university, I used good old tortoise SVN.
Other good SVNs are available. And when I came to Redgate, and it really openised us to what was possible when it came to putting database code under source control. And realistically, realising the power that one has with distributed source control system, version control system like Git, GitHub, Azure DevOps. And being able to leverage some of the code review capabilities, like in the most recent pipeline, Kendra, that you put together, obviously, is it's not just a case of dev makes change, dev commits change, it gets built, it gets deployed.
But it's a case of create a new branch, create a new dedicated dev database for that branch, make some changes, commit those changes, raise a pull request, then it kicks off the automated build and testing process, then it deploys to a clone of that environment, and then the approver is able to check it. And all of these methodologies and capabilities that are just inherent in those pipelines are such a neat, easy way of efficiently reviewing code prior to even making it into the master branch, which I just think is crazy, right? It's the perfect way of reviewing code. And you can think that there are still people out there making hot fixes on production when they could theoretically follow through this process in a true kind of DevOps-y CI-CD way of spinning everything up at the drop of a hat, quickly reviewing a bug fix branch, merging it and pushing that out rather than making a hot fix.
Everything literally jumps left so well. Yeah. So there's a related finding to the code review finding. We saw in the data that just releasing more frequently doesn't mean that you have fewer hot fixes.
But of the people who released frequently, and we defined for the purpose of this, we defined releasing frequently as releasing once a week or more often. And that's releasing production database changes once a week or more often. Not releasing application changes, releasing production database changes once a week or often. Of those people who are frequent releases, if they use version control, if they report, yes, we have our database code in version control, specifically the database code, then they reported the lower rates of defects compared against people who are releasing to their databases frequently, but do not have their database code in version control.
And that really makes sense. If you are going fast, if you are deploying changes to your production database weekly or more quickly, and you're not using version control, you're doing things like, well, script out the changes from this dev DB, and then I'll apply them over there. Or I'll put them in a shared folder, and then we'll grab the scripts out of that shared folder, right? Maybe we grab the wrong scripts, maybe we accidentally script out more things that actually we're ready for production, right?
Mistakes can happen if you're not using these best practices that we've used for years with application code. If you're skipping all that stuff when it comes to the database changes, you're going to have a lot more oops. If you're going fast, this is a lot more. This is a simple, I would like to put your brains on a little bit, Kendra.
But like, what surprised me was how many people were saying they were automatically deploying databases? So I believe it was in a high 40s, and versioning databases was not that much higher. And I know there's going to be quite a lot of overlap there, but that needs to be a thing. There must be quite a lot of people out there who are automating database deployments without versioning first, which is really interesting.
And I'm guessing things like the rise of flyway might be kind of connected to that. Well, it also could just be a homegrown thing as we drop a script into a folder and then we PowerShell execute it. So it can be a variety of different things in terms of what does automation mean? So I mean, I was when I first started back, this was like 20 years ago, I started with this little dot com and there wasn't a lot of tooling for us.
We did use version control, but we essentially built a whole lot of automation tooling ourselves. And, you know, if we could have found a way for it to work, even if we weren't using version control, where you just threw SQL scripts into a folder and they got executed. So it could be that they're using open source tooling. It could be that they've just kind of built their own.
It's funny that like you'd have a situation like that where you're generating change scripts and then running them, what, how are you doing whether it would be flyway, whether it be another third party, whether it be PowerShell, homegrown, whatever, but they're not versioning those scripts. You've got the script just put in version control. Yeah, please do. Yeah.
And this, so we've seen a very, very gradual increase over the years in terms of the number of people using version control, but it literally it grows like one or two percent per year. You know, we're at like, actually don't have a number trying to me, but I feel like we're at 55% of respondents say that they have their code in version control, which is just so low to me. I mean, just we really consider for just for coding in general, for writing for software development, you know, use of version control is like putting on your underwear. Like you wouldn't go out of the house without it.
It's just a thing you obviously do. But then you turn to day like, I feel like there was a lot of generalizations rather. So a, no, everyone wears underwear, b, b, you're very close. It's 56% version control in that way.
Which is still way too slow. Way too low. Sorry. Number three, the interesting one, I can't remember whether it was the 2018 or 2019 state of database DevOps report, but we did ask people the question if they were source controlling their database code and the application code, we asked them separately.
And I think the, I think that 92% of respondents at that point in time answered that they were version controlling their application code, but that meant there were 8% of people who weren't version controlling their application code at all. And we see similar numbers for that. If you look at like the accelerate state of DevOps report, not everyone says, hey, we're using version control, right? There's some people who answer the survey who for whatever reason, they're not doing it.
I think that's normal. Like always expect a little bit, but like, 56% is really low. Like I'm glad we're over half. But so for folks who are listening, if you're not doing this, like don't be ashamed.
Like I know we're all like, oh, you've got to do this. Okay. There are a lot of people, obviously, there are a lot of people exactly where you are, but there are a lot of people where you are who've also been like, you know what, we can do this. This is a very doable thing.
And this is something you can really change for your company. If you're in the position where you're like, actually, we're not doing that, this is a huge opportunity for you. And whatever tooling you're going to use, like this, you've been pushing or tooling, whatever tooling you're going to use, moving this for your organization can be the foundation of doing a lot of good stuff. And even just by itself, having the ability to say, oh, at this point, we change something is really dramatic.
So even if you start out just by being like, we're going to take a script out production every night, maybe in a long made of fashion and dumped that into version control, right? Which is going backwards because you're grabbing from production and then going to version control, even going backwards is better than nothing. So just start wherever you can start. It's a big opportunity if you're in that camp.
And this is a number that we as a community, we need to grow this number because it's a foundation of so much good stuff. Sorry, I'm an advocate. I'm an advocate advocate job came out right there. Yeah, definitely.
Yeah, this is a big opportunity for 44% of you. Kendra, do you have a favorite statistic? We've gone through mine. We've gone through Chris's.
Yeah, I've got a favorite statistic. My favorite statistic was that production database deployment frequency is increasing. And yeah, I thought that one. So it's daily now as already at about 49%, which I thought was crazy, crazy high.
Again, it's kind of strange, right? You have crazy local versioning, but also a lot of people are deploying daily really frequently. Well, it's weekly or more often. So our frequent deployers are at least once a week or more often.
And this number in 2018, 37% were said we're deploying it weekly or more often. In 2019, 40%. So it went up 3% between those two years. And it came out mostly.
We have this group of people who they're like, yeah, we don't deploy very often. And they've remained steady. The people who are like, we deploy once or a few times a year, they've remained somewhat steady. But it's these people who were deploying once or twice a month, they are speeding up.
So in 2020, we went from 40% deploying weekly or more often to 49%. So we went just kind of jumping two years now. Our frequent deployers was used to be only 37%. And now it's 49%.
So almost half of our respondents are deploying at least once a week, whereas that used to be considerably lower. And we're also seeing kind of a related statistic, where we have a lot of people now, the majority of people in fact are saying we deploy our database changes when the system is live for users. We don't have to take a downtime to do this. Even if, and there's another question is that, hey, do you have a regular downtime that you can use for deploying code?
Even for teams who are like, yeah, we have a weekly downtime, we could use most of them are like, yeah, we deploy when the system's online. And I think that's for very real reasons. This is normal for app code, but it's becoming really normal for database code as well. And I am like, it is about time go people do this, stop being, stop being afraid of the database and figure out how you can do this, because it increases the quality of life for everyone who works with the database to not have to wake up in the middle of the night and deploy things at 1am and take off.
Yeah, I think we've, we've heard from a lot of DBAs in the past, how much they hate being on call overnight. I think there's been Twitter threads and I think if you go to DBA reactions as well, there's just tons and tons and tons of gifts of people who are woken up in the middle of the night when the SQL server's gone offline, for instance. And it's just absolutely nightmare. And this is actually where monitoring, I think comes into the fray as well.
And you can never, you're monitoring tool can't do everything right, you're monitoring tool is not a DBA. You are the doctor, you are the the nurse, the healthcare professional, whoever you want to be. And the monitoring tool is the heart rate monitor, right? It's the thing that has all the bells and whistles to help you identify when things have gone wrong, but it can also help out with your deployments, right?
Yeah. So some of my favorite features, this, this is a little bit, I'm going to talk a little bit about redgate products here, but if you're going to, you're going to know that a little bit, now, can you nerd out a little bit on redgate products? But even if you aren't a redgate customer, I think this is a big trend that you should look for. And you should ask your monitoring vendor choice, you say, Hey, we want this.
I mean, you could also buy our stuff, but that's cool. So one of the, one of the things that I always had a problem with as a DBA, and we would deploy, so the team I was working with, we went from like, Oh, we got to take the system down all weekend every quarter to do this long deployment, we moved from there to, Oh, we deploy all the time, we deploy during the day, during the week, while the system's live, and we figure out how to do this to make it so that it doesn't cause problems. So we went through that whole transition. But essentially, what we really, really found was, I'm like, I've kind of lost my train of thought.
It's the bad one. I think it's actually the excitement. So we were talking about on call, we were talking about responding for on call, pick it up, wait, wait, wait, give me the thread. Deployments of monitoring.
Oh, it's a feature. I was like, there's like, eight, because the problem is there's eight things I'm excited about talking about. So even deploying during the work day, even when I was the one who ran the deployment, I would have a hard time figuring out, Oh man, okay, what exact time did we do that deployment at and what happened right after that, even if I was literally the one who kicked off the script. And it's because, did you just notice how I forgot what I was doing?
That's been normal my whole life. I'm like, I think it was yesterday around one. So more and more monitoring tools, the trend in this is to make it so that when deployments happen, it's really clear in monitoring automatically. You don't have to remember, right?
Humans, it's not just me. We suck at remembering. And the more we have to rely on remembering the harder it is. So we also are starting to build in features to monitoring tools that let you also annotate in the monitoring tool yourself.
You can talk to an API and you can say, okay, this per this issue I got reported, maybe it was reported by a customer that thinks we're so I'm going to annotate this on the graph. And then I'm going to find other examples on it. And that way, everyone who's looking at this at the graph can see it, right? You can use APIs, you can have automatic annotations to that graph.
You can also note it yourself by talking to that API, whether in a PowerShell script or tool you've built, you're essentially saying that humans don't have to remember because just like I just lost that thread, we lose the thread all the time, we have so many distractions. So I think that is a big trend in monitoring tools where it's not just enough to have the graph pick up your performance counters and your weights that we need that, but we also need our users who are investigating issues to be able to write to those graphs, we need our deployments to write to those graphs so we can really much more quickly correlate things without losing the thread. And that is my story. That makes a lot of sense.
But yeah, I think that is a big part of where monitoring is going where it's going to become a much more interactive thing where our IT and our operations staff are adding markers around all of the observations that monitoring tool is picking up about our database and our application activity. And as we are deploying multiple times a day, we really, really need that. Absolutely. Okay, well, I think we've been talking already for about 40, 45 minutes-ish, pending editing.
It feels like it's only five minutes. Once you cut out all of my chuckling in the background, it'll be down to like 20 seconds. Like a drunkard uncle at Christmas. Exactly.
Y'all edit your podcast? Wow. Wow. Chris says a lot of dodgy stuff.
We edit the podcast basically because in the past, all it's been is Chris and I sat in a room drinking beer and the amount of lip smacking that I have to remove from this podcast, historically, is you could fill like a three-hour podcast with just Chris and I go, oh, and it's like, oh, no, no, that is not the ASMR video that we are after. I was just thinking about ASMR. So I am like, I don't think I really understand ASMR. Did you not watch the Corgi video that I sent you of the Corgi eating the dog biscuits under ASMR?
So I've seen examples of ASMR. I think I don't actually understand what is it that people like about ASMR. Like, I think there's something essential I'm missing. There's, I don't know, it's something that you're either really into or really not into.
I don't think it's something that can be explained. I think it's either got that feeling or you've not. I'm officially old because I'm like, I just don't get it. I've been saying I'm officially old since I was like 11.
One quick thing I did also want to call out from the report before we move on. Sorry, Chris. Do it. Is around cloud adoption.
Like the section around cloud adoption, I thought was really clear and concise and the message it was saying. And it's something that I've kind of thought a lot about. You know, you have people 10 years ago who were continuously talking about the cloud, like it was the next big thing. And you know what it is like, like there's so many buzzwords, the next buzzword gets picked up and it's all you ever hear about and everything is incorporating that.
At the moment, we're kind of in the middle of this and actually I'm hoping coming out of it with AI and machine learning. Everything is about AI and everything is using AI in some way, whether it makes sense or not. But you can see quite clearly that cloud adoption is definitely not as high as people might assume. Yeah.
I didn't like skyrocketed up from last year. No, it's trickling that way. And over time, I think more people will adopt the cloud, but it's definitely not a big explosion. Yeah.
But the cloud is doing really, really well. I feel like the cloud has become normal, especially for enterprises, right? You've got some cloud, right? You're kind of some stuff in the cloud, but not everything.
I'm really, really excited that Microsoft this year has come out with the Azure Arc stuff saying, you know, the way that we manage things in the cloud, you might be able to do that on-premise as well in the same way. And that this there's this bridge between cloud and on-prem happening, which I think is really, really natural to take some of the advantages and the amazing ability to leverage cloud services and be able to run those on-prem too. It's almost like cloud services is now like, oh, we're not actually threatened by on-prem so much anymore. We're actually big enough now.
We're making enough money now that we'll let we'll share the goodness with you. The whole hybrid model is something that people just don't talk enough about, but it's pretty clear that most people have a hybrid kind of setup, whether it be in a project or across an enterprise. Hybrid seems to be the approach. And something I've said so many times again, this is one of my things that Chris is bored of hearing is even Microsoft these days are very much saying and talking about people in a hybrid estate, not talking about people in a cloud as they inhale cloud as the way forward.
Hybrid is the way forward. Yeah. I'm not even tired of you talking about that because I've literally written two articles on restoring on basically taking either RDSPAS or as your SQL database and getting a copy on prem. So I'm 100% in bed with that idea.
I think you'll bang on. And if we're monitoring, then also important that you can monitor everything that would be on-premise or in cloud. You mentioned machine learning and AI. Can I share one of my favorite tweets with you?
Can I share one of my favorite tweets? So Matt Veloso, if you're not following Matt Veloso on Twitter, I really enjoy following him. He has an amazing job. Matt Veloso is the technical advisor to the CEO at Microsoft.
Right? So it's really, really cool. He gets to be the tech advisor to Microsoft CEO. So he gets to see like all of these big wigs walking in and out of the office when he's not working from home.
So anyway, this is actually an older tweet. It's from near the end of 2018, but he tweeted the difference between machine learning and AI. If it's written in Python, it's probably machine learning. If it's written in PowerPoint, it's probably artificial intelligence.
Yeah, that's very true. I saw someone had a great definition of AI, which is that AI is everything that you can't define. Fantastic. Exactly.
So you put it in a PowerPoint. My personal favorite is the picture of the dog with his nose poking through the cardboard square and the cardboard square says the cardboard square basically says that we have his AI and machine learning and then behind the cardboard, there's another layer of cardboard and it says complicated algorithms. And then there's a picture of the dog looking worried and it just says if. Yeah, or the other great one, which is like we'll put you into this black box machine learning system, which is actually 500 consultants.
Just tiny imps, just tiny imps, all the keyboards. As a former consultant, I can only agree. Not that I was implying that consultants are imps. I should point this out.
Oh, we're terrible. I'm not a consultant now. Oh, they go. You have terrible.
Oh, dear. Well, just to get us back on track, Kendra, we've already heard Chris's key takeaway then. If you had to pick a key takeaway from the state of database, they're not just before we move on to the news. What would your key takeaway and suggestion to our listeners be?
Oh, this is fantastic. So one big takeaway. I think my big takeaway is we're going to have to go faster. And the question is, can you help deploy faster but with greater quality?
Or do you just kind of have to go with the flow? You have a big opportunity here. It's just a given that we're going to need to deploy faster. So there's a big opportunity here where you can say, how can we up our game, whether we don't have our code in source control yet or whether we do, but how can we make this better so that we can ensure that it's going to be quality code that's deployed and we have a good quality of life while deploying this code because I think at this point, it really is a given that we have to be able to make changes really, really quickly.
And it's going to have to happen to the database just like the applications. Yeah. So that's my big takeaway. It's a big opportunity in terms of helping people make stuff better.
And so folks who've been working with the databases for a long time who have the understanding of, okay, where do we mess up? And how can we avoid this that really have a big way to shift that knowledge into more of a, I hate to say consultant, but more of a consultant based role where they're helping say, we need to automate this. We need to be able to figure this out by default and not just right before it's a place of production early in the process. That's a great takeaway.
That's a great thing though. Pertinent, pertinent and poignant and profound. I don't think it's poignant. Does that make you want to cry?
Not necessarily. No, it's not like a synonym for pertinent or something. Oh, I always thought it was like a tear jerker. It's more like something deeper meaningful.
I mean, bad database deployments can be a tearker, you're welcome, you're welcome. So I just looked at poignant and it says evoking a key incense of sadness or regrets. No, you're not right. We are right.
It also says it might be a sharp or pungent in Jesus's mouth. You might have been calling my comment stinky. Or sharp. Or sharp.
I think that's only, you know, you never get the full nuance of something and just the online dictionary. But yeah, I let now in today's episode, we thought deeply about the word poignant. Well, so I'm looking at Merriam Webstar because I know that's the dictionary of go-to for the United States and the definitions are painfully affecting the feelings, i.e. piercing or deeply affecting.
Oh, yeah, that's the tears-welling one. Or the other one is designed to make an impression, i.e. cutting. So poignant satire, for instance.
Yeah. Anyway, I'm going to cut in myself by just a lot of this section. I just leave you with my key takeaway as well. My favorite bit.
I'm going to see how many times I can use poignant in the next week. The bourbon is really here. No, that's just my actual personality. When the Kendra drops, let alone the bourbon.
So I'm going to leave you with my key takeaway as well, which is that I think one of the things to bear in mind, I don't even know how to phrase it. Oh, gosh. It's the one we had over with you. I think the thing that I would say is do a little to achieve a lot is my takeaway.
We've talked about a small number of people having database code under source control relatively, small number versus application code. We've talked about a relatively small number of people automatically building testing and deploying changes. And we already talked about how, say, pull request automation can be a huge way of easily testing database code earlier on. And I think all of these things are great things.
But don't try, I mean, I'm not going to say don't jump for the stars. I don't reach for the stars. Of course, reach for the stars. But do a bit at a time.
Set yourself realistic goals. And the last thing that anyone wants to do, and it's quite funny when you look at it in this way. But the last thing you want to do with a DevOps approach is to take a waterfall big bang approach to DevOps. You don't want to look at, oh, we should be doing DevOps quickly, analyze the situation.
Great. Okay, we've got the scope. Now we're going to try and implement it and then we're going to test our DevOps. Oh, no, it's all falling over.
We're going to have to go back to the beginning. What we need is a nice iterative DevOps style approach to implementing DevOps itself. And even if there's something that you are not doing on that list of DevOps goodness, then take off a small chunk. Okay.
Yeah, I'm going to put a counterpoint now. I think that you should reach for the stars. I think that you should climb every mountain high. And I think you should follow your heart's desire.
Wow. I just, my personal trainer in Portland, I really miss a piece like she would always say, well, your heart, but she would say it ironically. But no, I'm sorry. Please continue.
Oh, with his counterpoint. Oh, I like hearing the other side too. I like hearing both sides. I want to hear the strong counterpoint.
Well, the strong counterpoint mainly revolves from everyone out about, about knowing that when that rainbow is shining over you, that's when all your dreams will all come true. Is that steps? No, it's a club seven club seven. That's when your dreams will all come true.
Yeah. So I didn't realize recently, but a lot of Americans view as club seven is a one hit wonder. Really? And this is a fun one.
This is the fun one of trying to guess what the hit was, because it's not what you think it is. What was the hit? The hit was the one I can't remember the name but the one way they're in the video, they're in the ice thing and it's really sad. I'm not a big S club seven fan.
I feel like I'm 900 years old right now. I have no idea what you are talking about. Well, this is the time neither do we? Yeah.
This is something that you're going to embrace now that you're in the in the mother country. S club seven. Yeah. S club seven.
My cultural education begins. Exactly. Oh, and very quickly. So on that point, it's been almost an hour now.
So it's probably a good time. And Kendra, I don't know if you can harmonize with us here. You feel free to feel free not to, but it is of course time for a slightly shorter the news. Oh, Chris, you were way too quiet there.