Mike_Thompson
New Contributor
since ‎2008.04.08
‎2021.06.14

User Statistics

  • 23 Posts
  • 0 Solutions
  • 0 Kudos given
  • 0 Kudos received

User Activity

If I set for compression: .z.zd:(17;2;6)and then create a splayed, partitioned table. and then subsequent attempt to access this splayed/partitioned/compressed table then q.exe crashes. "select from t" is sufficient to trigger the crash provided "t" ...
If I create a splayed, partitioned table having previously set for compression: .z.zd:(17;2;6)and then subsequent attempt to access this table I get an error message: Can't protect memoryAnd q.exe quits. On Windows 7. KDB+ 3.1 2013.06.14 Copyright (C...
I've been reading KDB+ for Mortals, Chapter 1 which covers building databases, and I have a question ...If I partition my database on, say, date, can I then choose to NOT splay the tables (within each partition)? Just to be clear ...Let's say I creat...
I'm puzzled by the behavior of "wj". Here's my experiement:q) t:([] time: 10:00:03 10:00:04 10:00:05)q) t1:([] time: 10:00:01 10:00:03 10:00:03 10:00:04 10:00:08; b: 1 10100 1000 10000)q) w: ( t.time; t.time )q) wj[w;`time;t;(t1;(::;`b))] / here's wh...
Is there a way of doing this more efficiently (in a "wj")?q) count each group 1 2 3 4 5 1 1 21| 32| 23| 14| 15| 1This does all the work associated with the "group" operator, but thenit throws a lot of that away when all we want is a "count". Seemswas...