cancel
Showing results for 
Search instead for 
Did you mean: 

Reducing RAM usage when re-enumerating symbol columns

eohara_kdb
New Contributor III

Hi,

Is there a method to re-enumerate symbol columns in a splayed table without loading in the entire column file? This is part of a data copy between two HDBs, and we want to avoid pulling the entire column into memory if possible. Looked at using 1: (File Binary | Reference | kdb+ and q documentation - Kdb+ and q documentation (kx.com)) to load, re-enumerate and write the column in chunks but haven't managed to get it working.

Thanks,

Eoghan

1 REPLY 1

jfealy
New Contributor II

This might be of use - be sure to test first 

https://github.com/jfealy/q/blob/master/mergeHdb.q