-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
This import should only take a few seconds, but it takes minutes because:
- It uses many separate insert statements, instead of one as it should. Or it could use COPY.
- It selects the community and user id from the name for each statement, rather than getting them from a join.
SQL performance is all about minimizing the # of queries / statements you have to run.
Metadata
Metadata
Assignees
Labels
No labels