Tuesday 15 July 2014

How can I tell if a kdb server is busy? -


Does any command know if a kdb server is running a query? Even better, after knowing that the percentage of the query is complete?

So far I'm looking at the top screen on Linux, to know which server to use ...

Unfortunately, not directly. Due to the threaded nature of the KDB process is due to in practice, it has worked easily by adding some basic logging to its server, so whenever a query comes, it's time to log in to the file and when the result is to the user Was returned.

Take a look at this and synchronous or asynchronous request, by default, they are set to "value" only, which means that evaluates the string and returns the results. To log events on a file or log server, replace it with your function.

No comments:

Post a Comment