[Koha-bugs] [Bug 12477] We need better ways to manage MARC Frameworks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 18 21:50:36 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12477

--- Comment #6 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 29869
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29869&action=edit
Loader for XML files

This new attach has a variant of XML files, with one element to represent data
types, and a simple script to load the values into Koha database.

I tried $dbh->do() for each value, or a prepare() and then execute(), but is
too slow. It builds a single string with all values to insert, similar as the
SQL files for frameworks.

In my tests the script takes a little more than three times as long as mysql
client to load default framework (tags/subtags), but is a difference between
~0.7s and ~2.5s, perhaps acceptable...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list