[Koha-bugs] [Bug 23377] New: bulkmarcimport.pl disables syspref caching

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 25 22:04:41 CEST 2019


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

            Bug ID: 23377
           Summary: bulkmarcimport.pl disables syspref caching
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: ian at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

bulkmarcimport.pl disables syspref caching in order to explicitly set
CataloguingLog and AuthoritiesLog to false (in order to boost performance,
according to the notes).  However, doing so results in numerous other syspref
lookups over the course of the script, increasing runtime by about 33%. 
Sysprefs looked up during a plain, no-options import include:

1. DefaultClassificationSource    
2. TimeFormat
3. dateformat
4. CataloguingLog
5. BiblioAddsAuthorities
6. marcflavour
7. SearchEngine
8. OAI-PMH:AutoUpdateSets

While disabling additional logging on import is a good thing for performance,
these additional DB queries offset that gain.  Using the ENV variable override
option may be a better way to temporarily disable these logs for the course of
the script, whilst still keeping all the other sysprefs cached.

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


More information about the Koha-bugs mailing list