![](https://s.togetter.com/static/web/img/placeholder.gif)
プログラム 誤: GDD中国 -> 正: GDG中国 dbstudychugoku.doorkeeper.jp/events/16775 ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 15:12:55![](https://s.togetter.com/static/web/img/placeholder.gif)
BigQueryはアップデートがなくてインサートのみ。Deleteもtable単位なので行単位で消すなどは出来ない。 #ChugokuDB
2014-11-23 15:16:38![](https://s.togetter.com/static/web/img/placeholder.gif)
0件でも1件でも3億件でも5秒から7秒くらい。 0件でも5秒くらいかかるのがキモ。 処理したデータ量が10Gだろうが同じ。 #ChugokuDB
2014-11-23 15:17:48![](https://s.togetter.com/static/web/img/placeholder.gif)
BigQueryの仕組み 「1TBで1秒でフルスキャンするには5000台のディスクがあれば良い。」 マシンパワーで返す。 #ChugokuDB
2014-11-23 15:19:01![](https://s.togetter.com/static/web/img/placeholder.gif)
1TBのデータを1秒でフルスキャンにするには5,000台のディスクが必要 goo.gl/m6b1UC ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 15:19:43![](https://s.togetter.com/static/web/img/placeholder.gif)
Google Developers Console , Projectを作る時にBigQueryAPIを有効にする console.developers.google.com ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 15:22:11![](https://s.togetter.com/static/web/img/placeholder.gif)
大量のデータを投入する時は Google Cloud Storage でデータを用意 cloud.google.com/storage/ ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 15:30:20![](https://s.togetter.com/static/web/img/placeholder.gif)
BigQuery Dataset 作成時に課金情報を登録していなかったらエラーになる Queryかなり沢山叩いても数十円程度らしい ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 15:36:54![](https://s.togetter.com/static/web/img/placeholder.gif)
BigQuery を CLI で使うにはGoogle Cloud SDKをインストールする必要あり cloud.google.com/sdk/ ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 15:39:36![](https://s.togetter.com/static/web/img/placeholder.gif)
@tsuda_ahr ちなみにキャッシュが効くかどうかは、SQLの文面+アクセス先のテーブルの最終更新時刻に変更がないかどうかで決まります。 #ChugokuDB
2014-11-23 15:42:24![](https://s.togetter.com/static/web/img/placeholder.gif)
@soudai1025 この辺は、BigQuery SQLでちょっと癖のある部分です。 #ChugokuDB
2014-11-23 15:55:00![](https://s.togetter.com/static/web/img/placeholder.gif)
@tamagawa_ryuji そうですね、RDBの感覚だとあまり出会うことのない感覚なのでレコード化するよりはそのまま使うことのほうが多そうですね。 #ChugokuDB
2014-11-23 15:56:03![](https://s.togetter.com/static/web/img/placeholder.gif)
BigQuery でTwitterログ検索のデモ ( #Chugokudb live at ustre.am/12hsx )
2014-11-23 16:01:31