37 subscribers
התחל במצב לא מקוון עם האפליקציה Player FM !
פודקאסטים ששווה להאזין
בחסות


1 72: If You Want to Grow—Stop Fixing the Wrong Problem 16:32
LIMIT vs Performance
Manage episode 416226575 series 3369151
Nikolay and Michael discuss LIMIT in Postgres — what it does, how it can help with performance, and an interesting example where adding it can actually hurt performance(!)
Here are some links to things they mentioned:
- LIMIT considered harmful in PostgreSQL (Twitter thread by Christophe Pettus) https://twitter.com/Xof/status/1413542818673577987
- LIMIT and OFFSET (docs) https://www.postgresql.org/docs/current/queries-limit.html
- No OFFSET (by Markus Winand) https://use-the-index-luke.com/no-offset
- LIMIT clause (docs) https://www.postgresql.org/docs/current/sql-select.html#SQL-LIMIT
~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!
~~~
Postgres FM is brought to you by:
- Nikolay Samokhvalov, founder of Postgres.ai
- Michael Christofides, founder of pgMustard
With special thanks to:
- Jessie Draws for the amazing artwork
151 פרקים
Manage episode 416226575 series 3369151
Nikolay and Michael discuss LIMIT in Postgres — what it does, how it can help with performance, and an interesting example where adding it can actually hurt performance(!)
Here are some links to things they mentioned:
- LIMIT considered harmful in PostgreSQL (Twitter thread by Christophe Pettus) https://twitter.com/Xof/status/1413542818673577987
- LIMIT and OFFSET (docs) https://www.postgresql.org/docs/current/queries-limit.html
- No OFFSET (by Markus Winand) https://use-the-index-luke.com/no-offset
- LIMIT clause (docs) https://www.postgresql.org/docs/current/sql-select.html#SQL-LIMIT
~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!
~~~
Postgres FM is brought to you by:
- Nikolay Samokhvalov, founder of Postgres.ai
- Michael Christofides, founder of pgMustard
With special thanks to:
- Jessie Draws for the amazing artwork
151 פרקים
כל הפרקים
×
1 MultiXact member space exhaustion 55:43








1 pg_stat_statements track_planning 37:55




1 Getting started with benchmarking 56:32








1 Logical replication common issues 38:12

1 Why isn't Postgres using my index? 35:25

1 Overhead of pg_stat_statements and pg_stat_kcache 34:07



1 pg_upgrade: the tricky and dangerous parts 25:38


















1 NULLs: the good, the bad, the ugly, and the unknown 27:10




1 Slow queries and slow transactions 26:00
ברוכים הבאים אל Player FM!
Player FM סורק את האינטרנט עבור פודקאסטים באיכות גבוהה בשבילכם כדי שתהנו מהם כרגע. זה יישום הפודקאסט הטוב ביותר והוא עובד על אנדרואיד, iPhone ואינטרנט. הירשמו לסנכרון מנויים במכשירים שונים.