https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38742

            Bug ID: 38742
           Summary: C4::AuthoritiesMarc::merge should call ModBiblio only
                    if really needed
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: MARC Authority data support
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Currently, the function C4::AuthoritiesMarc::merge calls ModBiblio for all
bibliographic records linked to the modified authority record.  It could seem a
just behavior but we know that this could lead to performance problems.  This
is why AuthorityMergeLimit systempreference with merge_authorities.pl was
introduced (earlier: dontmerge).

Although this partially solves the performance problems, for moderately large
and large catalogs (500+ K) and authority records linked with a large number of
bibliographic records, performance problems still occur, even with overnight
processing with merge_authorities.pl.  This problem is particularly apparent
when updating authority records from central databases, whose modifications are
beyond our control.

It turns out, however, that many such modifications to authority records
involve fields other than the heading field (1XX in MARC 21), so these updates
in fact do not modify bibliographic records.  However, with the current merge
function, every touch on an authority record forces a call to the ModBiblio
function.  The number of relatively expensive ModBiblio calls could be reduced
by checking whether there has been an actual change in the field associated
with the authority record.

However, with IncludeSeeFromInSearches or IncludeSeeAlsoFromInSearches
preferences enabled, the record should be refreshed in the search engine just
in case (should the 4XX, 5XX fields have changed, which we don't know at this
point).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to