> 21.04.2016 13:35, Thomas Steinmaurer wrote: > ... >>> As you already found that fbtracemgr is OK, i guess something is not >>> fully >>> correct (or stepped on some another issue) at FB Trace Manager. Could you >>> show >>> how do you work with trace service ? >> >> The usage of the trace services in FBTM hasn't changed for years and worked >> up to Beta2. ;-) > > :) > > Alex committed patch today, hope it helps.
Thanks a lot. Saw the commit. Will give it a try, once a new snapshot build is available. A pity that I didn't notice it earlier (RC stage), because unfortunately I now have to convince customers to use a snapshot build in case of Firebird 3 until 3.0.1 is out. Switching to isc_info_svc_to_eof doesn't look that easy at first glance (see below), although it makes a lot of sense from a throughput perspective. > BTW, it is probably easy to work with > isc_info_svc_line but it is very inefficient. Especially in case of Trace > Services, > where we have a lot of data to read. isc_info_svc_to_eof with buffer of > maximum > allowed size should be much better. Just FYI ;) Yep, thanks. I now remember that my first tries ages ago were isc_info_svc_to_eof based, but the trace data parser is a lot easier when working with fixed lines instead of buffers of raw data. IBDAC supports both, reading one line at a time or in chunks, AFAIK with a pre-defined size of 32K. I guess I could split the textual (larger) chunks into lines by a new line terminator (does that differ in trace data when running Firebird on different platforms, e.g. Windows vs. Linux?), but then the big question is how far the last line in the chunk goes. Is it again a complete line or may it cut-off somewhere arbitrary between a line of trace data, thus I have to temporary keep that in memory and follow-up at that position when I receive the next chunk? What is the chunk size in fbtracemgr? Thanks, Thomas ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel