Subject Re: [Firebird-Java] Are there plans for streaming backup support?
Author Mark Rotteveel
On 16-2-2016 13:37, Ivan Arabadzhiev intelrullz@...
[Firebird-Java] wrote:
>
>
> Hi,
> So far so good but it is terribly slow so I reworked the backing up to
> enable a bigger buffer - will push as soon as I find out what I broke in
> restore ...
>
> I'm thinking multi-file split can be done simply by closing fileN at X
> bytes and opening fileN+1. Might not be 100% what gbak does but the API
> shouldn't really care if I have a single file on disk or I store every
> byte on a different media. That being said, I've never needed the
> functionality myself and don't know if people actually use it often
> enough to need a default implementation.
>
> As for the change - perhaps I should've given
> https://github.com/ls4f/jaybird/commit/d62a2417110a3ba2477f8139dfc6c83d5db1b226
> to begin with. addArgument(isc_info_svc_line, bufferToBeAdded); throws
> an exception otherwise.

Aha I see what you mean, I think I will need to do some digging in the
Firebird code, because I am not entirely sure if this is the right solution.

For one, maybe isc_info_svc_line should be identified as a Wide type,
and I am not sure if the exclusion of StringSpb there is right.

Mark
--
Mark Rotteveel