← All work

Google · Core Data20204 min read

Improving Usability for Google's Query Profiler Launch

Rounds of usability testing on a rebuilt internal query tool, ending in a launch study that scored it 79.7 on the System Usability Scale, ahead of three other tools on the same scorecard.

79.7
SUS score, launch study
56% → 88%
Simple-task success
22% → 75%
Complex-task success

Role: User Researcher

  • Formative usability testing
  • Summative usability testing
  • SUS benchmarking
01Context

Query Profiler 2.0 was about to go to every engineer in the org, and the team needed to know it was ready

Engineers, data scientists and PMs in Core Data used Query Profiler daily to find out why a query was slow. The old version ran on outdated technology and carried a third-party dependency, and people used it anyway because nothing else did the job. A 2017 study had measured it at a System Usability Scale score of 43.7 with 53% task success. A 2019 follow-up found that people couldn’t tell how the tool’s fragments connected to each other, wanted clearer terminology, and leaned on a plan graph most of them didn’t fully trust. Version 2.0 was being rebuilt to fix that, and my job was to find out whether it had before it shipped.

02Method

Early rounds on mock-ups, scored rounds on a working tool

The design kept moving while I tested it. Some rounds ran on non-interactive mock-ups, and I left those out of the scores, because a mock-up and a working tool can’t be compared fairly. The earlier rounds, in 2018 and 2019, were owned by other lead researchers, and I facilitated sessions through my lab’s work with the team. I took over the later rounds and the launch study.

The launch study was a 60-minute remote lab session with 8 people, a mix of power users (about every two weeks), standard users (once or twice a month) and newer ones, and 7 of the 8 had used the tool before. Each person did two tasks, improving the performance of a simple query and of a complex one. I logged completion, time, clicks, errors and which resources they used, and afterward they filled in a five-question satisfaction survey and the ten-question SUS. Every task was sorted ahead of time into what had to work for launch and what would be nice to have, so the team could see what was blocking.

03Findings

Scores went up in steps, and people still wanted more help once they were inside the tool

  1. 01
    The progress was uneven.

    On the simple task the usability score went from 48.9 in the baseline test to 61.7 in the first iteration, dropped to 45.8 in the second, and reached 81.2 in the launch study. Simple-task success rose from 56% to 88%. The complex task started at 22% and reached 75%, after two rounds in the middle where nobody completed it.

  2. 02
    The overall score cleared the other tools on the scorecard.

    The SUS came out at 79.7. Three other tools on the same scorecard sat between 72.8 and 73.5.

  3. 03
    Error messages found the cause and stopped there.

    6 of 8 said the messages helped them pinpoint what was wrong, but 5 of 8 weren’t sure how to fix it, and 4 of 8 couldn’t tell whether their change had made any difference.

  4. 04
    Confidence trailed the interface.

    5 of 8 said they needed to explore more before they could use the tool well. Four were familiar only with the old interface and had no experience with the other functionality.

Key insight

6 of 8 asked to stay in the new interface rather than be switched back to the old one, and 4 of 8 said finding information was far easier than before.

A later round in December 2020 put the new interface in front of five engineers who optimize queries for a living. The interface introduced a lot of new concepts at once, and it showed in what they missed.

Query Profiler screen showing the worker usage over time graph above a plan graph, with two separate color legends and a fragment pop-up on the right. Internal file paths are blacked out.
December 2020 screen, file paths blacked outTwo legends, one above the graph and one beside the plan. Three of five people had trouble finding a legend, and two matched one to the wrong chart.
Worker usage over time graph that stays flat for several seconds before activity appears.
Worker usage graphThe flat stretch at the start looked to one person like workers doing nothing.
A wide Query Profiler plan graph made of many connected fragment boxes, shown zoomed out.
The plan graph, zoomed outTwo of five couldn’t tell whether the fragments ran in parallel or one after another.

Here is some of what they said.

“It’s the discoverability of the tooling here is much better than before for sure. It’s easier to see what you have at your disposal.”
Participant, December round
“This is definitely like a lot better than before but I think it’d be a lot easier if it gave some kind of actionable feedback…”
Participant, December round
“I don’t really have like a point of reference to know what would be good or bad.”
Participant, December round

Four of those five also asked to stay in the new interface. Across the eight launch-study participants, the specific things that tripped people up were small and fixable:

  • Finding and reading the cardinality information3 of 8
  • Connecting the plan graph to the query text2 of 8
  • Discovering the Coordinators and Workers tabs2 of 8
  • What the dropdown items in the workers table meant2 of 8
Limits of this evidence

Eight people in the launch study and five in the December round, most of whom already knew the tool, is enough to find problems and a weak basis for a precise score. Mock-up rounds aren’t in the numbers. I only have the other tools’ SUS scores, not how their studies were run. The post-launch figures below come from my own notes from the time, since the original reports are hard to get at now.

04Outcome

General availability waited for the score, and the fixes went in first

The team held the launch until the tool could be scored against the organization’s SUS standard, and fixed or added every item on the recommendation list in the meantime. The recommendations were an in-tool onboarding experience, along the lines of the one in Plx Explorer, hints at the unclear fields that link to the right documentation, examples and ideal use cases for query optimization, and more detail in the fragment pop-up on the table source and the cause of throttling. That last one was marked fixed by the next review. Post-launch, satisfaction went from 43% to 76% over three months.

I did the same kind of work across the Core Data tools in this role, with engineering, product and data science. Together those fixes cut the time it took to get started with a new tool by 25% and raised engineer productivity by 15%. The launch gate itself got reused on later releases. My own notes on what I’d repeat are short: test on mock-ups early, because those rounds shaped more than I expected, and stop short of chasing perfection when good is good enough.

Simple query task: usability score by scored round

406590Baseline testLaunch study81.2