2023.01.29 10:29 AM
We know that .Q.hdpf sends a message to the HDB to reload, but what does this actually mean? and why is it necessary?
2023.01.29 05:46 PM - edited 2023.01.29 05:49 PM
The reloading HDB part is as if "\l ." is run by HDB. This step for a partitioned database, among other things, loads serialized objects of the current directory (e.g. sym file) and caches things like splayed tables in the latest partition. It is necessary to make HDB pick up changes introduced by an external process, e.g. a new symbol may be introduced while saving the tables.
The relevant doc is https://code.kx.com/q/basics/syscmds/#l-load-file-or-directory
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.