Browz for kdb+
Thursday, March 24th, 2005I wanted to familiarise myself even more with the kdb+ c API, so I wrote a small browser in c, using the win32 api. It’s a noddy piece of code, maybe a 100 lines long. The k stuff is maybe 10 lines - mainly formatting of types for output into the grid. It runs in virtual mode, i.e. it calls back and asks for the data when each cell becomes visible. It uses ~17MB ram to view 100k rows of a 15 column table. A screenshot of it can be found here
It runs from the command line as
browz localhost 5010 trade
i.e. specify the hostname port and table you want to view. It will only view flat, non partitioned tables at the moment. The error checking is fairly poor - I’ll beef that up in the coming weeks.
It should NOT be used with kdb+ 2.1
. It is currently in alpha phase, i.e. should not be used with production systems, and you download, install and run it at your own risk.
Download exe here
and
Download the required dll here
Make sure the c.dll is in the path before executing browz.exe
Mail me if you have any feedback.