How to Eliminate “Query Overload” in BigQuery

Share on facebook
Share on google
Share on linkedin
Share on twitter
What's a BigQuery user to do when working on many queries at once? How do you stay organized? Here is a simple trick to managing your queries.

Query Overload

Does this sound familiar? 

You’re working on several queries for a project on BigQuery. But you don’t want to sacrifice the results of one query in order to execute another.

So what do you do?

You juggle several Chrome tabs running BigQuery, each containing a different query. But you end up more disorganized than before, with your browser probably looking like this:

messy-bigquery-console-chrome-tabs
Everyone's favorite guessing game — "Which Chrome Tab has the query I'm looking for?"

How do you know which query is where? Luckily, there’s a better way to organize your work.

Less searching, more analyzing.

With multi-tab support for BigQuery (via superQuery), you’ll simplify your query management by separating your work into tabs. After opening a new query tab, you can name it to easily identify it later.

Creating a new query is as simple as clicking the “+” sign just above your SQL Editor. Each tab can even contain multiple SQL statements that you can execute at the same time in one click.

Furthermore, you can organize up to 20 queries per Board, which are essentially folders you place related queries into.

Finally, tabs in superQuery come equipped with Syntax Auto-Detect. With this, you no longer need to tell Google whether you’re using Standard or Legacy syntax. superQuery detects your syntax automatically from your SQL.

BigQuery-Tabs-and-Boards
Here we see a Board called "Marketing Campaigns" with its queries underneath.

Tips on Organizing

Here are some ways you can organize boards and queries (okay, maybe not the last one 😉):

User Acquisition Board

  • LTV:CAC
  • CAC
  • MRR Churn
  • AVG MRR
  • Gross Margin
  • LTV

Marketing Campaigns Board

  • Facebook
  • Twitter
  • LinkedIn
  • Quora
  • Pinterest
  • Instagram

Pokemon Pokedex

  • Easiest to Capture by Type
  • Strongest by Type
  • Strongest by Generation
  • # Pokemon by Type
…but really, the possibilities are endless! It depends on you, the data you’re examining, and how you mentally organize your data insights.

Organize your BigQuery Work

As humans, we seek organization in at least one aspect of our lives  — some even argue it is a basic human need.

Whether it’s putting your ideas into lists or setting up schedules & deadlines, we strive to organize for productivity and simplicity’s sake.

Your work in BigQuery is no different. You should focus on that next crucial insight your analysis will bring, not playing “Musical Chrome Tabs” searching for that work-in-progress query.

Now that you know why you should use tabs to give order to your BigQuery work, give it a try yourself . Peace of mind is literally one click away.

What it feels like when your queries are organized. (Photo by Barn Images on Unsplash)
Close Menu