kdb+ and q
Q+A on all things kdb+ database and the q language
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

using .z.w to call python

We have a "legacy" python system where some quant researchers using qpython to query data from q processes into python. At one q process, I have something like .z.po:{if[not any (`$.z.w"system \"echo $USER\"") in exec distinct user from .perm.users;h...

aele by New Contributor
  • 584 Views
  • 1 replies
  • 0 kudos

Resolved! Creating heartbeat monitor for server-client

What would be the way of going about creating a heartbeat table server side to monitor response times to each of the servers clients. I have been exploring this but am unsure on how to send a message from server to client and only know how to do clie...

ngumbo by New Contributor II
  • 1047 Views
  • 3 replies
  • 0 kudos

Resolved! Creating access Log IPC

How can one track attempted logins to a specific server. I know to use .z.pc/po to track open and closed connections, does .z.pw need to be used to track failed login attempts .i.e wrong user name/ password ?

ngumbo by New Contributor II
  • 860 Views
  • 2 replies
  • 0 kudos

Resolved! IPC

Hey Team, I'm currently working through IPC and am working on creating a query log table to store all queries done on a process. I am attempting to modify .z.pi so that for each query ran in q it updates a query table. This is my current query: .z.pi...

ngumbo by New Contributor II
  • 877 Views
  • 2 replies
  • 0 kudos

Resolved! perform gc per .z.pg

Given that we cant use -g 1 and no change on caller side, is there any way to perform gc upon each .z.pg? I initially have .z.pg:{ bigresult: value x; .Q.gc[]; bigresult };but the memory is not going down until next smaller query.

mklee by New Contributor
  • 580 Views
  • 1 replies
  • 0 kudos