On 8/22/26 19:23, Vlad Khorsun wrote:
> 22.08.2026 21:27, Adriano dos Santos Fernandes:
>> Hi!
>>
>> I'm testing a new approach for gbak when used through services manager:
>> directly using VIO internal layer.
>
> Could you explain it ?
There is not too much secrets, just not-production ready code to test an
approach and see opinions.
src/burp call code that has two different implementations that is linked
in engine and in utility, so the new option is only available in
services manager.
Backup uses VIO_next_record. Restore uses VIO_store.
As restore create triggers and indices after records, VIO_store is the
simple thing that does the job of insert records in the database.
The is done in batch of 1000 records or 1MB per EngineContextHolder
entering. Without batch, backup performance was about ~50% reduction and
restore at ~20%.
>> Preliminary tests showed a ~64% reduction in backup time and a ~37%
>> reduction in restore time. The test was performed on a single table with
>> 10 million records and no indexes.
>
> Sounds good. What was the base version for comparison ?
master with standard services manager.
Adriano