Are strings interned in kdb too ?

I think the the answer is strings are not interned, only symbols are. But just double checking.

Only symbols. You can view their memory usage in .Q.w[]

  • syms: number of interned symbols
  • symw: bytes used by interned symbols

https://code.kx.com/q/ref/dotq/#qw-memory-stats