Skip to main content
thoughtbot thoughtbot
  • Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Web Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • React
  • Maintenance
Mobile Development
  • React Native
  • iOS
  • Android
Design
  • UX, UI, and Product Design
  • Design Research
  • Design Systems
Product
  • Product Management
  • Product Design Sprint
  • Research and Strategic Insights
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
  • Level up your junior team
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
The business of great software
  • Playbook
  • Startup Incubator
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

Postgres Articles

Written by thoughtbot, your expert strategy, design, product management, and development partner.

    • All Topics
    • Design
    • Web
    • iOS
    • Android
    • More topics
  1. Reading a Postgres EXPLAIN ANALYZE Query Plan

    Take a guided tour through a query plan for a “simple” SQL query.

    Caleb Hearth
    July 26, 2016
    • Postgres
    • Databases
    • SQL
    • Performance
  2. Postgres Index Types

    Improve query performance by using the right index type.

    Calle Erlandsson
    April 21, 2016
    • Postgres
  3. Announcing Scenic - Versioned Database Views for Rails

    Database views can improve the performance, composability, and readability of your rails application and Scenic is here to help.

    Derek Prior
    January 11, 2016
    • Postgres
    • Rails
    • Web
  4. Optimizing Full Text Search with Postgres tsvector Columns and Triggers

    Improve the speed of Postgres full-text search by introducing a tsvector column to cache lexemes and using a trigger to keep the lexemes up-to-date.

    Dan Croak
    June 25, 2015
    • Web
    • Rails
    • Postgres
  5. Have Some (Referential) Integrity with Foreign Keys

    What is referential integrity and why is it important to your Rails apps?

    Derek Prior
    December 2, 2014
    • Web
    • Rails
    • Postgres
  6. Postgres Window Functions

    Take your queries to the next level with window functions.

    Simon Taranto
    September 16, 2014
    • Web
    • Performance
    • Postgres
    • SQL
  7. Why Postgres Won't Always Use an Index

    Use SQL EXPLAIN to understand when and why indexes are used (or not).

    Simon Taranto
    July 25, 2014
    • Web
    • Performance
    • Postgres
    • SQL
  8. An Explained psqlrc

    Let’s walk through my short psqlrc(5) to see what I’ve set, and to inspire...

    Mike Burns
    July 24, 2014
    • Web
    • Postgres
  9. Avoid the Three-state Boolean Problem

    Use null: false, default: false on boolean columns in ActiveRecord migrations to avoid NULL problems.

    Gabe Berke-Williams
    February 24, 2014
    • Web
    • Postgres
  10. Improving the Command-Line Postgres Experience

    Understanding the ~/.psqlrc configuration file, its options, and reading...

    Gabe Berke-Williams
    November 30, 2013
    • Web
    • Postgres
  11. Sign up to receive a weekly recap from thoughtbot

« First ‹ Prev 1 2 3 4 5 Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • GitHub
  • Instagram
  • YouTube
  • Twitch
© 2024 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy