| Wow. You've gotta love the audacity in making a big announcement like this based on the developer finally getting around to reading the docs. "Drop constraints and indexes for faster imports" is mass import 101. The entirety of the "Why We Did It" section: ----- > This improvement was pioneered by James Gordon, the Coalition’s lead developer. > He drew instruction from PostgreSQL’s official documentation, which reads: >> [snipping quoted sections from PostgreSQL manual at https://www.postgresql.org/docs/10/static/populate.html#POPU... ] >Gordon’s code handles this task using rarely utilized, low-level tools in Django’s database manager. ----- Sadly, in the current day and age, a developer actually taking the time to RTFM may indeed qualify as "pioneering" work! Perhaps the rest of us need to start trumpeting our accomplishments when we find some clearly-stated performance gain in the manual, rather than hiding our heads in embarrassment for not finding out until we released version 2.2 of our mass DB import tool. |