benoit,
@benoit@ruby.social avatar

Recently I worked a lot on performance issue on a db. Few things to remember.

  • Learn to read explain + use tools like the one from Dalibo
  • Planner can take wrong decisions
  • Create a snapshot with production data and tests index/settings/etc
  • Use psql
  • When testing indexes, remove the one used to see if the new one is used
  • PgAnalyze is a good tool
  • Keep a logbook of your work
  • Write a script with the queries that should be fast
    1/2
  • All
  • Subscribed
  • Moderated
  • Favorites
  • PostgreSQL
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • osvaldo12
  • rosin
  • mdbf
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • InstantRegret
  • Youngstown
  • Durango
  • Leos
  • normalnudes
  • ngwrru68w68
  • modclub
  • anitta
  • tacticalgear
  • ethstaker
  • GTA5RPClips
  • cubers
  • megavids
  • provamag3
  • cisconetworking
  • tester
  • JUstTest
  • lostlight
  • All magazines