Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
redash運用アンチパターン
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Anntoque
October 17, 2018
Programming
3.5k
0
Share
redash運用アンチパターン
2018/10/17 redasm meetup 4.0.0のLTで発表した資料です。
Anntoque
October 17, 2018
More Decks by Anntoque
See All by Anntoque
【試されDATA SAPPORO #1】データ基盤を「育てる」コミュニケーション
anntoque
0
14
【Sapporo Data Pioneers #1 】データのライフサイクルとSapporo Data Pioneersの思いについて
anntoque
1
620
【istyle Data Talk #01】越境できるデータの組織・人材を目指して/ istyle data talk 01 Data Organization
anntoque
1
1.1k
what Azure Synapse
anntoque
0
3.2k
REDASH JOURNEY
anntoque
0
1.5k
データドリブンを提供するサービス Brand Officialのアーキテクチャ / brand official architecture
anntoque
0
1.7k
理想の自分を忘れないために Slack and LINE bot を作った話 / Make Slack API and LINE bot to not forget ideal myself
anntoque
0
930
SQL実践入門night_LT資料_YASU11552288
anntoque
0
570
Other Decks in Programming
See All in Programming
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
300
AWSはOSSをどのように 考えているのか?
akihisaikeda
0
130
AgentCore Optimizationを始めよう!
licux
3
260
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
130
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
170
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
継続的な負荷検証を目指して
pyama86
3
1.2k
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
110
iOS26時代の新規アプリ開発
yuukiw00w
0
160
cloudnative conference 2026 flyle
azihsoyn
1
200
関係性から理解する"同一性"の型用語たち
pvcresin
2
250
inferと仲良くなる10分間
ryokatsuse
1
120
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
170
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
How to Ace a Technical Interview
jacobian
281
24k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
810
Automating Front-end Workflow
addyosmani
1370
210k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Evolving SEO for Evolving Search Engines
ryanjones
0
200
Six Lessons from altMBA
skipperchong
29
4.2k
Become a Pro
speakerdeck
PRO
31
5.9k
Transcript
株式会社アイスタイル redash運用アンチパターン テクノロジー本部 R&D部 山本 泰毅
Copyright (c) 2017 istyle, Inc. All rights reserved. 2 redash運用アンチパターンとは
①目的 ②アンチパターン ③アンチパターンの見つけ方 ④アンチパターンを用いてもよい場合 ⑤解決策 の順で事例紹介 redash 運用 アンチパターン
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章① パラダイス・オウス(多種多様な権限要望) ①目的
- クエリを閲覧できる人を限りたい 3
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章① パラダイス・オウス(多種多様な権限要望) ②アンチパターン
- エンジニアのみredash使用可能にし、csvファイルで依頼者にデータ を提供 - redashの魅力半減… ③アンチパターンの見つけ方 - 偉い人「エンジニア以外redash使わなければよくない?」 ④アンチパターンを用いてもいい場合 - 上司に負けたとき 4
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章① パラダイス・オウス(多種多様な権限要望) ⑤解決策
- redash実行画面の「Show Source」ボタンが 表示される人・されない人を分ける 5
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章① パラダイス・オウス(多種多様な権限要望) 6
create_dashboard ダッシュボード作成 create_query クエリ作成 edit_dashboard ダッシュボード編集 edit_query クエリ編集 view_query クエリ閲覧 view_source ソース閲覧 execute_query クエリ実行 schedule_query クエリのスケジュール設定 list_users ユーザーリスト表示 list_dashboards ダッシュボードリスト表示 list_alerts アラートリスト表示 list_data_sources データソースリスト表示 redashの権限一覧
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章① パラダイス・オウス(多種多様な権限要望) -
manage.py 利用の場合 - PostgreSQLの場合 7 sudo -u redash bin/run ./manage.py groups change_permissions --permissions view_query,execute_query,list_dashboards 10 update groups set permissions = '{view_query,execute_query,list_dashboards}' where id = 10; 最低限の権限だけ再設定
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章② パラダイス・オウス(多種多様な権限要望) ①目的
- 特定のクエリを特定の人物・集団だけが実行できるよう にしたい - 「売り上げデータのクエリを特定の部署の人物だけ 実行できるようにしたい」 ②アンチパターン - なぜそのような制限をかけたいのかをヒアリングせずに グループを作る - グループが乱立 ③アンチパターンの見つけ方 - 「とりあえずグループ作っちゃおうか」 ④アンチパターンを用いてもいい場合 - 目的のヒアリングに協力してくれない場合… 8
Copyright (c) 2017 istyle, Inc. All rights reserved. 1章② パラダイス・オウス・(多種多様な権限要望) ⑤解決策
- 特定の部署のグループを作成し、同DBにアクセスするデータソース をグループごとに作成 9 SAMPLE DB DATA SOURCE 営業用 DATA SOURCE 分析用 分析 グループ 営業 グループ 売り上げ 集計クエリ 売り上げ 集計クエリ
Copyright (c) 2017 istyle, Inc. All rights reserved. 終わりです! (2章はまたどこかで)
10 We’re Hiring!!