Home › Forums › kdb+ › merge/copy partitioned tables efficiency › Re: merge/copy partitioned tables efficiency
-
Hi ,
You appear to be upserting at a table level, you could try doing the upserts at a column level and peach it. something like:
{colData:get .Q.dd[`:kdbfolder_n/<date>/trade;x];upsert[.Q.dd[`:kdbcommon/<date>/trade/;x];colData]}peach except[cols trade;`date]
For this you need to have threads enabled in the command line:
-s N
Let me know if this works,
Megan