I want to filter from a CSV file all the features that have an ID present in the database (unique ID as it is the table primary key).
For the moment I used a CSV reader to get my features from the CSV file and then used a Database joiner with join on the ID both in my table (primary key) and in the CSV. The cardinality is set to "1:1".
This way I get in the port the features with no match in the database table.
I'm not sure it is the fastest way (takes more than 50 sec to perform the join - ~400 000 lines in the table). Would it be more efficient to have all the ID's in a list and filter with this list ?
I am a little bit lost how to do it efficiently. Any idea would be appreciated.