Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to GCP's BigQuery - GDG PuraVida

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Avatar for Akshay Kumar Akshay Kumar
November 02, 2019

Introduction to GCP's BigQuery - GDG PuraVida

This presentation covers an introduction to Google Cloud Platform's BigQuery.

Avatar for Akshay Kumar

Akshay Kumar

November 02, 2019

More Decks by Akshay Kumar

Other Decks in Technology

Transcript

  1. `DevFest2019.IntrotoBigQuery.Agenda` [Project].[Dataset].[Table name] • Boring. . .Mmmm. . .No, meaningful

    definitions – DWH. • Scuba dive into Google’s BigQuery. • Secret sauce for BigQuery’s speed. • Cooking your first ever query. • Top it up & Share your dish. • Discussing – [Diner]o. • The usual : Thank you and Questions
  2. Warehouse "Amazon Japan’s Kawasaki Fulfillment Center 2" by ykanazawa1999 is

    licensed under CC BY-NC-SA 2.0 “Jack Sealey Warehouse" by toolstop is licensed under CC BY 2.0 A large building where raw materials or manufactured goods may be stored before their export or distribution for sale.
  3. Data Warehouse ecommerce External ERP Other Legacy E T L

    Enterprise Datawarehouse EDW *Extremely oversimplified diagram of an ETL pipeline populating a DWH
  4. Data Warehouse In computing, a data warehouse (DW or DWH),

    also known as an enterprise data warehouse (EDW), is a system used for reporting and data analysis, and is considered a core component of business intelligence.[1] throughout the enterprise.[3] *https://en.wikipedia.org/wiki/Data_warehouse
  5. BigQuery BigQuery is a serverless, highly-scalable, and cost-effective cloud data

    warehouse with an in-memory BI Engine and machine learning built in. ❑Real-time analytics ❑Standard SQL ❑Federated query and logical data warehousing ❑Storage and compute separation ❑Geospatial data types and functions ❑Big data ecosystem integration
  6. `DevFest2019.IntrotoBigQuery.Agenda` [Project].[Dataset].[Table name] • Boring. . .Mmmm. . .No, meaningful

    definitions – DWH. • Scuba dive into Google’s BigQuery. • Secret sauce for BigQuery’s speed.
  7. Salsa Lizano, (salsa means "sauce" in Spanish), is a Costa

    Rican condiment developed in 1920 by the Lizano Company. It is now a product of Unilever. It is a thin, smooth, light brown sauce (akin to such condiments as HP Sauce or Worcestershire sauce). It is meant to be used while cooking or at tableside to flavor one's food when serving. It is slightly sweet and acidic, with a hint of spiciness lent by black pepper and cumin. The ingredients include water, sugar, salt, vegetables (onions, carrots, cauliflower, cucumbers), spices, pepper, mustard, turmeric, modified corn starch, hydrolyzed vegetable protein, sodium benzoate. *https://en.wikipedia.org/wiki/Salsa_Lizano
  8. BigQuery – Architecture (Contd. . .) https://ai.google/research/pubs/pub36632 More details :

    https://medium.com/@pallerlaakshay/wrapping-head-around-repetition-and-definition-levels-in-dremel-powering- bigquery-c1a33c9695da
  9. `DevFest2019.IntrotoBigQuery.Agenda` [Project].[Dataset].[Table name] • Boring. . .Mmmm. . .No, meaningful

    definitions – DWH. • Scuba dive into Google’s BigQuery. • Secret sauce for BigQuery’s speed. • Cooking your first ever query.
  10. Querying BigQuery Classic Web UI bq CLI Rest API &

    Client Libraries Web UI in Google Cloud Console Interacting with BigQuery Operations : • Loading & Exporting Data • Querying & Viewing Data • Managing Data
  11. Querying BigQuery – Plan B *Used my own amazon prime

    subscription Live Demos can fail  Murphy’s Law: Anything that can go wrong will go wrong
  12. `DevFest2019.IntrotoBigQuery.Agenda` [Project].[Dataset].[Table name] • Boring. . .Mmmm. . .No, meaningful

    definitions – DWH. • Scuba dive into Google’s BigQuery. • Secret sauce for BigQuery’s speed. • Cooking your first ever query. • Top it up & Share your dish.
  13. BigQuery – Features •File formats supported : JACOP [JSON, Avro

    , CSV, ORC, Parquet] •BigQuery supports UTF-8 encoding for both nested or repeated and flat data. BigQuery supports ISO- 8859-1 encoding for flat data only for CSV files • Nested and repeated fields are supported in the following data formats : JACCOP [JSON, Avro, Cloud Datastore exports, Cloud Firestore exports, ORC, Parquet] • Schema Auto detection available for JSON and CSV files • BigQuery Data Transfer Service automates data delivery into BigQuery – SaaS, S3,Teradata etc., • BigQuery allows you to save and share queries with others • BigQuery supports Table partitioning – By ingestion time and date/time partitioned tables
  14. BigQuery – Features (Contd. . .) •BigQuery provides metadata access

    through INFORMATION_SCHEMA •BigQuery supports Labelling resources : Key-value pairs •Access is controlled via Authorized views and IAM roles •Point in time snapshots available for 7-days •Supports Machine Learning Modeling •Easily integrated with other Google Cloud Platform products like Data Studio for reporting, Cloud Storage for data loads, Stack driver for auditing and monitoring etc., •Supports querying Nested and repeated fields •Supports querying wildcard tables
  15. `DevFest2019.IntrotoBigQuery.Agenda` [Project].[Dataset].[Table name] • Boring. . .Mmmm. . .No, meaningful

    definitions – DWH. • Scuba dive into Google’s BigQuery. • Secret sauce for BigQuery’s speed. • Cooking your first ever query. • Top it up & Share your dish • Discussing – [Diner]o.
  16. BigQuery – Costing Google BigQuery offers 26-34% Three-year TCO savings

    versus alternative cloud- based EDW deployments https://services.google.com/fh/files/blogs/esg_economic_validation_google_bigquery_vs_cloud-based-edws-september_2019.pdf
  17. `DevFest2019.IntrotoBigQuery.Agenda` [Project].[Dataset].[Table name] • Boring. . .Mmmm. . .No, meaningful

    definitions – DWH. • Scuba dive into Google’s BigQuery. • Secret sauce for BigQuery’s speed. • Cooking your first ever query. • Top it up & Share your dish • Discussing – [Diner]o. • The usual : Thank you and Questions