If you want to understand why your database queries maybe aren’t as fast as they used to be, nothing beats a little feature of postgres called explain . It’s a simple idea. Just ask postgres to explain how it plans to perform a query and it’ll tell you. You can even have it execute the query it and compare expected performance to actual. Sound familiar? You may have seen explain before. Ever sinc
![RubyLetter - A Rubyist's Guide to Postgresql's Explain](https://cdn-ak-scissors.b.st-hatena.com/image/square/8f8e7e874ebe319072161c197fa70cbb63811f17/height=288;version=1;width=512/http%3A%2F%2Fwww.rubyletter.com%2Fimages%2Flogo_mark.png)