We’ve celebrated our birthday many times at Redgate. In the Book of Redgate – 2012 edition, the book opens with a photo album of the early years.
We’ve got a bunch of images from up high, where employees were spelling out our anniversaries. We have the 12th anniversary here, with a disorganized view.
and an organized one.
There are other photos in the book as well, which mimic what we have in the offices. In each location, we have some photoboards where we’ve captured moments and memories from the past. Here’s one of the boards in Cambridge.
Here’s the packed on in Pasadena.
I love that we still share physical photos, as well as lots of digital images. Slack and our in-office monitors are constantly displaying photos of things happening at Redgate.
It’s a neat way to bring a little levity to what can be a stressful environment at times.
I have a copy of the Book of Redgate from 2010. This was a book we produced internally about the company after 10 years in existence. At that time, I’d been there for about 3 years, and it was interesting to learn a some things about the company. This series of posts looks back at the Book of Redgate 15 years later.
We keep adding stuff to Redgate Monitor, and it’s easy to miss some of the improvements. Here’s one that’s been around quite awhile, but while discussing the product with a customer who uses Redgate Monitor, I realized they weren’t aware of this.
I was looking at a set of queries on the SSC servers with an SE and a customer. The SE pointed out that we surface some code issues on this page. There’s a blue lightbulb next to one of the queries.
I’ve zoomed in, but if you go to monitor.red-gate.com, you’ll find this somewhere in the list. This is to the right, where the database name is listed.
If we expand this query from the left side (the arrow), we see details, but below the plan handle, we’ve noted that Redgate Monitor has run code analysis and identified an issue. In this case, there’s one issue, but I’ve seen 3 or 4 on some client systems.
We can click the blue text above (1 issues with this query) and this opens a dialog where I can see the query and the code analysis issue identified. In this case, we don’t have a schema name in here, which is just poor practice and a potential place you could have issues, if you add schemas and users might have a different default.
One cool thing, is that if I click the slide in the upper right, I get a better format for the code.
Our code analysis rules are documented on our side, and there is a link at the bottom of the dialog that popped up. It’s to the lower right, and I cropped it out to get a slightly better image. If does to the Code Analysis pages at documentation.red-gate.com. Here you can read about our code smells and rules, which are also checked by SQL Prompt.
Summary
This is a small thing, but it helps with Operations people who might want to suggest ways that code could be improved, whether to clean up the codebase or for better performance. Once you start to establish guidance, and provide useful solutions, you can collaborate and other changes are possible.
If you use Redgate Monitor, look for these items and see if you can encourage some refactoring from developers.
Redgate Monitor is a world-class monitoring solution for your database estate. Download a trial today and see how it can help you manage your estate more efficiently.
I’ve covered the values in a number of previous posts on the Book of Redgate. Those values came from our founders, Simon Galbraith and Neil Davidson. I am lucky enough, and honored to have known these gentlemen for many years and had the chance to sit and chat with them throughout my time at Redgate. Simon and I still get together periodically even today after 25 years.
In the Book of Redgate, there’s a section about prehistory. In it, there’s this picture and text. Neil and Simon have known each other since they were sixteen, starting a business together after they spent time at university.
Neil stepped away from the company many years ago, for a variety of reasons, and he remained on the board for many years. Simon continued as CEO for a long time and stepped down right after the pandemic. He remains on the board today.
The thing that caught my eye is that they worked together from their 20s until their 40s. I still remember their joint 40th birthday party at the old Redgate office. How many people have you worked with for 20 years?
How many of you have worked for an organization for 20 years?
I guess I’ve worked for SQL Server Central for 25 years, but only some of those were me working for myself. I’ve been with Redgate almost 20 years as a contractor and employee, but I haven’t spent 20 years with anyone outside of my family and Andy Warren.
He and I still talk most weeks, even though we’re not in business together anymore.
Redgate has remained a strong brand and presence in my life and that of many others. Part of that is the longevity of so many employees. We’ve had some ups and downs, but relatively few turnover over the years. More recently, especially in sales, but there are a lot of people who have worked there for more than 10 years.
That’s still amazing to me.
I have a copy of the Book of Redgate from 2010. This was a book we produced internally about the company after 10 years in existence. At that time, I’d been there for about 3 years, and it was interesting to learn a some things about the company. This series of posts looks back at the Book of Redgate 15 years later.
It’s a small change, but a handy one. Flyway Desktop (FWD) now includes the object history for different schema changes, so as you are evaluating how your changes might fit in with others, or you are trying to determine where something broke, you can see a list of historical changes. This post looks at checking history quickly in FWD.
I’ve been working with Flyway and Flyway Desktop and helping customers improve their database development. This series looks at some tips I’ve gotten along the way.
Checking History
In Flyway Deskop, I can see all of my objects on the Schema Model tab on the right side. Here I’ve selected CustProc in the list, and at the bottom I see the current version of the code. However, if you look where my cursor is, there’s a small clock there.
If I click this, I see a blade pop out with history. On the left, I see the various versions. At the top, I have the uncommitted change I just saved. This is shown as the older version on the left, which is committed in Git. My new changes are on the right, with green shading to highlight what I’ve changed in code.
However, maybe I wonder what was the previous change. If I click the top commit (c398a9d), I see this view. Note the red shading on the left, which are the columns I removed. I also have the green shading on the right, where I’ve added a comment and removed a comma. My commit message is at the top with my name and the time (upper right).
I can flip through the various history iterations of code here, just as I did with Git, but I can do this while I’m doing development work in the same place I’ve capturing changes.
I have a “go to Version Control at the top as well, which opens the VCS tab. Here I can commit the change.
Once I do that, my change appears as a new commit for this object in the history.
AI Sparkle
It can be easy to sometimes see the changes made by a developer and understand them. However, sometimes there are complex changes, or you don’t notice something. Here I’ve got a more complex object history.
In the upper right, there’s an AI sparkle next to the “Explain this change”. If I click that, and have AI features enabled, I get an explanation. I’ve zoomed in to see this at the top.
This is a summary of the changes, which in the chaos of work, can be helpful. I get a quick summary.
I wouldn’t just trust this, but instead this guides me along the code to look at what’s been removed and added, and this summary helps me double check that the code does this, and that I understand it.
Summary
This a small improvement, but one that keeps you focused on the work: what changed. No hunting down the changes in Git or changing somewhere else. This also is easier to see than a git diff for me. It also gives me a quick summary where there are a lot of changes.
If you work with Flyway, update your desktop and give it a try. We would love to hear your feedback.
Flyway is an incredible way of deploying changes from one database to another, and now includes both migration-based and state-based deployments. You get the flexibility you need to control database changes in your environment. If you’ve never used it, give it a try today. It works for SQL Server, Oracle, PostgreSQL and nearly 50 other platforms.