Page 1 of 1

Trace Services, GetNextChunk, BufferSize property

Posted: Sun 24 Apr 2016 21:11
by tsteinmaurer
Hello,

when using the trace services component with the default BufferSize of ~32K and fetching data from the server via GetNextChunk, the client is awaiting BufferSize worth of data, until GetNextChunk succeeds. Is this correct?

In case of the Trace Services, this is problematic, because if there is no load on the database, thus also no trace data is generated, already generated trace data might not be visible on the client yet, because GetNextChunk didn't returned due to < BufferSize of data on the server-side.

Not sure if this is possible, but some sort of timeout would be great here, basically let GetNextChunk return, even if there is not BufferSize worth of data available.

Is this somehow possible?

Thanks,
Thomas

Re: Trace Services, GetNextChunk, BufferSize property

Posted: Tue 26 Apr 2016 09:28
by ViktorV
Currently, IBDAC doesn't support this functionality. We will consider the possibility to add this functionality in one of the next IBDAC builds.

Re: Trace Services, GetNextChunk, BufferSize property

Posted: Tue 26 Apr 2016 17:48
by tsteinmaurer
Just in case you are investigating. I'm basically looking for support of isc_info_svc_timeout. Although C++ based, the fbtacemgr command-line tool of Firebird uses that (see TraceSvcUtil::runService()):
https://github.com/FirebirdSQL/firebird ... grMain.cpp

Thanks.

Re: Trace Services, GetNextChunk, BufferSize property

Posted: Fri 29 Apr 2016 10:36
by ViktorV
Thank you for your interest in our products. We are studying the issue and will inform you as soon as we get any results.