11.10.2017 20:57, Vlad Khorsun via Firebird-devel wrote:
I don't understand your speculations
Ok, turn your imagination on: Performance of gbak must be improved by feeding of backup
stream from server using services instead of sending queries. How will you implement it?
Because someone at IB times made decision that service connections is not a
database
connection. And i must agree that service could work with some database. Another
service could work with two databases and third service could work with no
database
at all (read firebird.log, for example). As expirienced user of ISC API you
should
know it.
No, I have no idea what service can work with two databases. Currently there is no one
able to do that. Even multifile restore is impossible with using of services.
Every service action have set of parameters. In your second example i see no
paramenter
for action action_db_stats. This is not that kind of simplicity that i would
ask for.
action_db_stats requires no parameters. I used it as the shortest example. If you
insist on longer one, here it is. Compare
fbsvcmgr.exe host:service_mgr action_nbak dbname employee nbk_file employee.bak
nbk_level 0
fbsvcmgr.exe host:employee action_nbak nbk_file employee.bak nbk_level 0
And what is the best: both these commands works and do exactly the same. No old
functionality is broken or changed.
To finish with it: you make proposal and ask for objections, i gave you
objections,
what else do you want ?
If you forgot: I would like to hear technical problems that you foresee with proposed
changes, not "I'm fine with current way, no need to improve anything".
--
WBR, SD.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel