[Koha-bugs] [Bug 6990] New: TransformKohaToMarc enhancement

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Oct 8 17:13:57 CEST 2011


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

             Bug #: 6990
           Summary: TransformKohaToMarc enhancement
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: Rel_3_8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Architecture, internals, and plumbing
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: frederic at tamil.fr
         QAContact: koha-bugs at lists.koha-community.org


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.

-- 
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.


More information about the Koha-bugs mailing list