[Koha-bugs] [Bug 6990] TransformKohaToMarc enhancement
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Dec 31 08:35:14 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6990
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5810|0 |1
is obsolete| |
--- Comment #5 from Chris Cormack <chris at bigballofwax.co.nz> 2011-12-31 07:35:14 UTC ---
Created attachment 6992
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6992
TransformKohaToMarc enhancement
TransformKohaToMarc function is called for each biblio and item that has
to be build. This function execute a DB statement for each Koha field
that has to be mapped to a MARC tag/letter. This impact deeply
performances for script like rebuild_zebra, especially since items are
not anymore in bilio records and have to be rebuild on the fly.
I'm proposing a patch which read Koha field to MARC field mapping just
one time and cache it. My test show a 30% execution time improvement on
rebuild_zebra.pl script. It uses already cached mapping in C4::Context.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list