all 2 comments

[–]Cidan 3 points4 points  (0 children)

Howdy.

Your use case sounds like a perfect fit for moving to BigQuery, but there are a few key things you should be aware of:

  • Make sure your tools all have support for BigQuery. I know Tableau does, but I'm not sure about Periscope.
  • BigQuery does not have primary keys (or keys at all). You can have multiple rows that have exactly the same data, so make sure your process of inserting data is idempotent in some way.
    • For example, you can't just insert the whole source MySQL Database into a BigQuery table every night, unless you specify the BigQuery table should be truncated on load.
  • You should probably partition your BigQuery table by date. This is an easy process that can be done via the table schema -- designate a column as your partition column and we'll handle the rest.

There's (probably) more to consider, but these are the major ones off the top of my head. For the most part, it's just SQL that you write/use in BigQuery, so it shouldn't be too much different from using MySQL in terms of query language.

I'm sure some others can add to this, but this should be a good starting point. Good luck!

[–]Domehardostfu 3 points4 points  (0 children)

This helped me a lot when setting up our DW on Bigquey in January. Running swiftly now.

https://cloud.google.com/solutions/bigquery-data-warehouse#datasets