Trace Services, GetNextChunk, BufferSize property

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tsteinmaurer
Posts: 52
Joined: Thu 17 Dec 2009 08:25

Trace Services, GetNextChunk, BufferSize property

Post by tsteinmaurer » Sun 24 Apr 2016 21:11

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Trace Services, GetNextChunk, BufferSize property

Post by ViktorV » Tue 26 Apr 2016 09:28

Currently, IBDAC doesn't support this functionality. We will consider the possibility to add this functionality in one of the next IBDAC builds.

tsteinmaurer
Posts: 52
Joined: Thu 17 Dec 2009 08:25

Re: Trace Services, GetNextChunk, BufferSize property

Post by tsteinmaurer » Tue 26 Apr 2016 17:48

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.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Trace Services, GetNextChunk, BufferSize property

Post by ViktorV » Fri 29 Apr 2016 10:36

Thank you for your interest in our products. We are studying the issue and will inform you as soon as we get any results.

Post Reply