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
Faster Queries = More Animal Crossing
Search
Jonan Scheffler
March 31, 2020
Programming
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Faster Queries = More Animal Crossing
A quick walkthrough of common query inefficiencies using PostgreSQL and TimescaleDB.
Jonan Scheffler
March 31, 2020
More Decks by Jonan Scheffler
See All by Jonan Scheffler
Sleeping in Airports: The Magical, Terrible Life of a Developer Advocate
thejonanshow
0
36
inventing_friends.pdf
thejonanshow
0
35
Inventing Friends: Actioncable + AVS = <3
thejonanshow
0
100
Building HAL: Running Ruby with your Voice
thejonanshow
1
120
Deploying MEAN on Heroku
thejonanshow
2
66
Robolove
thejonanshow
0
92
Hacking Cognition
thejonanshow
2
140
Other Decks in Programming
See All in Programming
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
The Rails Doctrine Decade
koic
2
590
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
残高管理から台帳サービスへの進化
artoy
1
200
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
870
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
RailsConf 2023
tenderlove
30
1.6k
Embracing the Ebb and Flow
colly
88
5.2k
Navigating Team Friction
lara
192
16k
HDC tutorial
michielstock
2
960
Paper Plane
katiecoart
PRO
5
54k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Git: the NoSQL Database
bkeepers
PRO
433
67k
How to make the Groovebox
asonas
2
2.5k
Balancing Empowerment & Direction
lara
6
1.3k
Ethics towards AI in product and experience design
skipperchong
2
430
Transcript
FASTER QUERIES = MORE ANIMAL CROSSING
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow
@thejonanshow - Common Table Expressions slow down small queries
@thejonanshow - Common Table Expressions slow down small queries -
LIKE and ILIKE dodge indexes, use pg_trgm
@thejonanshow - Common Table Expressions slow down small queries -
LIKE and ILIKE dodge indexes, use pg_trgm - Types matter, avoid letting the planner cast values for you
@thejonanshow Thank You! ❤ github.com/timescale/wikistream-docker