why use google bigquery?. logosplatforms why use bigquery? cost effective infrastructure maintenance...

14
Why Use Google BigQuery?

Upload: ethelbert-chandler

Post on 21-Jan-2016

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

Why Use Google BigQuery?

Page 2: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

Why use BigQuery?

Cost Effective

Infrastructure MaintenanceDB

Administrators

Page 3: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

Why use BigQuery?

Easy Integration

Page 4: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

Why use BigQuery?

Easy Integration

Page 5: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

Why use BigQuery?

High Speed Processing

Use the processing power of Google's infrastructure to query huge amounts of data in just seconds!

Page 6: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

Why use BigQuery?

Limitless Storage Capacity

Utilise the volume of Google’s massive data centres.

Page 7: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

How To Use Google BigQuery

Page 8: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms#1 BigQuery Web UI

• First stop for budding BQ users

• View, manage & query BQ datasets and tables

How To Use Google BigQuery

Examples

to Follow

Page 9: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

How To Use Google BigQuery

#2 BigQuery API

• Build custom tools and web apps that interact with BQ

• Implement automated processes to refresh or archive data

Page 10: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

How To Use Google BigQuery

Client library project page Reference documentation Download

BigQuery API Client Library for .NET BigQuery .NET doc Download

BigQuery API Client Library for Go BigQuery GoDoc Download

BigQuery API Client Library for Java BigQuery JavaDoc Download

Google API Client Library for JavaScript (beta) N/A N/A

Google API Client Library for Node.js (alpha) N/A Download

Google API Client Library for Objective-C N/A Download

Google API Client Library for PHP (beta) N/A Download

BigQuery API Client Library for Python BigQuery PyDoc Download

Google API Client Library for Ruby (alpha) N/A Download

API Client Libraries

Page 11: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

How To Use Google BigQuery

#3 BigQuery Command Line Tool

• Install Google Cloud SDK

• Run queries through the command line tool

Page 12: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

SQL Support

Tables can be queried using SQL

Page 13: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

SQL Support

BigQuery SQL doesn’t support…

INSERTS

Creating or deleting tables & datasets

Page 14: Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators

LogosPlatforms

Web UI Query Example

Retrieves most popular blogs by # pageviewsSELECT *, COUNT(*) pageviews FROM ( SELECT hits.page.pagePath AS pagePath, MAX(IF(hits.customDimensions.index=1,hits.customDimensions.value,NULL)) WITHIN hits AS Author, MAX(IF(hits.customDimensions.index=2,hits.customDimensions.value,NULL)) WITHIN hits AS Category, FROM TABLE_DATE_RANGE([1690244.ga_sessions_],TIMESTAMP('2015-01-01'),TIMESTAMP('2015-11-02')) WHERE hits.page.pagePath CONTAINS "blog" ) GROUP BY 1, 2, 3 ORDER BY 4 DESC