2 ms·
On the subject of database indexes, know when you should deploy the indexes. This comes up when adding tables that get populated during deploy. Sometimes, dep
by protomyth 9y ago
On the subject of database indexes, know when you should deploy the indexes. This comes up when adding tables that get populated during deploy. Sometimes, depending on your database, its a really bad move to add the index to the empty table. Its an interesting problem because it might be time critical if you are doing enterprise deploys where you are taking down the whole system for the duration. Probably a less common circumstance these days. Also, getting rid of temporary code needed only for the conversion is a super good thing to remember.