Tag: Redgate

  • A Redgate Data Modeler Gotcha with Relationships

    This happened to me recently after being busy with non-data modeling tasks for a few weeks. I went to add a relationship and was confused about the behavior. Read on to see what happened and what I did.

    This is part of a series on Redgate Data Modeler.

    Adding a Relationship

    I opened one of my models and saw something like this. Note that the Article and ArticleTag entities aren’t related.

    2026-04_0220

    I decided to add a relationship. This is a Many to Many, so I clicked on that icon in the toolbar.

    2026-04_0221

    I then clicked on the Article entity and saw this. It’s a self-referencing relationship.

    2026-04_0222

    What??? I assumed I’d click one entity, then the other. I tried grabbing various elements of the relationship to move them, but nothing worked. I could move them around within the relationship, but not to another entity.

    2026-04_0223

    I deleted and added this a few times before I decided to check the docs. On this page for relationships, I found my mistake. There is this quote: “If you’ve already selected the tool, simply drag from one entity to another.”

    Aha.

    If I click the toolbar relationship icon, and then drag from one to the other, it works.

    2026-04_0224

    I suspect this is an artifact of the web controls, but it was weird for me to not be able to alter the relationship targets. Even in the right properties pane, I can’t change this.

    2026-04_0225

    Summary

    A simple thing, but not quite as intuitive as I’d like. However, one needs to learn to use tools, which means reading docs or using Claude/ChatGPT andfingers crossed

    This is a reminder to drag relationships in your Redgate Data Modeler models and don’t get away from modeling for weeks, like I did.

    Give Redgate Data Modeler a try and see if it helps you and your team get a handle on your database.

    Video Walkthrough

    Here’s a short video of my working with Redgate Data Modeler and changing cardinality.

  • SWAG Saves the Day

    PASS Summit East is in one week.

    I was on the road last week in the UK and then Houston for the Houston AI-lytics event. I had been a little under the weather all week, and when I arrived in Houston, I decided to stay in the hotel and rest. Plus the 6:00 arrival was midnight for my body.

    I walked next door and got some takeout and then grabbed a beer from the hotel store to relax and get to sleep early. Unfortunately, the bottle needed an opened. Fortunately, I was prepared.

    2026-04_line0036

    This little opener is a piece of swag I got from Redgate years ago and I’ve kept it in my bag for just such occasions. No walking back to the desk, no disappointment, just a handy item that let me relax and get to sleep by 8.

    I don’t know what swag Redgate or others will have next week at the PASS Summit East 2026 in Chicago, but if you don’t go, you won’t know. Register for the event, book a flight, come join me.

    Sure, you might get some just-in-time training from a precon that lets you learn about PostgreSQL from Grant and Pat or how to secure your estate from Andreas. Did you know Andreas did this job for Microsoft for years, architecting security features?

    There are lots of sessions where you might get inspired by a demo or get a question answered about your environment. Those are great, but who knows what SWAG you’ll find. You might get a handy tool you didn’t expect that saves your day, or night.

    Send yourself. Send a colleague.

    Send someone today to learn a few things, connect with others, and collect some swag. Register for the PASS Summit East and join me in Chicago next week.

  • The Book of Redgate: Do the Right Things

    I do believe that Redgate has been very customer focused since it’s inception. I’ve worked with them in some capacity since 2002 and I’ve felt this along the way:

    2026-02_0177

    The next page has this statement:

    We believe that if we do what is right for our customers then we will thrive.

    I think that’s been true when we keep this in mind. The (relatively) few times we’ve started to do things for ourselves rather than thinking about customers, things haven’t worked out as well.

    I think this sentiment is one that guides a lot of my life. Certainly inside Redgate, but also in the rest of my life. If I do what is best for another, or the world, often that works out well. It doesn’t mean I’m as efficient, profitable, less stressed, or anything else as I could be.

    But I’m happier and I thrive.

    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.

  • Monday Monitor Tips: Oracle Custom Metrics

    One of the popular features of Redgate Monitor has been the ability to add custom mertics for various purposes. This has been popular, and along with our curated list at sqlmonitormetrics.com, it’s a feature that’s used by many.

    It has been a SQL Server only function for awhile, but customers have requested other platforms. We’ve added the capability for Oracle and PostgreSQL.

    This is part of a series of posts on Redgate Monitor. Click to see the other posts.

    Adding Custom Metrics

    You can see on my custom metric config page that I have a few business metrics added. I recommend these to customers as often a business metric catches an issue before it appears in Perfmon type data. Let’s add a new metric. I’ll click the

    2026-04_0236

    I’ll click the “Add a custom metric on the right side” and will get a new form.

    2026-04_0237

    This form used to be mostly the same, but the “Choose where to collect data from” didn’t have a drop down. It only had the 1. Select instances and the 2. Select databases (to the right). This new drop down is where you pick the platform.

    2026-04_0238

    If I click the drop down, I see three choices: SQL Server, Oracle, and PostgreSQL.

    2026-04_0239

    I can select Oracle and my select database section disappears. This is because an instance and a database are the same thing in Oracle.

    2026-04_0242

    If I select PostgreSQL, I can still select databases.

    2026-04_0240

    The rest of the form works the same way. When I’ve selected Oracle, I get a default query listed that lets me know the structure of my result set. I need to return an integer with the con_id, a metric value that is a scalar and an optional string with details.

    From there things work as they do with other metrics.

    Summary

    This post shows a new capability in Redgate Monitor for Oracle, where you can track your own data, as you see fit, and then let Redgate Monitor alert on changes, graph this over time, and help you better understand your system.

    We are enhancing and adding to Redgate Monitor every week, but there are always more things that many of you want, and custom metrics give you the ability to choose what you want to monitor.

    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.