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
Trace Services, GetNextChunk, BufferSize property
-
- Posts: 52
- Joined: Thu 17 Dec 2009 08:25
Re: Trace Services, GetNextChunk, BufferSize property
Currently, IBDAC doesn't support this functionality. We will consider the possibility to add this functionality in one of the next IBDAC builds.
-
- Posts: 52
- Joined: Thu 17 Dec 2009 08:25
Re: Trace Services, GetNextChunk, BufferSize property
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.
https://github.com/FirebirdSQL/firebird ... grMain.cpp
Thanks.
Re: Trace Services, GetNextChunk, BufferSize property
Thank you for your interest in our products. We are studying the issue and will inform you as soon as we get any results.