I want to select those rows in t1 such that the tuple (a;b) does not exist already in t2 (a;b). So in the above case, it should retrieve
a b c
1 10 a
t2 is a very large memory mapped table. t1 are the new entries to be inserted into t2. I only want to insert those entries when (a;b) are globally unique.
Any ideas how to achieve this? Keying is not possible as all tables are splayed on disk.