Hacker News new | ask | show | jobs
by hinkley 231 days ago
Dropping indexes and constraints because constraint checks can cause table scans if there are no indexes.

Our old “drop/create” scripts would go 5-10x faster that way, setting up sample data for dev environments.