Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Redashでデータ活用の壁をなくす / Redash spreads data analys...
Search
Udomomo
February 19, 2019
Programming
580
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Redashでデータ活用の壁をなくす / Redash spreads data analysis culture
Udomomo
February 19, 2019
More Decks by Udomomo
See All by Udomomo
飲んでみよう!ウイスキー / Let's Enjoy Whisky!
udomomo
5
1.3k
pgetにみる並行処理でのエラーハンドリング / Concurrent error handling in pget
udomomo
0
690
ジオキャッシングのすすめ ~きみも冒険者になろう!~ / Let's play geocaching
udomomo
0
730
Google Homeで音声アプリを作るときの3つのポイント
udomomo
0
410
Other Decks in Programming
See All in Programming
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
120
App Intentsのビルドプロセスを支える技術
kntkymt
0
380
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
270
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
550
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
140
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
1k
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
280
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
320
iOSDC2026登壇資料.pdf
riofujimon
0
160
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
570
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
4
2.8k
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
140
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Tell your own story through comics
letsgokoyo
1
1.1k
Odyssey Design
rkendrick25
PRO
2
810
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
How to make the Groovebox
asonas
2
2.4k
Automating Front-end Workflow
addyosmani
1369
210k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
For a Future-Friendly Web
brad_frost
183
10k
A Soul's Torment
seathinner
8
3.6k
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Being A Developer After 40
akosma
91
590k
Transcript
Redashでデータ活用の壁をなくす @Udomomo 2019/02/19 Tora-lab
• どもも(@Udomomo) • BtoB SaaSのサーバサイド(Javaによる大規模データ処理) • 副業でRuby on Rails •
趣味でGo 自己紹介
非エンジニアでもデータ活用ができる ダッシュボードツール Redashとは?
• 自社サービスの利用データはMySQLに蓄積されているが、 開発チーム以外アクセスする習慣がなかった • CSチームは個々のクライアントの定性的な理解は豊富だが、 データのことは分からない • NPS(顧客満足度)などは追えるが、自社サービスの 実際の利用状況をリアルタイムで追う術がなかった Redashが必要になった背景
→ 誰でもデータを触れる仕組みが必要!
• クエリを書く • グラフ・ダッシュボードを作る • アラートで監視する Redash利用の流れ
• Amazon EC2 AMI • Google Compute Engine Image •
Docker Image (→自社サーバで運用) • Webサービスとして利用(セットアップの必要なし・有料) セットアップ
DBと接続する
クエリを書く
クエリをフィルタ可能にする(Redash独自の文法)
グラフを作る
ダッシュボードを作る
アラートを設定する
• 機能・UIがシンプルでわかりやすい • クエリを触らなくても簡単にデータをフィルタできる • サービスの簡易モニタリングも可能 Redashの特徴 • 高度な統計・解析処理には不向き。日常業務における データ活用のハードルを低くするためのツール。
自社での活用例
• 開発チーム以外でSQLを書ける人が少ない • 開発チームの人手も多くない 導入時の方針 • まずは業務サイクルに乗せることを優先 • SQLの教育・データのバックアップ体制構築などは一旦せず、 今使えるリソースだけで運用を回す
• データを見るだけなら誰でもできるよう、閲覧専用権限の アカウントは希望者全員に発行
運用体制 MySQL (本番環境の replication) MySQL (解析用) data import (※) CS
(SQL経験者) クエリ・ ダッシュボード 作成 CSチーム等 閲覧・分析 分析の要望 ※あまりデータ量が多くないため、 日次でmysqldump & importしている
• クライアント別に利用中のログインID数カウント • 昨日新規発行されたログインID一覧(+アラート) • 特定の項目の設定を忘れているログインID一覧 • 1ヶ月以上ログインしていないID一覧 • ログインIDごとの新規投稿数の推移(日別)
など 自社サービス(BtoB SaaS)用に実際に作られたクエリ
• SQLがボトルネックになっているのをどう解消するか? ◦ SQLを書ける人が少ないため、Redashを使えば解決できる課題を抱えていても 放置されている可能性がある ◦ MySQLが8.0になっておらずwindow関数が使えないなど、DB側の都合で ハードルが高くなっている側面もある 今後の課題 •
Redash自体の運用をどう回していくか? ◦ Redashは開発速度が速く、数ヶ月に一度ペースでバージョンが上がる。 そのため、テスト用環境を別で作っておくのが望ましい ◦ 重いクエリが増えるにつれてRedash自体のパフォーマンスが下がっている。 今後各クエリのチューニング・バックアップが必要になりうる
• 公式フォーラム ◦ https://discuss.redash.io ◦ 日本語用カテゴリもあります! Redash関連サイト • Redashハンズオン資料(非公式・日本語) ◦
https://github.com/kakakakakku/redash-hands-on ◦ 今日紹介しなかった機能も多く掲載されています • GitHub ◦ https://github.com/getredash/redash ◦ Issue・プルリク歓迎
Thank You Credit: • https://redash.io • https://github.com/kakakakakku/redash-hands-on • https://www.iconfinder.com/iconsets/IconsLandVistaPeopleIconsDemo