]> git.sur5r.net Git - bacula/bacula/commit
Try to use multi-row insert statements for mysql.
authorMarco van Wieringen <mvw@planets.elm.net>
Thu, 19 Apr 2012 12:04:41 +0000 (14:04 +0200)
committerKern Sibbald <kern@sibbald.com>
Fri, 1 Jun 2012 15:34:40 +0000 (17:34 +0200)
commitc507f256214ea86b715a66257797f0ee591a6a60
tree5c5d9b7801880bed2d3e27c5bbad9661c5e06ec7
parente72fe7a6a2b65b907f5a89f77117ffa28404a95a
Try to use multi-row insert statements for mysql.

As it seems we could speedup the insert of the batch mode
somewhat by using multi-row insert statements. This implements
a very simple routine which batch up 32 inserts into one
query before pushing it to the database. The 32 is arbitrary
and just a test value for now we can always bump or lower it.
bacula/src/cats/bdb_mysql.h
bacula/src/cats/mysql.c