Winterboer Agile Analytics

  • Services
    • Training
    • Consulting
  • About
    • Lynn Winterboer
    • Chad Winterboer
    • Katrina Starkweather
  • Testimonials
  • Events
  • Blog
  • Contact

September 7, 2016 by Lynn Winterboer 1 Comment

Review of Scott Ambler’s Agile Database Techniques Stack

The Agile Database Techniques Stack: Bridging the Agile/Data Cultural Divide Presented by Scott Ambler Monday, July 25, 106 at Agile2016 in Atlanta, Georgia

Review by Joe Bernardini

One of the best, most enlightening sessions I attended at Agile 2016 was Scott Ambler’s session on “The Agile Database Techniques Stack.” The theme of the presentation was the difference, or as Scott stated, the chasm between the Dev Ops development process and the processes used in data warehouse / business Intelligence applications.

This chart* graphically showed this point:

Database Techniques Stack Cultural Impedance Mismatch

*Source: Agiledata.org/essays/culturalImpedanceMismatch.html © Disciplined Agile Consortium

The question then is: “Why is there this chasm, and how do we as DW/BI professionals close this gap?”

Here’s Why:

  • Rigid data organizations
  • Developers don’t speak data, and data people don’t know development
  • BRUF – Big Requirements Up Front
  • Lack of Data Testing – data not treated as the asset as it is described
  • Traditional Change management is actually change prevention, stifling Continuous Integration
  • Lost sight of real goal to fulfill stakeholder’s needs
  • No strategy to address data quality issues

How We Can Fix This:

  • Work Collaboratively – pair / mob development
  • Embrace changing requirements
  • Adapt usage driven development – data usage is more important than data structures, “user stories drive development, not data models”
  • Deliver incrementally

Evolutionary Approach by Ambler

  • Pay down technical debt – refactor, work to change the T in ETL from Big T to Little T
  • Be pragmatic – one version of the truth may not be an answer
  • Create light weight and valuable artifacts

Create Lightweight and Valuable Artifacts Ambler

The Agile Database Techniques Stack, developed by Scott, includes the following:

  • Vertical Slicing
  • Clean Architecture and Design
  • Agile Data Modeling
  • Database Refactoring
  • Database Regression Testing
  • Continuous Database Integration
  • Configuration Management

Vertical Slices of a Solution

Every iteration of an agile team produces a working solution. The functionality is added vertically, in vertical slices. He gave examples of slicing strategies for DW/BI: one new element from a single data source, one new data element from several sources, a change to an existing report, a new report, a new reporting view and a new data mart table.

Scott reviewed considerations or clean data architecture. I won’t go into that here, but will list them:

  • Create Clean Data Architecture
  • Consistency
  • Solution Fit
  • Latency
  • Security
  • Scalability

Then he discussed strategies for Clean Database Design(here’s a quick overview)

  • Normalization understanding (are you storing data in one and one-only place?)
  • Design for Database Type – OLTP (transactional -> normalized design) and OLAP (analytical -> denormalized design)
  • Tables and columns should be cohesive
  • Future Proof – Historical values, soft/hard deletes, unique surrogate key, all relationships many-to-many
  • Set and follow naming conventions

Agile Data Modeling is a concept. Rather than starting development from a fully completed detail data model, the agile data modelling process flows from Conceptual Model to a Detailed Physical Model – where ddl is created and development starts, followed by rounds of iterative development and testing of data usage, after which a detailed data specification is completed.  Data modeling, says Scott, is an act of exploring data-oriented structures. It should be evolutionary and incremental, focused on data usage, and should be done collaboratively.

High-level conceptual -> detailed physical (ddl) -> detailed specification

Scott listed and discussed several other agile database techniques. These included: refactoring and regression testing. Refactoring is simple change to a database schema that improves it design while retaining both its behavioral and informational semantics. He has a very good book on this, “Refactoring Databases,” that goes into a lot more detail. In regression testing, he pointed out that as agilists we develop regression unit and acceptance test suites for our applications, so why would we not also do this for databases? He also believes that database testing at the black-box level (which is just a starting point) is really not enough. He is supportive of Test/Behavior Driven Database Development as a practical approach to ensuring database quality, but it’s not a stand-alone activity. He also likes Continuous Integration and Databases, but did say that there is no good one tool solution and that the increase use of mocks may be required.  In Configuration Management, Scott is a proponent of keeping all work products in a versioned repository, this includes database objects. He gave several good reasons why we should do it this way, including the fact that it maintains the integrity of the system and all supporting work products as they evolve.

Overall, Scott Ambler and this session, stimulated my thinking about the challenges in using Agile in a Data Warehouse / Business Intelligence environment.  He was honest about the barriers in the way, but gave a vision and techniques to move BI into an Agile development world.

See the full description and obtain a PDF of his presentation: The Agile Database Techniques Stack: Bridging the Agile/Data Cultural Divide 

Filed Under: Blogs Tagged With: Behavior-Driven Development (BDD), Scott Ambler, Testing

December 20, 2015 by Lynn Winterboer Leave a Comment

Communication and Agile Modeling

AGILE COMMUNICATION

Reflecting on Scott Ambler’s Essay

I spend a portion of my time reading articles and books to expand my knowledge, particularly as it relates to Agile. I read Scott Ambler’s essay, “Communication on Software Agile Teams” and there are several takeaways I’d like to share with you.

Effective communication is required in agile. In fact, the Agile Manifesto says we value “individuals and interaction over processes and tools.” This is a prescription, like a thyroid medication for someone who has low thyroid. You have to have it. You must communicate. The crux of this is, of course, what kind of communication?

Scott Ambler is well-respected database/software engineer, consultant and author. He is the Senior Partner at Scott Ambler + Associates where they are “helping organizations to successfully adopt disciplined agile strategies.” (I really got a lot out of his book, Refactoring, which is about making safe, incremental change to your data model as you go). In this article, Scott talks about the importance of communication, the different kinds of communication (or modes) and how to use communication effectively.

Effective communication is a fundamental requirement for agile modeling. — Scott Ambler

Scott’s essay refers to Alistair Cockburn’s “Modes of Communication” graph from his book, “Agile Software Development.” The graph compares the effectiveness of different modes of communication (like face to face, video conference, audio, etc.) with the “richness of the communication channel employed.” Scott modified the graph some, and you can see it here .

Suffice it to say, there are many modes of communication and their effectiveness varies. The least favored mode of communication, and considered least effective, is a paper document. While the most favored mode of communication, and most effective, is face-to-face communication. In fact, Scott explains that Alistair Cockburn’s preferred communication is “person-to-person, face-to-face, particularly when enhanced by a shared modeling medium such as plain old whiteboard…flipchart, paper or index card.”

I find it’s true that face-to-face communication with a shared medium is the best way to begin a relationship. It’s also a great way to walk through a problem. One of my takeaways from this essay is to employ a shared medium. I’ve had a number of face-to-face conversations that went well, but as I think back on them, I’m sure a whiteboard would have helped even more. And, really, even a napkin works in a pinch!

Scott provides two implications from Cockburn’s graph that we, in the agile world, should consider.

The first: we should strive to follow the most effective communication technique applicable for our situation.

We have an opportunity to look at each situation and discover which mode of communication is the best for our team. And, we need to remember that when we are in the same room with someone, skip the email and walk over for a quick face-to-face meeting.

In agile communication, we value:

when in the same room, face to face with a whiteboard (or other medium) over documents
when in different locations, video over documents

Scott points out that when you are in different locations, you need to connect in-person as well. So, the video is a solid form of communication, but it’s better when you fly out to spend time together in person. Video, audio, phone and in-person communication is further supported with email.

The second: “Be prepared to vary your approach throughout a project.”

I think this is an excellent reminder to us all: one method doesn’t work forever. Because team dynamics change, we do find that what worked six months ago really doesn’t work today. If we needed a daily conference call with a large audience early in our planning and in building our team, we may find months into the project that a daily conference becomes over-kill. And, there may be other times in the project when it’s appropriate to bring the larger group back together regularly. Scott suggests that the best time to discuss changing your mode of communication and frequency is during the retrospectives.

One of the observations Scott made about the effectiveness of different communication modes really caught my attention. He said that different modes work for some, but not for others. For example, developer to developer the instant message tool works very well and is highly preferred to other methods. However, stakeholders really don’t like chat and don’t use it. On the other hand, both developers and stakeholders prefer face-to-face communication over all other modes. And, interestingly enough for those of us who love detailed documents, developers and stakeholders really don’t value a detailed document as much as they value a comprehensive overview. I’ve not seen these observations made before, but realize in my own work how true they are with the different groups. Respecting and working with everyone’s best work mode is an excellent way to improve communication.

There are other factors that effect communication. There’s proximity, temporal proximity and osmotic communication. Scott clarifies that the closer we work together, in the same room for example, the better. In temporal proximity, when we’re working in different time zones, we are going to find communication much more challenging. I work in a lot of distributed team situations and address issues around distributed team communication and tools you can use in another blog post. He also talked about the positive and negative effect of “osmotic communication.” It’s a Cockburn phrase, actually, that refers to the content, references and feelings we pick up when we’re in the same room with our team. It’s beneficial because we hear things and pick up on things that help us understand more of what’s going on for our team or for the organization. It’s negative, sometimes, because we pick up on false rumors.

Finally, one of the factors that effect communication that I found most compelling was Cockburn’s belief in Amicability. “The willingness of someone to hear the thoughts of another person with good will and to speak without malice, is an important success factor.” The more amicability we have, the better our environment, our communication, our product. Ironically, this can be a disservice. If you think amicability means “going along” to “get along” you will create passive aggressive behaviors, hidden agendas, etc. When we say amicability, we want consideration, honesty and respect in our communication.

PrescriptionIn all, effective communication is essential in our organizations. We need to look at the modes available, who is using them, how they are being used and how often. We should discuss and reflect on what’s working and what isn’t working. If projects are falling apart, we should take a look at our communication modes and the richness of our communication channels. We have a number of options, so let’s use them!

Read more:

Communication on Agile Software Teams
Tools for Agile Communication on Distributed Teams

Filed Under: Blogs Tagged With: Agile Values and Principles, Distributed Teams, Scott Ambler

August 7, 2013 by Lynn Winterboer Leave a Comment

Agile Development Methodologies & Book Recommendations

Where to Start…

Wordleforblog
A friend, who I met at a data geek conference last year, recently emailed me for advice:

“Hi Lynn,

Do you have a recommendation for a good book (or two) about agile development methodologies? I’m trying to get more formal development processes in place here, and I’ve read through most of the Wikipedia articles. I’m looking for something with a little more meat, and maybe some real-world examples. A lot of the focus seems to be on scrum. Is that the predominant agile method that people find most effective? I also saw literature about XP and Kanban. Do you have any opinions on the good and the bad about these other ones? Thanks for your advice, I really appreciate getting your perspective.” [Read more…]

Filed Under: Blogs, Review Tagged With: Beginners, eXtreme Programming, Jim Highsmith, Kanban, Ken Collier, Mike Cohn, Project Management, Scott Ambler, Scrum

Search This Website

SiteLock

Events

  • Lynn Hosts: Agile Denver DW/BI March Meetup Mar 23, 2017
  • Agile Denver March Meetup Mar 27, 2017
  • Agile Games and Mob Programming 2017 Conferences Apr 03, 2017

About Us

Winterboer Agile Analytics provides training, coaching and consulting for data warehousing and business intelligence. We are located in Denver, CO.
Contact Us

© 2017 · www.WinterboerAgileAnalytics.com · Created and Managed Starkweather Marketing, LLC